Activating CG Cloud in the CT Mobile app
After activating CG Cloud in your Salesforce org, follow these steps to work offline with CG Cloud features and objects in the CT Mobile app.
Activating CG Cloud in the CT Mobile app
To activate CG Cloud features in the CT Mobile app:
-
Go to CT Mobile Control Panel: App Menu tab.
-
Select the required profile in the Location picklist.
General Settings will be applied to all the profiles without individual settings. -
Click the
button to open the Add menu item tool. -
Select the Consumer Goods item.
-
Click Add to close the Add menu item tool.
-
Click Save.
After performing the synchronization, the Retail Store records are available for viewing only in the Retail Stores menu item and on the Retail Stores tab in the Calendar, Nearby Accounts, and Routes modules.
To work with records, add the Retail Store object to offline objects and assign permissions to users.
Adding CG Cloud Objects to the Offline Objects
If mobile users need the ability to create, edit, or delete records of CG Cloud objects, for example,Retail Store or Visit, it is necessary to make these objects available offline and assign permissions to users:
-
Select the required profile in the Location picklist.
General Settings will be applied to all the profiles without individual settings. -
Using drag-and-drop add Retail Store and Visit from the Available list to the Selected list.
-
Click Save.
After performing the synchronization, mobile users can create, edit, or delete Retail Store and Visit records depending on the user permissions.
Creating CTM Settings Records
This setting is responsible for displaying related CG Cloud records in the same way as the regular custom related lists. So, on the Detailing tab, there can be sections with the related CG Cloud records and sections with the custom related list records if configured.
Administrators can customize the display of related CG Cloud records according to their type, such as Inventory Check, Promotion Check, or Other.
| Check out the example settings in the Managing Visits to Retail Stores article. |
To create a new CTM Settings record:
-
Go to the CTM Settings tab → click New.
If absent, create a custom tab for the CTM Settings object. -
In the New CTM Setting window, select the CG Cloud record type and click Next.
-
Specify parameters and click Save.
Learn more about the available parameters in the CTM Settings: CG Cloud Record Type article. -
Repeat steps 2—3 to create all required CTM Settings records.
The setup is complete.
User Permissions and Synchronization
Consider that the mobile users should have the appropriate permission for the CG Cloud objects listed below and required for proper operation of the CG Cloud features. Perform full synchronization to load all objects from the table to the mobile device.
| Object API Name | Required Access for User | Conditions for Downloading Records | Comments |
|---|---|---|---|
ActionPlan |
Read; Create; Edit |
Only the Visit Execution type is supported. |
|
ActionPlanItem |
Read; Create; Edit |
||
ActionPlanTemplateItem |
Read |
||
ActionPlanTemplateItemValue |
Read |
||
ActionPlanTemplateVersion |
Read |
||
AssessmentIndicatorDefinition |
Read |
||
AssessmentTask |
Read; Create; Edit |
As assessment tasks in the Action Plan Template record, you can add records of Assessment Task or Task objects. |
|
AssessmentTaskDefinition |
Read |
||
AssessmentTaskIndDefinition |
Read |
||
InStoreLocation |
Read |
||
OperatingHours |
Read |
||
ProductCategory |
Read |
||
ProductCategoryProduct |
Read |
||
Product2 |
Read |
||
Promotion |
Read |
||
RetailLocationGroup |
Read |
||
RetailStore |
Read |
||
RetailStoreGroupAssignment |
Read |
||
RetailStoreKpi |
Read; Create; Edit |
||
RetailVisitKpi |
Read |
||
StoreProduct |
Read |
||
Survey |
Read |
||
SurveyInvitation |
Read |
WHERE SurveyId IN ('downloaded_Survey_records') |
|
SurveySubject |
Read |
||
SurveyVersion |
Read |
WHERE SurveyId IN ('downloaded_Survey_records') AND SurveyStatus = 'Active' |
|
Task |
Read; Create; Edit |
||
TaskStatus |
Read |
||
TimeSlot |
Read |
||
Visit |
Read; Create; Edit |