Organization Utils Methods

This article presents our organization's Utils methods, which are utility methods that modify the organization-wide SharinPix settings.

Organization Utils Methods Example

The organization Utils methods include:

getMobileAppConfig

global Object getMobileAppConfig()

  • Fetches your organization's SharinPix Mobile app configuration

System.debug(sharinpix.OrgUtils.getMobileAppConfig());

Example mobile app config on the SharinPix Admin dashboard:

Example output from the getMobileAppConfig() :

updateMobileAppConfig

global Object updateMobileAppConfig(Map<String, Object> config)

  • Updates your organization's SharinPix Mobile app configuration

Using the updateMobileAppConfig method to update the mobile app configurations.

Below an Apex Map<String, Object> is initialized and used as parameter for the updateMobileAppConfig method. The update will provide the Checklist1 to be used in the mobile app with its available tags and other parameters.

Example Mobile app config on the Sharinpix Admin dashboard after update:

Using the updateMobileAppConfig method to clear the mobile app configurations.

The example below resets the organization's mobile app configuration.

Example Mobile app config on the Sharinpix Admin dashboard after reset:

Last updated

Was this helpful?