Copying Mobile Apps

A mobile application consists of X3 code (classes, representations, scripts, etc.), and administration data that describes the entities used to publish the services defined in X3 code. When copying a mobile application you need to:

This is performed using the export profile tool, with a relevant list of entities and properties to be exported.


Installing the mobile application requires:

Export profile for mobile applications

Listed below are the entities to be exported to get a complete description of a mobile application:

Entity
(title)
Use standard profileFilterExport allComments
representationProxies
(Representation)
NoNoTechnical dependency mandatory in the description but it is never exported. Only the entity and representation properties can be found both in the Profile item key and Profile item attributes tabs.
applications
(List of applications)
NoNoTechnical dependency. Only the application and contract properties are listed in the Profile item key tab.
roles
(role)
NoNoTechnical dependency. Only the code property is listed in the Profile item key tab.
mobileGadgetParams
(mobileGadgetParam)
NoNoChild entity of the mobileGadget entity. Therefore, no condition is needed, and the values are exported according to the exported mobile gadget list. The Profile item key tab only contains the name property. The Profile item attributes tab contains the name, title, and value properties.
mobileGadgets
(mobileGadget)
NoThis is the main entity to be exported for the gadgets definition.
You must select the Export all check box, or provide a filter (or a list of key in the Exported object tab) to select the gadgets that are exported.

For example, if you want to export the gadgets associated with factory code XXX, you can use the following condition:
($factory eq true and $factoryOwner eq 'XXX')

The profile key is code, and most of the properties are listed in the Profile item attributes tab:
action, code, description, entity, externalUrl, gadgetType, icon, keyParameter, mobileDashboard, parameters, representation, requestLevel, requestName, statName, title, ProcessLeg, processMenu, processName, application, representationRef
mobileDashboardVignettes
(mobileDashboardVignette)
NoNoChild entity of the mobileDashboard entity. Therefore, no condition is needed, the values will be exported according to the exported dashboard list. The Profile item key tab only contains the persistendId property. The Profile item attributes tab contains the displayStyle, gadget, and persistentId properties.
mobileDashboards
(mobileDashboard)
NoThis is the main entity to be exported for the mobile dashboards definition.

You must define the right selection criteria. The same condition can be used to retrieve data for a given factory code:
($factory eq true and $factoryOwner eq 'XXX')

The profile key is dashboardName, and the properties listed in the Profile item attributes tab are:
description, title, dashboardName and vignettes
mobileApplications
(mobileApplication)
NoThis is the main entity to be exported for the mobile applications definition.

You must define the right selection criteria. The same condition can be used to retrieve data for a given factory code:
($factory eq true and $factoryOwner eq 'XXX')

The profile key is applicationName, and the properties listed in the Profile item attributes tab are:
applicationName, description, homeDashboard, iconName, roles, title, and versionNumber