Loading
Salesforce now sends email only from verified domains. Read More
Help Agent Performance DegradationRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Adding Product Attributes to an Object

          Adding Product Attributes to an Object

          Product Attributes are designed for use with objects related to CPQ. However, you can add Product Attributes to any custom object by adding the JSONAttribute field and configuring the DRJSONAttributeSObjects setting. You must be in Lightning Experience to follow these instructions.

          1. To add the JSONAttribute field to a custom object:
            1. In Setup, click Object Manager.
            2. Click the name of the custom object to which you want to add Product Attributes.
            3. Click Fields & Relationships, then click New.
            4. Select Text Area (Long) and click Next.
            5. Set the Field Label to JSONAttribute and the Length to the maximum value, 131072, then click Next.
            6. Check the boxes for the profiles that require access to the attribute, then click Next.
            7. Check the boxes for the Visualforce pages that will display the attribute, then click Save.
          2. To add the custom object to the DRJSONAttributeSObjects setting:
            1. In Setup, in the Quick Find box, type Custom Settings, then click Custom Settings.
            2. Click G in the alphabet listing, then click Manage next to General Settings.
            3. Create or edit the DRJSONAttributeSObjects setting:
              • If the setting doesn't exist, click New, specify DRJSONAttributeSObjects as the Name and the object name as the Value, then click Save.

              • If the setting exists, click DRJSONAttributeSObjects, click Edit, add a comma and the object name to the end of the Value, then click Save.

              • You must specify the full object name, for example vlocity_cmt__MyCustomObject__c.

            Note
            Note

            When you create Attribute Categories, you won't see this object name in the Applicable Types list, so set Applicable Types to Any.

           
          Loading
          Salesforce Help | Article