on 06-08-2009 4:56 AM
Hi
I created a form by screen painter,then using LoadBatchActions method to add the form.
code source:
-
Assembly thisExe;
Stream file;
System.Xml.XmlDocument oXmlDoc = null;
oXmlDoc = new System.Xml.XmlDocument();
try
{
thisExe = Assembly.GetExecutingAssembly();
file = thisExe.GetManifestResourceStream("PickAndPack." + FileName); // FileName = pickList.xml
oXmlDoc.Load(file);
// load the form to the SBO application in one batch
string sXML = oXmlDoc.InnerXml.ToString();
// sXML = oXmlDoc.OuterXml.ToString();
SBO_Application.LoadBatchActions(ref sXML);
}
catch (Exception ex)
{
SBO_Application.StatusBar.SetText(ex.ToString(), BoMessageTime.bmt_Medium, BoStatusBarMessageType.smt_Error);
}
-
when user A logged in SBO,run successfully.
but when user B logged in SBO,have a errror:"Form - Invalid UDO Object. Form Unique Id: 'pickList', User Defined Object : '22'" '22' is a button on the form.
SBO version is 2005.
In trouble with the question, I don't konw where is wrong.
Wish experts to help me.
Thanks.
Object type is wrong in xml file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.