Storage of common application data

D

Darren Neimke

Not sure what the consensus of this will be but...

I'm looking at making a slew of InfoPath forms for our company in such a
manner that they will be used remotely in an almost entirely disconnected
manner. For example:

- Employee Timesheet
- Employee Expenses
- Employee Travel Requisition Form
- etc

Each of the forms is within a Group, ie: "MyCompanyForms", and, each of
these forms requires the Employee Id to be "selected" when the user opens it.
Finally, the forms are trusted.

What I'm wanting to do is to ensure that the user only needs to select their
user id the first time that they use one of the "MyCompanyForms" forms.
Presently I'm saving it off to C:\Temp because it's the only common path that
I can be "reasonably" sure to find.

It would be good to have a helper method such as the Windows Forms
Application.CommonAppDataPath and Application.UserAppDataPath to abstract
this task. Currently, if I import Windows.Forms and access CommonAppDataPath
I get:

C:\Documents and Settings\All Users\Application Data\\\1.0.0.0

If you could abstract a similar means of file access into the InfoPath model
then you could possibly create shared storage on a per Form Template and a
per Template Category basis.
 

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