-
Hi Vraman,
It's not really easy to help with this kind of error.I suggest you to take the code on FormCode.cs file, remove your current code, add a new one and paste your code on it.
-
Hi, if you publish to a document library, you can just use your form on this library and if you publish your form template as a content type you can use it at the web level so you can use this content type on many different document library.
-
Hi, you have to replace your code that refer to server object model by code who call web services.
-
Hi, wich kind of InfoPath form you want to publish web client or Rich client ?
You want to publish to Sharepoint content type or to a document library ?
If you publish to a content type then you can apply this content type on many Document library.
-
Hi, you right on some control, you can't directly hide, but you can do a trick.You can add a section and insert your control on that section and make your conditional formatting on that section.
-
Hi, yes it's quite possible for that you can use "Conditional formatting" to hide your textbox if your dropdown choice is different of "other". You just have to right click on your textbox and select "Condiional foratting"
-
Hi can you give more information about the code you use to sort your list.
A little suggestion, if you sort your sharepoint view on the way you want to display them on your drop dow.
Is that making it work ?
-
Hi, for that you can use:
string Filename = this.MainDataSource.CreateNavigator().SelectSingleNode("Xpath", this.NamespaceManager).Value;
You have to replace Xpath by your own for that right click on your field on"Data source" and click copy Xpath, after at ...
-
Hi, Yes you can use a field value instead of 'tempFolder' and 'Filename'
I update the code to fit with 'test.pdf'.
try
...
-
Ok, add this namespace in front of the code :
using System.Diagnostics;
For 'tempFolder' and 'Filename', you have to replace that by your own path and filename.