Publish apps
About publishing an app
App publishing is the process of validating and generating a version of the app that devices can execute.
The publishing process must validate all app references, formula usage, and environment-sensitive data. Once the publishing succeeds, a device app file is produced. The app file can then be transferred to a device and executed. All app validation occurs during the publishing process.
Publishing produces both a server version of the file and a device version of the file. The server version contains execution-specific information for processing complex message requests from the device.
Apps can be published across multiple environments. This means that an app is only allowed to reference resources that are common to all assigned environments.
For example, an app may be assigned to two enterprise system environments. The application references the advanced warehouse database table F4611. The definition of the table is slightly different between these two versions. Any fields referenced in this table must be common to both enterprise versions, or the app will not publish successfully. The publishing process ensures that download fields and function call data referenced by an app is common to all assigned environments.
It is possible to publish one or more apps that are part of a project together in the projects section. Individual apps can also be published in a project.
An app can be published when it is checked in or out. When a developer publishes an app in the Develop promotion level, the app is compiled using the most recently saved version of any object checked out to that developer, and the most recently checked in version of any other object the app uses.
After the developer completes their work on an object, they must check-in the object. This automatically increments the version number of the object.
When an app is checked in, the versions of all sub-items that are referenced in the app are recorded. These recorded versions are used in app publishing or promotion, even if the sub-items have changed. To include any sub-item changes, the main app must be checked out and checked back in to get the most current versions of sub-items.
After all objects are checked in, the developer can publish the final version of the app in development and test one final time before promoting to the next promotion level. To promote a project, it must be checked in, and published successfully for all environments.
Mobile Client users can synchronize their devices to receive new apps or updated versions of apps that have been published.
Publish an app
App publishing is the process of validating and generating a version of the app that devices can execute. The publishing process must validate all app references, formula usage, and environment-sensitive data. After the publishing succeeds, a device app file is produced. The app file can then be transferred to a device and executed. All validation occurs during the publishing process, not during the app creation process.
Note:As of 9.5 SP5, you can set app publishing to run in the background while you perform other tasks. Select Configuration > System Settings, scroll to the Publishing section, and select the Allow publishing/promote to run in the background option. In addition, use the Background publishing check interval option to set how often you want the system to run an automatic background update.
To publish an app, complete the following steps in Platform Manager.Check your list of published items by selecting the arrow icon to the right of the search field at the top of the screen. A red dot on the arrow icon indicates something new has been published. Check your list of published items by selecting the arrow icon to the right of the search field at the top of the screen. A red dot on the arrow icon indicates something new has been published.
-
Go to Develop > Application Studio > Library.
-
Select Applications.
-
Hover over the app's version number in the highest promotion level and select Publish from the menu. If the app did not successfully publish, error messages display. Complete the following substeps to resolve errors.
-
Optional. In the Publish Results dialog box, select Copy to clipboard to copy the publishing results to your clipboard.
-
Select a link to the location from which the error originated or select a link to highlight the reference in the flowchart or form, and then correct the error.
-
Optional. To display the Publish Results box again, above the search box in the taskbar, select Last Published Results -
[App name]
.Step InformationNote:After a successful publish, the Last Published Results... label will include the app name and version published. If the most recent publish attempt failed, the label will only include the app name. -
When all errors are corrected, publish the app.
Step InformationNote:Warnings may display when publishing, but do not prevent an app from publishing and may be corrected at your discretion. Errors must be corrected before you can publish the app. -
Result: When the app successfully publishes, a confirmation message displays along with the version numbers and IDs of the app. The app is ready to run on the mobile device.
Loading...
There was a problem loading this topic