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 / December 2004

Tip: Looking for answers? Try searching our database.

namespace

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nick Monsour - 29 Nov 2004 21:36 GMT
Help please.
How do I find the namespace used by InfoPath in a form created from a
SQL datasource?

Thank you,
Nick
em - 30 Nov 2004 09:17 GMT
hi,
in designer extract the files of the solution file (*.xsn) and you will find
a file called "manifest.xsf". Open this file with a text editor and you will
see an element called <xsf:xDocumentClass ...>. Within this element you will
find the namespace attributes.
regards
em

> Help please.
> How do I find the namespace used by InfoPath in a form created from a
> SQL datasource?
>
> Thank you,
> Nick
Nick Monsour - 30 Nov 2004 14:34 GMT
Hi em,
I looked at what you wrote and the line is:
<xsf:xDocumentClass trustSetting="automatic" dataFormSolution="yes"
solutionVersion="1.0.0.4" productVersion="11.0.6357"
solutionFormatVersion="1.100.0.0" publishUrl="C:\Documents and
Settings\monsoun\Desktop\InfoPath\forms\manifest.xsf"
name="urn:schemas-microsoft-com:office:infopath:forms:-dataFormSolution"
xmlns:xsf="http://schemas.microsoft.com/office/infopath/2003/solutionDefinition"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:xd="http://schemas.microsoft.com/office/infopath/2003"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xdUtil="http://schemas.microsoft.com/office/infopath/2003/xslt/Util"
xmlns:xdXDocument="http://schemas.microsoft.com/office/infopath/2003/xslt/xDocument"
xmlns:xdMath="http://schemas.microsoft.com/office/infopath/2003/xslt/Math"
xmlns:xdDate="http://schemas.microsoft.com/office/infopath/2003/xslt/Date"
xmlns:q="http://schemas.microsoft.com/office/infopath/2003/ado/queryFields"
xmlns:d="http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"
xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"
xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2004-11-19T16:23:21">

This question relates to this link that is why I am asking
(http://groups-beta.google.com/group/microsoft.public.infopath/browse_frm/thread/
52371b4bdf965ddd/0de40c8764d9ec00
)
but i do not see where the namespace is declared. Am I looking in the
wrong spot?
Greg Collins [InfoPath MVP] - 01 Dec 2004 01:02 GMT
InfoPath usually creates a schema for a secondary data source, including those from SQL. Take a look in the schema files that were created to locate your namespaces.

Signature

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

Help please.
How do I find the namespace used by InfoPath in a form created from a
SQL datasource?

Thank you,
Nick
Nick Monsour - 01 Dec 2004 19:49 GMT
So now that I can get the expression box to return information from the
SQL db i am half way there. It seems that I can only produce the first
entry from the db. I am filtering what shows in the expression box by a
choice made in a drop down list box (company) and each company has
several departments (these are supposed to show in the expression box).
 
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.