-
Is your site a Secure site(https), is every one accessing template.xsn with ''https://...../Forms/template.xsn'' or do they use ''http://.../Forms/template.xsn''?
Normally you will get this error if the template is not located at that specific location.
Can you try one thing from that user
Click on ''Modify Settings and Columns'' - > ''Edit ...
-
Where do you have the file saved in the file system or the Sharepoint?
If it is Sharepoint you can delete the file by using ''Lists'' webservice provided by Sharepoint.
If it is File system you can use System.IO.File.Delete(''path'');
-
What is the namespace(prefix) that you are using for your secondary datasource? Is it the same as main datasource?
If not you cannot just append the node from secondary datasource to main datasource.
To get it to work, you need to create the nodes of Main datasource type and set the values to that node and append this node to the main datasource ...
-
Question 1: Yes
Question 2: PI - Processing Instruction :- PI is used by InfoPath to point your XML to the correct template. If you open one of your xml files, the text above your root node is called PI.
PI looks similar to this
<?xml version=''1.0'' encoding=''UTF-8''?>
<?mso-infoPathSolution ...
-
Hi, You need to edit your existing schema, you need to extract you files and edit the Schema. You dont need to reattach your schema it will get automatically affected after you edit it.
Open the schema and go to the line where your repeating node is referenced and set maxOccurs to '3'
Before
<xsd:element ref=''my:YOURREPEATINGNODENAME'' ...
-
Yes you can relink the form from the code.
Here is how you can do it,
//Get the root node
IXMLDOMNode rootNode = getNode(''ROOTNODEXPATH'');
//Get the new PI which points to the new template
string newPI = ''PIOFNEWTEMPLATE'';
//Create a new DOM
IXMLDOMDocument newXMLDOM = thisXDocument.CreateDOM();
//Load the XML
newXMLDOM.loadXML(newPI + ...
-
Hi,
Did you read the documentation of Database Accelerator that was suggested above. You can save your XML file values into a database using the above tool. It will read your XML file and save the data into different tables depending on your preparation of the database schema.
Post back if you need more information regarding this tool.
If you ...
-
You need to set the Date value in the OnAfterChange event of the Row.
You should set the Date value only when ''e.Operation'' == ''Insert'' and e.Source.NodeName == ''ROWNODENAME''(the node on which you have the OnAfterChange Event.
For the second question, yes you can limit the Max rows by editing the Schema. Open the Schema locate the node and ...
-
What happened? Is your solution not working or are you looking for a better solution?
Please give more details about your XML.
-
BLOCKNAME - should be the name(name that you have given when creating the signature blocks) of the block that you are signing.
I gave ''BLOCKNAME'' as an example.