Dropdown Using External File

Modified on Thu, Apr 21, 2022 at 10:33 AM

Option one is using a text file *.txt.

The text file would have all the values separated by carriage return as follows:

Option 1

Option 2

Option 3

etc...


The other option if you want to display an option but print a different value then you should use an xml (*.xml).

The format would look like this:

<xml>
<add key="Blank" value=""/>
<add key="Option A" value="Print A"/>

<add key="Option B" value="Print B"/>

<add key="Option C" value="Print C"/>

</xml>


In the XMPie ador you would select Dropdown List from File and point to the file location

~/Storage/0/0/0/Assets/Documents/filename.xml

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article