Easiest way to provide xml doc data

C

Casey

Hi,

The object is to provide a non IT person the easiest way to update IP
forms.

To provide reference data to supply drop-downs etc for a disconnected
user acessing "Temp1.xsn" I need an xml doc for this data- correct?

I can use IP to create this XML doc "TempData.xml" right?
Then include TempData.xml as a resource file with Temp1.xsn.

If a "run query" button is left on "TempData.xml" then I can refresh
that xml doc data as needed.

Question is, to update Temp1.xsn with the new data, is the only method
to run the data connection wizard and re-pick/Include "TempData.xml" ?

Is this the simplest way or am I missing something?

Thanks,
Casey
 
F

Franck Dauché

Hi casey,

You don't need to include your TempData.xml as a resource file, but as a
Secondary Data Source. In Tools \ Data Connections \ Add \ Receive Data \
XML document.
That data will then be availble for your drop-downs, etc.

Regards,

Franck Dauché
 
C

Casey

Thanks Franck,

So the only/easiest way to refresh the data in the xsn should the
source db change is to use the wizard and re-connect the updated
Temdata.xml?

Casey
 
F

Franck Dauché

Hi Casey,

No, when you add your xml file as a secondary source, in the Wizard, make
sure to check: Automatically retrieve data when form is opened.
Then, when prompted: the selected file is not part of the form, .......
Click NO.

Then, each time you open your solution, it will automatically grab the
latest data from the xml file wherever you are storing it.

Regards,

Franck Dauché
 
C

Casey

Thanks Franck,

That of course makes sense (now!) and is a relief, little by little
some form is visible in the fog....

Casey
 

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