Here's some code that I was trying to use
.Value, "UserList/userName", aName.InnerXml);
}
(I have been working on addiding destinations from an outside source ( like webservice ) and not something easy like InfoPath. )
.Value, "UserList/userName", aName.InnerXml);
}
<UserList>
<Users>
<UserName />
</Users>
</UserList>
.ToString();
oXmlDoc.DocumentElement.AppendChild(oXmlNode);
SourceCode.K2Utilities.XMLFieldMod.SetXMLValueany complex XML work should be done outside of K2 to format the XML document to be the in the same XML field format in process/activity XML? (Where by complex I really mean something as basic cloning/adding/removing repeating elements/attributes )
..any complex XML work should be done outside of K2 to format .
Not True!
SourceCode.K2Utilities.XMLFieldMod.SetXMLValue is a collection of common methods grouped together as a helper class in K2.net Studio. K2Utilities is typically used by our dev team to accomplish certain manipulation of data specific to the requirements of the templates that ships with K2.net. In your case you need to write your own code to accomplish the needed functionality, K2.net 2003 Studio allows developers to write complex code of any nature by simply adding a Server event or by extending existing template code. No limitation around the number of lines of code implemented in an event, also refer to the Code Module section in the help file. Code Modules acts as a class to the process. This can be used to develop/code common functionality in one place and re-use all over in processes.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.