When the envmanager downloads packages from a NPM source it uses the steps defined in package.json file instead of the manifest.xml.
When the cli publishes a (zip) package to an NPM source, it converts it into a tgz and creates a package.json based on the information in the manifest.xml but unfortunately it is not copying every single field of the steps. For example for the IoT Data packages, it's not copying the automationWorkflowFileBasePath . This causes an installation to fail because the masterdata package cannot find the workflows.
Example of the manifest steps of a IoT Data package:
<steps>
<step
type="MasterData"
title="Master Data"
filePath="MasterData/120_FEC_IoT_OIB.json"
createInCollection="false"
automationWorkflowFileBasePath="AutomationWorkFlows"
targetPlatform="Self" />
</steps>
Example of the package.json steps generated by the Publish:
"steps": [
{
"filePath": "MasterData/120_FEC_IoT_OIB.json",
"order": 0,
"type": "MasterData",
"title": "Master Data"
}
]
When the envmanager downloads packages from a NPM source it uses the steps defined in
package.jsonfile instead of themanifest.xml.When the cli publishes a (zip) package to an NPM source, it converts it into a tgz and creates a
package.jsonbased on the information in themanifest.xmlbut unfortunately it is not copying every single field of the steps. For example for the IoT Data packages, it's not copying theautomationWorkflowFileBasePath. This causes an installation to fail because the masterdata package cannot find the workflows.Example of the manifest steps of a IoT Data package:
Example of the package.json steps generated by the
Publish: