-
If you really need XSLT 2.0, you may consider including Saxon in your InfoPath code project, although I can't say with any certainty what form trust level it would require.
-
I think the header you actually want to change is the Accept: header (Content-Type is a response header), and I've done a fair bit of searching, but it looks like InfoPath's buit-in data connections simply don't provide a way to modify the headers, even if you use code. It appears that InfoPath sends an "Accept: */*" ...
-
How about expanding everything in the main data source, taking a screenshot, and then printing that?
Could you elaborate a bit on why you need to rebuild your form from scratch? Maybe there's an easier way.
-
A known quirk about MSLBs is that they only trigger rules when an item is selected, and default value formulas that depend on MSLBs only trigger rules when items are deselected. When you put these together, you can create a way to trigger rules both upon selection and deselection, but it seems that you're running into a bit of an issue on ...
-
I see. Does the error occur when you try to execute the data connection, or at some other time? Does the form use any custom code? Would it be possible to open up the SharePoint logs immediately after the error happens to see if you can find some related error?
-
Hi Baseball17Bucks,
I think that, if anything, [count(preceding-sibling::*) + 1] would refer to the last row of a repeating group, but there's an easier way to do that as well.
First row of a repeating group:
my:YearlySpendingPlan[1]
Last row of a repeating group:
my:YearlySpendingPlan[last()]
-
When you get that error message in the browser, does it provide a correlation ID? If so, would you be able to fetch the associated error from the SharePoint logs?
-
In the first one, you should use the condition editor to select the DepartmentName from the secondary data connection on the left side and the one from the form on the right side of the comparison. Likewise for the DeptID.
-
2.
I believe the formula would look something like row[@DepartmentName = DepartmentName]/@Dept_ID You can achieve this by selecting the @Dept_ID field and adding a filter with the condition @Department_Name = DepartmentName (from the main data source).
3.
I believe the formula would look something like row[@Role = "Approver" and ...
-
Please give this a try:
translate(field, '"', " ")
Note that this part '"', " " is apostrophe double-quote apostrophe comma double-quote space double-quote.