🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

URL attribute weird behavior

User: "franaf"
New Altair Community Member
Updated by Jocelyn
Hi all, I am trying to use "Enrich data by webservice" operator. After a lot of trial and error I could approximate what I want.
The problem arises in the "URL" parameter when my attribute has spaces into it. For example, if I use the following URL:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&;term=<%Name%>&retmax=10000

The "<%Name%>" part must be replaced by the value of the "Name" attribute, as the operator info advises.
It seems to work okay with a string containing one word ("acidosis", for example). But, when the string has several words with a space between them (e.g.: "abdominal pain"), it looks like it were using only the first one (e.g.: "abdominal", in the last example).
When I use the complete string in the adress box of a browser, it supplies the correct result.
Do you know some way to circumvent this anomaly?
Thanks a lot to all.

Find more posts tagged with

Sort by:
1 - 2 of 21