-
Yes, the form is in a document library and is being opened on a workstation using a server with Infopath installed. The user is using fill out this form and when Infopath opens this error is displayed:
Form template:http://sp/sites/expense/InternalExpenseReport/Forms/template.xsn
The form definition (.xsf) file cannot be opened because of an ...
-
-
hi, thanks for your answer. i copied this example code to my xsl file. It works fine in the preview mode, but when i make change in the design mode. The code that i've copy pasted was overwrited again.
What i do wrong, did you have another workaround for this?
thx for your answer!
Patrick
-
Hi, Thanks for providing the code snippet, hope this is helpful for others.
-
Yes, I came to the same conclusion & I've changed the way I've done it so that the logic to hide or reveal the fields is based on booleans stored in the schema. That way, InfoPath see the values being changed and triggers the refresh.
--Philip
-
Hi Agni,
thx for your hint, it brought me to the solution. For those who wanna do the same here a short snippet:
XDocument newForm = thisApplication.XDocuments.NewFromSolution(''http://Server/Web/test.xsn'');
IXMLDOMNode node = thisXDocument.DOM.selectSingleNode(''my:myFields...'');
IXMLDOMNode testNode = ...
-
Hello,
I would like to add a ''refresh'' button to update values in a repeating section. I've added a rule to my button, select modify field value, added field name, and formula . The problem is that the formula is compute once, and the result is duplicated to all the fields. Is it possible to compute the formula per line and not once ?
Many ...
-
My guess is that your managed code needs to update the data source in someway to get the refresh to happen.
-
Hi Boris,
Looks like that is managed code. Did you create a VS project and try to compile? ''Compile'' usually means code and not script although .NET is actually JITted and interpreted (i.e. compiled to an intermediate form). Our book covers creating .NET projects. If you really don't want to use managed code, you can do the above with a full ...
-
Hi Liorlankri,
You've got 120 posts and you are still asking us to be your code monkeys ... :) Well, we get paid for this from other people ... :) Anyway, feel free to paypal us $25 and I'll have someone send you the code. If you're lucky, maybe someone will just offer the code out of the kindness of their hearts, but seriously, you need to learn ...