-
In order to maintain the same fields and manifest, you need more than just the manifest file. There are also XSD and XML files that need to be maintained in order for the form to work.
Why don't you just use File->Save as... from the InfoPath designer to save your XSN as a new form, and then go on redesigning the layout? ...
-
Not sure if you can download this either, but could you give the attached a try? All the logic it uses is in the default value of SectionPercentageComplete.
-
In the 2007 C# object model, this.Template.Manifest is a reference to an XPathNavigator for the manifest. You can use this like:
XPathNavigator name = this.Template.Manifest.SelectSingleNode("@name", NamespaceManager);
to get the name attribute. I believe ...
-
Please try Convert.ToDouble(e. Site.Evaluate("count(../preceding-sibling::item)",NamespaceManager));
-
Could you attach a screenshot of your data source?
-
You should be able to use e.Site.Evaluate("count(preceding-sibling::repeatingFieldName)", NamespaceManager);
This will return an object value that you can cast to a double, and after that, to an int if you want to.
-
You can get a Stream object to the any of the XSN's files using the method OpenFileFromPackage() like this:this.Template.OpenFileFromPackage("view1.xsl") This will allow you to acces the files' contents, but not modify them at runtime.
-
According to this page:http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.mailenvelope_members.aspxand the one Hilary pasted, it should be Introduction, not Intro. Could you give that a try?
-
No, I don't think that would be right. That would be make some sense if Row had a sibling called Systems, but I don't see a node called Systems anywhere in your data source. At the point where your red text starts, the XPath is positioned at a Row node assuming the filter found something. And the desired State node ...
-
contains(., "SF215FMT-05") should not be true unless @DROPID contains the entire string "SF215FMT-05," so the behavior you describe is not expected. The first formula you described should also work if @DROPID is exactly "SF215FMT-05". Have you tried displaying @DROPID in your form and making sure it ...