-
Hi
Could you help me create the filter I need to only have unique values in the drop down list. The data I have is:
Main, NameDept (this is a group) with the fields Name and Dept in it
Secondary, Table1, myFields,dataFields, d:Table1 and the field I want to have the values is in Department.
I have a form so that the first thing you select is ...
-
Hi,
In InfoPath we have two field types: First is element and second one is attributes. For accessing attributes we are using ‘@’ symbol before field name.
In rule, there is no difference to set the value for element or attribute. Can you check once your condition is correct or not and whichever you are tying to set that filed ...
-
Hi
I am trying to change the value of certain fields in the form, based on a button being clicked and a filter being used. The XML format is as follows:
<CapaProfiles>
<Level1>
<Name\>
<Expand>
...
-
I found the way :)
Xdocument does not exist yet in the OnLoad script which so XDocument.View.Window.Caption could not work.
The solution : I put XDocument.View.Window.Caption into the onSwitchView script and it works perfectly
-
Hi Agni,
Thanks for giving my thread( I supposed it as dead) another breath.Thanks a lot.
Yea it worked.i am able to get the actual location of .xsn now.
Can you suggest is it possibile through code?Bcoz I only get the .xml file (generated from a registered .xsn template ) as an input to my
application.I believe it is possibile .And ...
-
Hi Agni
Thanks for the answer but I have difficulties making it work :s
I tried to put XDocument.View.Window.Caption into a OnClick event and it works.
But it won't work for the OnLoad event.
Here is the code.
function XDocument::OnLoad(eventObj)
{
thisXDocument.View.Window.Caption = "Hello !";
}
And it ...
-
Hi Cathy, to answer you question. Nowhere :) . As you have maybe seen already you don't even have the possiblity under the file menue to select save or save as when you are in preview mode. But on the other side yes you are right. it is getting stored as a .xml file and all information is stored in the xml. where it will be stored depends ...
-
hi cathy, i wouldn't use code to upload only the attachments to sharepoint but the complete infopath form including the attachment. i think that will be the easier way as infopath is quite easy to connect to sharepoint. first run your data connection wizard to create a new secondary datasource and point to your sharepoint ...
-
I am not sure if you will find anything here but I am pretty sure you will if you just google it. May be this site will already help you out http://www.c-sharpcorner.com/UploadFile/klaus_salchner@hotmail.com/SharePointWS11152005045049AM/SharePointWS.aspx
-
true. that's also a really good way. it's actually what agni proposed just using this nice wizard instead of opening the template.xml and modify it manually. glad you found a solution.