Forum Discussion

Suhas's avatar
Suhas
Creator III
5 years ago

Aras 12 Export issue

Hello,

In a C# method we  wrote code query which contains XML CDATA. when we are trying export method, method exported with additional CDATA

Aras method contains below code:

sb.Append("<Certificate_Number><![CDATA[").Append(item.getProperty("certificate_number","")).Append("]]></Certificate_Number>");

but when we trying to export file below code generated in exported XML file.

sb.Append("<Certificate_Number><![CDATA[").Append(item.getProperty("certificate_number","")).Append("]]]]><![CDATA[></Certificate_Number>");

extra CDATA is coming in code.

Regards,

Suhas

1 Reply

  • Your CDATA is escaped, cause the Innovator export package contains the Method code withing a CDATA tag already. You you successfully import this Method?