XMLPort Mapping Script for External Apps

A script was introduced as part of changes that were implemented to ensure that LS Central is Universal Cloud Compliant.

Due to the inability to use the Application Object Metadata table, we developed a PowerShell script that reads the objects and writes the elements directly into our XMLPort Mapping codeunit.

Partners can create their own version of the mapping codeunit.

  • After making changes or adding new XMLPorts, run the script on your designated folder and codeunit.
  • Integrate the output into our mapping by using the OnAfterWriteToXml event in codeunit LSC XMLPort Mapping.

Download the script and the template codeunit here.

Note: Remember to change the path to your directory before using task.json in the zip file.