In addition to registering the apps that you add to the organization, you can configure properties and settings for app items.
Define app properties
Define the apps properties to help people understand what type of app you shared with them and how they can use it.
Follow these steps to define properties for an app item:
- Sign in to the organization as the item owner or an administrator.
- Open the details page for the item and click the Settings tab.
- For web mapping,
mobile, or desktop app templates, specify the one of the following purposes:
- Ready To Use—Choose this option if this is not an app template and if there are no configuration options present in the app.
- Configurable—Choose this option if you are adding a configurable app template. After you save the app item's settings, you can add configuration parameters.
- Self-configurable—Use this option to deploy an app using an internal app builder.
- Code sample—If the purpose of the app is to provide an example that others can use to create their own apps, choose Code sample and then attach the code to the app item.
- For desktop apps, specify the platform of the app.
- If the app is a configurable app template, choose JavaScript from the API drop-down list.
Legacy:
Other API options and the SDK options present for mobile apps are deprecated properties, but they have not been removed because existing app items have these properties set. You do not need to set them for new apps other than configurable app templates. - Click Save.
Share app code
You can attach code (as a .zip file) to your app items. This allows you to provide access to the app's source code when you share a sample or a configurable app with others.
Follow these steps to add a code sample file to the app item:
- Sign in to the organization as the item owner or an administrator.
- Open the details page for the item and click the Settings tab.
- Click Attach Code and upload a .zip file containing the code sample.
- Click Save.
To update a code attachment without resetting the download counter on the item, click Update Code and upload a .zip file with the same name as the original .zip file. To attach a new file, first click Remove to delete the existing file and then repeat the steps above to attach a new file. Deleting the existing file and adding a new on resets the download count on the item.
Edit the app URL
If the URL changes for a web mapping, mobile, or application extension app that you added to your organization, you can update the app item's URL to point the app item to the new URL.
Follow these steps to update the URL for an app item:
- Sign in to the organization as the item owner or an administrator.
- Open the details page for the item and click the Settings tab.
- Type or paste the new app URL into the URL field.
- Click Save.