-
I don't understand why you had to change the name of your secondary data source - were you getting an error in the Qdabra Rules Error node? At any rate, glad you have it working!
-
Attaching a revised version - I fixed up the formula on your rule to set "field2". Since it was being set to a decimal, I changed its data type - you had it as a date?
I feel like I'm not explaining resource files well. Originally, you'd mentioned wanting to be able to update the rates w/out having to change the form template - ...
-
So, it says that "Connections to XML files on the local computer are supproted only in fully-trusted form templates." That is just as well, since I want to mail this to people and don't want to send the data file with it.
So, I updated the file, but it still does not work. When I export the file or save the form, the data ...
-
Finally got it working. I had to change the name of my secondary source. It was too similar to the name of the source field.
-
I'm doing what you suggested by using this command:
Set Field: Command Value: CopyRichText /xpathsrc=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Comment /dsnamesrc=CommentList /xpathdest=/my:myFields/my:rtxtComments
result of rtxtComments:
<div ...
-
I think you would want to use copy rich text to copy the SharePoint RT into your IP field. So, your command would use the /dsnamesrc param with the name of your SharePoint list connection, and the /xpathsrc would be the path to your SharePoint rich text field. I imagine that InfoPath is horking up the rich text when it copies it with your rule in ...
-
yes, my Sharepoint data shows up as rich text.
steps I did:
1. queried the Sharepoint list (CommentList)
2. sets my infopath rich text field (rtxtComment1) to the sharepoint multi line text column (Comment)
3. sets another infopath rich text field (rtxtComment2) to CopyRichText /xpathsrc=/my:myFields/my:rtxtComment1 ...
-
I just tried this, and CopyRichText worked for me. I circled my original SharePoint data in blue, and the field I copied to in pink. In your form, does your SharePoint data show up as rich text? Mine does....
-
Infopath 2010, Sharepoint 2010, qRules 4.2
-
What version of InfoPath / SharePoint?