You searched for the word(s): 2
-
Because I don't know what exactly you need, I just provide you a possible solution based on my assumption.
In a workflow, we create a task and link it to a task form consisting of an attachment type field. When the form being sent back, we have attached document as a string. In OnTaskChanged activity, we can get the document and put it ...
-
When I look at the snap of your data source, "my:TA" doesn't appear to be inside any groups. The contributors folder is not expanded, but I can see "my:TA". This would lead me to believe that "iss:issue/my:TA" would be the correct XPath.
You can delete the line for string textBoxXpath, if you like. The suggestion ...
-
I'm sorry, I don't have a jscript version. As to the issue above, your form will need to be full trust to use this code.
-
I used one of the sample forms because it had the code to put the form into the body of an email rather than an attachment. That's where all the other elements in the data source come from. I extracted the source files and opened the template.xml file. Issue uses the namespace iss. So that would make my xpath "iss:issue/my:TA" ?? Or, ...
-
Do you have any jscript example of this code to export the Infopath data to a PDF...
SAM
-
Is the form based off another schema or a DB? I ask because I see that TA uses the "my" namespace, but I'm not sure what namespace issue uses.
You could try "dfs:issue/my:TA" if you are based off a DB....Or, you could save your form as source files (I think in IP 2003, it is under the File Menu, Extract form files) and ...
-
it's set to fire a rule first (which adds text to the hidden text control i mentioned) then submit to a form library.
I have them set to only when neccessary right now, but that's what makes the "You have made changes to the form that have not been processed..." error pop up.
-
Hi Hilary -- thanks for your help! I have posted a screenshot of the data source at http://home.comcast.net/~geolex1/datasource.jpg.
-
Hi --
A couple of things:
Your XPath should go in quotes in your code, like this "my:TA"
Your XPath is probably wrong, since most likely it is at least in a group like myFields, so "my:myFields/my:TA"
If you are using IP 2007, you can right click on the node in the data source task pane and select Copy XPath to get ...
-
How is your submit option set? Are you submitting to a SharePoint library?
You should probably keep all of your controls set to post back "only when neccessary" including your Submit button.
I had this same problem when I first started working with web enabled forms, and I am trying to remember what I had to do to fix it. If you ...