Forum Discussion
angela
8 years agoCatalyst II
Hi Andreas,
no, of course I didn´t try that...
Many thanks for this one, this version now does the job pretty well:
Innovator inn = this.getInnovator();
this.setProperty("keyword_","INSERT");
Item res = this.apply("MyMainMethod");
if (res.isError())
{
XmlDocument xDoc = new XmlDocument();
xDoc.LoadXml(res.ToString());
string faultstring = xDoc.SelectSingleNode("//faultstring").InnerText;
return inn.newError("Error: " + faultstring);
}
return res;