Salesforce

How Do I Move a User-Defined Component to the Deployment Environment? (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Move a User-Defined Component to the Deployment Environment? (Magic xpi 4.13)

.NET-Based User-Defined Components

If you define a Magic xpi .NET utility, a .NET-based user-defined components is created under your project folder on the development machine. If, as recommended, you move the project folder to the deployment machine in their entirety, you will automatically have your user-defined .NET component available for use when you deploy your project. Otherwise, you will have to move the component manually to your project’s folder, on the development machine.

Java-Based User-Defined Components

You can use the Connector Builder to create Java-based user-defined components. The components' files are saved in the <Magic xpi>\Runtime\addon_connectors folder on the development machine. You will have to move these components manually to the same folder, with the same hierarchy, on the development machine. The jar holding the Java implementation should be copied from the development machine. The jar should be referenced in either the Magic.ini file or the machine’s classpath, or it should be placed in the <Magic xpi>\java\lib folder.

Magic xpa-Based User-Defined Components

You can use the Connector Builder to create Magic xpa-based user-defined components. The components' files are saved in the <Magic xpi>\Runtime\addon_connectors folder on the development machine. You will have to move these components manually to the same folder, with the same hierarchy, on the development machine. The ecf holding the Magic xpa implementation should be copied from the development machine. The ecf should be placed in the <Magic xpi>\Runtime\addon_connector\ConnectorName\Runtime\Magic\lib folder.

To prevent users from modifying the user-defined component by using the Connector Builder, send the users the connector's folder without the metadata.xml file.

Reference
Attachment 
Attachment