# Step 5: Add custom fields to the page layouts

{% hint style="info" %}
See the [Appendix ](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/appendix.md)for a list of [custom fields and objects](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/appendix/custom-fields-and-objects.md) that you can add to the page layouts.
{% endhint %}

To configure the page layout for the DCM Application Log:

1. Click **Setup** ![](/files/Z3UC9pN9SZOkmA6V52IF) and select **Setup** from the dropdown list.\
   ![](/files/JpxSWtNtChWKYh8VGlh6)
2. Type `Object Manager` in the **Quick Find** field and click **Object Manager**.\
   ![](/files/zocqZ0P73WDsEUVVKFHA)
3. Type \*\*\*\* `DCM Application Log` in the **Quick Find** field and then click the **DCM Application Log** link under **LABEL**.\
   ![](/files/jr10jhD7JGug6KHmfJpx)
4. Click **Page Layouts**.\
   ![](/files/mWZB1A45VPFA1AH373Cp)
5. Click **DCM Application Log Layout**.\
   ![](/files/JHGcX1gL9zBcvcDL3TuL)
6. Click the **Fields** tab in the **DCM Application Log Layout**.\
   ![](/files/TcZYHik2OLLjbEoG32gv)
7. Create a section for Digital River fields.
   * Drag the custom field you want to appear in the DCM Application Log Layout from the **Fields** list to the **DCM Application Log Detail** and arrange them in the order you want them to appear.
   * Repeat this step for each field you want to appear in the DCM Application Log Layout.\
     ![](/files/BSKqFBGVYpWa38rEbbZc)
8. Click **Save**.
9. Repeat the above steps to configure the page layout for other objects using the information provided in [Custom objects and fields](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/appendix/custom-fields-and-objects.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/integrate-the-salesforce-lightning-app/step-5-add-custom-fields-to-the-page-layouts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
