You are here:
Create a Custom Field on Product2
To store the Base64-encoded image string on the Product2 object, create a custom field.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package. |
| User Permissions Needed | |
|---|---|
| To create a custom field on Product2: | Life Sciences Commercial Admin |
- From Setup, select Object Manager.
- Select Product2.
- Click Fields & Relationships, and then click New.
- Select the data type as Long Text Area, and then click Next.
-
Enter a field label.
For example, Image Base64.
- For length, enter 131072.
- For Visible Lines, enter 5.
- Click Next.
- Enable field-level security as needed.
- Save your changes.
-
Add the field as the product image field for mobile.
- From the App Launcher, select Admin Console.
- Select Products.
- Select Product Configuration.
- From Product2 Field Name, select the field you created.
- Save your changes.
Did this article solve your issue?
Let us know so we can improve!
