Adding more names to a secondary data source

R

Rachel Garrett

I inherited an InfoPath form that includes a drop-down list of names.
Some additional names need to be added.

If the data source is where that list of names comes form, how do I
actually get into the data source and start typing more names in?
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

What kind of a data source is that? if it is a Database you have to enter
them in the table in the DB, if it is a XML source, you have to edit the XML
and add these new names.
 
R

Rachel Garrett

Hello

What kind of a data source is that? if it is a Database you have to enter
them in the table in the DB, if it is a XML source, you have to edit the XML
and add these new names.

Ah, but that's the rub. How do I actually *get* the XML file that the
names are listed in?

The drop-down box in question is called "Interviewee." When I view
properties, it says the data source for Interviewee is a secondary
data source called surveyEmployees. When I select surveyEmployees in
the Data Source pane, what appears is a list of elements, with
"Employee Name" being nested...

(folder icon) employee [when I mouse over, it says this is a group]
(indent, page with a lock) supervisor
(indent, page with a lock) staffmember
(indent, page with a lock) department
(indent, folder icon again) employee

When I click the plus sign on the last folder for "employee", it
expands to the same as the above.

That's not something I can edit, and I don't know how to actually get
in the XML and find where to add more names in.

I can go in Tools > Resource Files and see the names of three XML
files that are "resource files in form"; one of them is
surveyEmployees.xml. But I only have the option to Add, Remove,
Rename, or Export. I can't open the resource file and make changes.

The only thing I can think to do is export the resource files, make
the changes, break all the old data connections, then make new data
connections to the updated files. That seems like a sloppy way to do
it, and unsustainable if I have to do it each time we change the data.

Thanks,
Rachel Garrett
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top