I want to perform a POC to embed and Keep a xml data file for drop-down values. This xml is different from data xml. I have two xmls (xml1 & xml2).
Xml1 : This contains drop down values or initial values for the controls like Country Drop-down, List of Items drop-down. When I import this xml, I see my forms are filled up with these initial values in drop-downs. User can select values from drop-down, user can override already populated some of the values and also user can fill out fields like text fields, numeric fields. This xml1 is required as I do not want to hard code drop-down values in drop-downs so i preferred to keep it as xml so that I can ask admin user to update this xml without adobe LC designer skill.
Xml2: This is an XML which has only form data but no initial data or drop-down data. This xml contains only field data that user has filed in form by selecting either drop-down items or text/numeric fields. This data is usually obtained after importing Xml1 so that user can select items from drop-down values.
Note that, when I import xml1, I have only drop-down values or some initial values. But when i import Xml2, I just have values that User has ever filled and exported but without drop-down items.
Xml1 will be updated once in a while as drop down items doesn't get added or deleted very frequently.
XMl2 is user data so it will be different for each users.
I am looking for a solution to embed Xml1 in adobe LC pdf so that user always see those dropdown values in forms whether or not Xml2 is imported in form.
Currently, I am merging first element of root nodes of both xml to achieve this solution.
Question: Is there anyway that I can upload XML1 in form so that It resides always there and when user data XML2 is imported, dropdowns and other fields get selected/filled with xml2 data.