-
Hi
I am writing an Infopath Form that uses managed code. I have added a web reference to the managed code and use it extensively.
Now, in VB.NET in a normal app I can set the WSDL URL as dynamic which puts it in a file called app.config. This makes it easy for me to provide one copy of my application to testers and they can switch between our ...
-
Thanks!!! This will help me a lot.
-
Hi Herb Welcome to the Forums,
You probably need to remove the xsi:nil attribute. Here is the code:
IXMLDOMNode FullNameNode = thisXDocument.DOM.selectSingleNode(''//my: Full_Name'');
removeNil(FullNameNode).text = ''true'';
public IXMLDOMNode removeNil(IXMLDOMNode node)
{
//Determine whether the xsi:nil attribute is set for this
//element. ...
-
Thanks for the quick response. I'll give it a go. (-:
-
Yes, I'm seeing it in the UI. For example, I removed the graphic along the top of the page and saved the template. The forms that were already filled out then reflected that change despite me selecting ''Do Not Update'' in the form options.
So whatever changes that occur in the UI will always be updated, eventhough I selected Do Not Update? ...
-
As I said before you cannot set ''xml'' value directly.
So what you need to do here is get the xml string from the webservice and prepare a node out of that, get all child nodes of that new node and assign them to the richtext field.
-
-
No you need to get it by string manipulations. Like getting the string after the last ''/''
-
Userroles work only in Domain(Active Directory).
Other way to implement is using the sharepoint username(Hinders performance, because there will two calls to sharepoint).
One other way you can do workflow is, maintain a state and base your workflow based on the state. So you will not use logged in username at all. But anyone can access this form ...
-
Thanks for the reply! Actually, I had thought of that, but even with the \'s escaped I get the same error.