4. Specifying Product Objects and Fields
To recognize products on the shelves, the IR provider must be allowed to interact with product data in Salesforce. Specify the product fields to send their values for processing and storing on the server.
Go to the CT Vision app and open the CT Vision Setup tab.

Authorization
If the Salesforce org was not yet registered on the CT Vision service side, click the Authorize button in the General Configuration section to connect to the CT Vision server.
|
In case of any errors, contact the Customertimes team. |

Cloud Token
To download all required CT Vision IR objects and apply the CT Vision IR module logic, go to CT Mobile Control Panel:Tools / CT Mobile Control Panel 2.0: Tools tab and check that the cloud token is added.
Currently, the cloud token may be stored in two custom settings, and the CT Vision IR retrieves it based on the combination of the CT Mobile package version and the used CT Mobile app version. For more information, refer to the CT Mobile Managed Package Update to v. 3.54 description.
Product Object Setting
To specify the corresponding Product object:
-
On the Product Object Setting tab, specify the required fields:
-
In the Product Object picklist, select the desired Product object.
-
In the Product Key Code picklist, select the desired field.
Use any suitable field that contains a unique product identifier, such as EAN or CTCPG__ExternalId__c. This field is used for mapping the Product object in Salesforce and the server.
-
-
Specify additional fields, such as product size, group, or category, if needed.
-
In the Select fields for mapping section, add the fields from step 2 from the Available section to the Selected section to send them to the server.
-
Click Save.

-
Allow Salesforce to create a field with the Lookup type when prompted for the specified Product object.
The setup is complete. The field with the Lookup type will be automatically created on the Product Image object to relate it with the specified Product object.
Check the user profile permissions to make sure the newly created lookup is available for all required users:

Product Image Setting
Select fields of the Product Image object that store all required information to send them to the CT Vision server to train the provider’s neural networks. This information along with the marketing photo of a product can be displayed on the Product record.
|
For more information, refer to Adding Information for Products to be Recognized. |
-
On the Product Image Setting tab, add desired fields from the Available to Selected section.

-
Click Save.
The setup is complete.
Feedback Loop
Specify the fields to display under the taken photo on the Feedback Loop page.
The name of an Activity object or a custom Activity object is displayed under the taken photo by default and cannot be removed or replaced.
Photo Description
To set up fields to display:
-
On the Feedback Loop page, click the Add Object button.
-
In the Activity Object field, select the required object.
-
Add fields to display from the Available section to the Selected section.

-
Click Save.
The setup is complete.
-
Click the Add Object button to specify fields to display to another Activity object if needed.
-
Click the bin next to the desired Activity object to delete the setting.
