-
Is there a way to switch my main data source to a secondary data source and still use the query feature? That way I can add controls without having to build a XML file.
-
Thank you so much for your response!
Something strange happened to me. I worked on something else all day today and besides an update install and reboot, did not touch the machine running my InfoPath services. Its working, I was able to publish it to SharePoint without a hitch. :)
Now I have an issue with submitting the data to the ...
-
When I created my first form, I selected the default form and not an exsting data source, does it use an XML file that Infopath builds for you as you create controls?
-
Well, your XML will depend on how many controls you want to have and whether or not they repeat or not. If you want to have a repeating table bound to a secondary data source, create an XML which has an element that repeats:
<myData>
<row>
<column1/>
<column2/>
...
-
This will allow me to add a text box control that I can add data to or use in a repeating table? I also want to have another control sum the numbers in the column if I use it in a repeating table.
-
Any XML file will do, such as:
<myData>
<dataField/>
<myData>
Just save it anywhere on your disk. Once you add a data source based on it, it will be included as part of the form template so you don't need to worry about storing it.
-
Dear Davidair,
You are the champion, you saved my life :). I went into picture control properties in IP 2007, then in rules, added required rule as an expression and it worked.
Thank you very much as i was thinking of hell of Base64 encoding in VSTA.
-
Is that what happens when you create a form from a default template and not from a data source?
On my first form I created, I have a Main data source created from a default template(which was blank). I created a data connection to an Access database but I am also able to create controls without the prompt to connect to a data ...
-
Use declarative validation...
Suppose your attachment field is called field1 and you don't want it to be bigger than 100k, that means that length of the piture field cannot be more than 136533 charaters (assuming UTF8).
1. Open the Data Source pane
2. Double-click on field1 to bring up its properties
3. In Validation, add a new ...
-
Well, that's strange, you should be able to just do this in your init right after you assign domNode:
this.domNode.ownerDocument.setProperty("SelectionNamespaces", "xmlns:n1=\"urn\"");
Is domNode's type IXMLDOMNode? If not, cast it to this type.