ObjectXSD

Before version 12.1, you could specify the “outfile” parameter as part of the ObjectXSD function to generate an XSD file for you.


Dim res As String = ObjectXSD("ITEM", "0001", "CUSTOM")
Using outputFile As New System.IO.StreamWriter("C:\XML\ITEM.XSD")
outputFile.WriteLine(res)
End Using

For security reasons, this parameter has been eliminated. Use ObjectXSD to return a string.

The XML Export form allows an administrator to create an XSD file and write it to a directory. The SaveReportSchema API can be used to generate the XSD file, too. For information about this API, see the Infor PLM for Process Scripting Administration Guide.

In the XML Export form, you can click Create XSD to export standard XSD for a business object.