-
What guess was correct? To provide a tree, you can just do it in text kind of like I did it above.
Also - your drop-down list uses the ID field as the ''value'' right? Make sure that your display name is ''Title''.
-
I have a form that I had developed and subsequently added some code to. I didn't realize when I added the code (I do not have a heavy background in programming)that it was c#. The form code was saved as a javascript file. I subsequently purchased and installed Visual Studio 2005 and the Infopath toolkit, but I can't seem to modify this code in ...
-
Matt, your guess is correct. I've copied you xpath statement without any success. How can I provide a tree of my data source?
Dean
-
Could you provide a tree of your data source? I think it looks like this:
Cost_Code
--Cost_Code
--ID
--Title
And if so, you're XPath should be this:
xdXDocument:GetDOM(''Cost Code'')/dfs:myFields/dfs:dataFields/dfs:Cost_Code/@Cost_Code[../@ID = current()]
-
Shiva,
Thanks so much for your reply. I feel like I am finally getting somewhere. Unfortunately, where I do have a button set up and working for the sharepoint portion, how do I create an email datasource with code in it as suggested by the first post? I can create a standard email item, but I am not sure where to add code. Sorry, I am really not ...
-
Hey,
Although it took a while to figure it out,I am glad it finally helped you.
-
I'm trying to populate a field with data that is in columns available from a secondary source coming from SharePoint. DataSource has 3 columns: ID, Cost_Code & Title. Dropdown shows Cost Code and text box should display Title. Using a rule to set the fields value with the following xpath expression:
xdXDocument:GetDOM(''Cost ...
-
THATS IT! :) (add master repeating table to this)
thanks a lot for the help.
what i was doing wrong...
Apparently the repeating table has to be a master table to be able to change the bindings. I was not creating a master table so i was unable to change the bindings. therefore when i would bind each field to the datasource i would only get ...
-
thanks drgkreddy...
Is this datasource a link to the actual Sharepoint list, or another CAML file? I have created a DS to Sharepoint list and looked at changing data binding to one of these fields and I got a message about repeating items and non-repeating items. I thk this is because the DS is polling sharepoint to get the data, and there will ...
-
Follow these simple steps
1) Double Click on the Repeating table to open its properties
2) In the Data tab select Change binding
3) In the Data Source Drop down select your datasource (Sharepointlist)
4) Next select the repeating Group in the tree structure below and click on the Next
5) Add the Fields you want in the Columns table in the Next ...