Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / January 2006

Tip: Looking for answers? Try searching our database.

Strategy for sharing a common XML lookup table across 100+ offline InfoPath forms?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Herman (Parallelspace/OpenCanal) - 08 Jan 2006 03:28 GMT
I would appreciate your thoughts on the following.  I'm helping build an
InfoPath forms solution.  It's starting small (3-4 forms) but I've been
asked the question:

If we grow this thing to have 100+ forms and each form needs to have a
common drop down list of departments (e.g. Sales, Marketing, ...), what is
the best way to implement this?  ...more importantly, what is the best way
to update this list for all 100+ forms when the name of department is added
or changed?

A confounding requirement: The forms need to work offline (100%
disconnected).

Here's my 2 ideas so far:

1. Use a common XML document embedded in each XSN as the lookup table data
and bind it to the drop-down lists in each XSN.  Then use something the
XsnFixup.js
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/OfficeInfoPathXSNFixupDeployFormTemplateScript.asp
)
to automate the updating/replacement of the XML lookup table document in
each XSN.

2. Package and deploy the XSN files to the desktop using an MSI and have the
MSI install an external copy of the XML lookup table document that is used
as a common external XML data source by all the XSNs.

Any other ideas?

Thanks,
Michael.

Signature

Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs 

Greg Collins [InfoPath MVP] - 09 Jan 2006 17:46 GMT
You can also:
* Use a secondary data connection to a common database (SQL or Access)
* Use a Web service.
* Use a SharePoint list.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

I would appreciate your thoughts on the following.  I'm helping build an
InfoPath forms solution.  It's starting small (3-4 forms) but I've been
asked the question:

If we grow this thing to have 100+ forms and each form needs to have a
common drop down list of departments (e.g. Sales, Marketing, ...), what is
the best way to implement this?  ...more importantly, what is the best way
to update this list for all 100+ forms when the name of department is added
or changed?

A confounding requirement: The forms need to work offline (100%
disconnected).

Here's my 2 ideas so far:

1. Use a common XML document embedded in each XSN as the lookup table data
and bind it to the drop-down lists in each XSN.  Then use something the
XsnFixup.js
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/OfficeInfoPathXSNFixupDeployFormTemplateScript.asp
)
to automate the updating/replacement of the XML lookup table document in
each XSN.

2. Package and deploy the XSN files to the desktop using an MSI and have the
MSI install an external copy of the XML lookup table document that is used
as a common external XML data source by all the XSNs.

Any other ideas?

Thanks,
Michael.

Signature

Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs 

Michael Herman (Parallelspace/OpenCanal) - 10 Jan 2006 02:43 GMT
Greg, you must have read my posting too quickly: "The forms need to work
offline (100% disconnected)."

Signature

Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

You can also:
* Use a secondary data connection to a common database (SQL or Access)
* Use a Web service.
* Use a SharePoint list.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

"Michael Herman (Parallelspace/OpenCanal)"
<mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
news:ebcDQOAFGHA.3384@TK2MSFTNGP12.phx.gbl...
I would appreciate your thoughts on the following.  I'm helping build an
InfoPath forms solution.  It's starting small (3-4 forms) but I've been
asked the question:

If we grow this thing to have 100+ forms and each form needs to have a
common drop down list of departments (e.g. Sales, Marketing, ...), what is
the best way to implement this?  ...more importantly, what is the best way
to update this list for all 100+ forms when the name of department is added
or changed?

A confounding requirement: The forms need to work offline (100%
disconnected).

Here's my 2 ideas so far:

1. Use a common XML document embedded in each XSN as the lookup table data
and bind it to the drop-down lists in each XSN.  Then use something the
XsnFixup.js
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/OfficeInfoPathXSNFixupDeployFormTemplateScript.asp
)
to automate the updating/replacement of the XML lookup table document in
each XSN.

2. Package and deploy the XSN files to the desktop using an MSI and have the
MSI install an external copy of the XML lookup table document that is used
as a common external XML data source by all the XSNs.

Any other ideas?

Thanks,
Michael.

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

Greg Collins [InfoPath MVP] - 11 Jan 2006 00:52 GMT
Yes, you are right, I did miss that part.

As per your 2 choices, the second one will require the user to accept the data connection to the external .xml file via a dialog box. In that case, I would choose choice 1.

There might be other choices, but I can't think of any at this time.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

Greg, you must have read my posting too quickly: "The forms need to work
offline (100% disconnected)."

Signature

Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

You can also:
* Use a secondary data connection to a common database (SQL or Access)
* Use a Web service.
* Use a SharePoint list.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

"Michael Herman (Parallelspace/OpenCanal)"
<mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
news:ebcDQOAFGHA.3384@TK2MSFTNGP12.phx.gbl...
I would appreciate your thoughts on the following.  I'm helping build an
InfoPath forms solution.  It's starting small (3-4 forms) but I've been
asked the question:

If we grow this thing to have 100+ forms and each form needs to have a
common drop down list of departments (e.g. Sales, Marketing, ...), what is
the best way to implement this?  ...more importantly, what is the best way
to update this list for all 100+ forms when the name of department is added
or changed?

A confounding requirement: The forms need to work offline (100%
disconnected).

Here's my 2 ideas so far:

1. Use a common XML document embedded in each XSN as the lookup table data
and bind it to the drop-down lists in each XSN.  Then use something the
XsnFixup.js
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/OfficeInfoPathXSNFixupDeployFormTemplateScript.asp
)
to automate the updating/replacement of the XML lookup table document in
each XSN.

2. Package and deploy the XSN files to the desktop using an MSI and have the
MSI install an external copy of the XML lookup table document that is used
as a common external XML data source by all the XSNs.

Any other ideas?

Thanks,
Michael.

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

Michael Herman (Parallelspace/OpenCanal) - 30 Jan 2006 01:28 GMT
The InfoPath SDK Data Interop sample has one solution for this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsd
kRetrievingCreatingRecordsDataInt_HV01082955.asp?frame=true


Signature

Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

Yes, you are right, I did miss that part.

As per your 2 choices, the second one will require the user to accept the
data connection to the external .xml file via a dialog box. In that case, I
would choose choice 1.

There might be other choices, but I can't think of any at this time.

Signature

Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

"Michael Herman (Parallelspace/OpenCanal)"
<mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
news:O8sYx%23YFGHA.1180@TK2MSFTNGP09.phx.gbl...
Greg, you must have read my posting too quickly: "The forms need to work
offline (100% disconnected)."

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> wrote in message
news:OJdWkSUFGHA.2320@TK2MSFTNGP11.phx.gbl...
You can also:
* Use a secondary data connection to a common database (SQL or Access)
* Use a Web service.
* Use a SharePoint list.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com

"Michael Herman (Parallelspace/OpenCanal)"
<mwherman@nospam.parallelspace.nospam.net.nospam> wrote in message
news:ebcDQOAFGHA.3384@TK2MSFTNGP12.phx.gbl...
I would appreciate your thoughts on the following.  I'm helping build an
InfoPath forms solution.  It's starting small (3-4 forms) but I've been
asked the question:

If we grow this thing to have 100+ forms and each form needs to have a
common drop down list of departments (e.g. Sales, Marketing, ...), what is
the best way to implement this?  ...more importantly, what is the best way
to update this list for all 100+ forms when the name of department is added
or changed?

A confounding requirement: The forms need to work offline (100%
disconnected).

Here's my 2 ideas so far:

1. Use a common XML document embedded in each XSN as the lookup table data
and bind it to the drop-down lists in each XSN.  Then use something the
XsnFixup.js
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/OfficeInfoPathXSNFixupDeployFormTemplateScript.asp
)
to automate the updating/replacement of the XML lookup table document in
each XSN.

2. Package and deploy the XSN files to the desktop using an MSI and have the
MSI install an external copy of the XML lookup table document that is used
as a common external XML data source by all the XSNs.

Any other ideas?

Thanks,
Michael.

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs


Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.