| djquery -database ad -query "select short_description from bu_projectdetails order by [order]"
this is the given query........when I am replacing this with lookup files, although result is coming in the search but not in the dropdown.
| inputlookup bu_projectdetails_lookup.csv |table short_description|sort by [order]
Try this for you search.
| inputlookup bu_projectdetails_lookup.csv |table short_description|sort short_description
its showing the same thing, "could not create search"
if possible can you post your xml?
<label>Milestones</label>
<choice value="*">All</choice>
<search>
<query>| djquery -database ad -query "select short_description from bu_projectdetails order by [order]"</query>
</search>
<fieldForLabel>short_description</fieldForLabel>
<fieldForValue>short_description</fieldForValue>
<default>*</default>
<valuePrefix>short_description="</valuePrefix>
<valueSuffix>"</valueSuffix>
<delimiter> OR </delimiter>
</input>
@shaoli21, did you tried below-
<label>Milestones</label>
<choice value="*">All</choice>
<search>
<query>| inputlookup bu_projectdetails_lookup.csv |table short_description|sort short_description</query>
</search>
<fieldForLabel>short_description</fieldForLabel>
<fieldForValue>short_description</fieldForValue>
<default>*</default>
<valuePrefix>short_description="</valuePrefix>
<valueSuffix>"</valueSuffix>
<delimiter> OR </delimiter>
</input>
oh yeah, missed that 🙂
Have you set
<fieldForLabel>short_description</fieldForLabel>
<fieldForValue>short_description</fieldForValue>
In the dropdown settings?
yes I had set them but still no output