A merchant uses a Product Form in Salesforce POS to collect extra product attributes, such as instalment or delivery details, at the point of sale. These values appear at the line-item level of the POS order JSON as formAttributes, an array of key/value pairs. For example:
"formAttributes": [ { "key": "ps_instalment", "value": "12 months" } ]
The values don't show up on the corresponding order in Salesforce Order Management. The merchant wants to know which field to map in the OMS mapping configuration so the Product Form attributes reach Salesforce Order Management.
Product Form attributes are supported in the Salesforce Order Management integration. They are sent only when the field is mapped explicitly.
1. Confirm that the form data is in the order payload. Place a test POS order that uses the Product Form, then check that the line item in the order JSON contains formAttributes with the values you expect. If formAttributes is missing or empty, check the Save Location (key path) of the Product Form in the CMS layout.
2. In Salesforce Order Management, create a custom field on the order line-item object (for example, a long text area field on OrderItemSummary) to hold the form data.
3. In the POS OMS mapping configuration (SFOMS custom field mapping), map the POS field PRODUCT_CUSTOMSKU to the custom line-item field you created in step 2.
4. Make sure the mapped value is sent as a JSON array, for example [{"key":"...","value":"..."}], and not as a plain or delimited string. If the value arrives as a string, it can't be parsed, and the field is left empty on the Order Management order without an error.
5. Place a new POS order that uses the Product Form. Then open the order in Salesforce Order Management and confirm that the custom line-item field is filled in.
Set Up Product Forms
005461706

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.