# Step 5: Add custom fields to the page layouts

## Configure the page layouts

{% hint style="info" %}
See the Appendix for a list of [custom fields and objects](/salesforce-lightning/salesforce-lightning-b2b-commerce-api-1.0.1/appendix/custom-fields-and-objects.md) that need to be added to the page layouts.&#x20;
{% endhint %}

To configure the page layout for the DCM Application Log:

1. Click **Setup** and select **Setup** from the dropdown list.\
   &#x20;<img src="/files/JpxSWtNtChWKYh8VGlh6" alt="" data-size="original">&#x20;
2. Click **Object Manager**.
3. Type **DCM Application Log** in the **Search** box and click **DCM Application Log**. \ <img src="/files/Qh28bzNYninuwEO18wpc" alt="" data-size="original">&#x20;
4. Click **Page Layouts**. \ <img src="/files/ThSYSyaIi7YzB9zmzgp8" alt="" data-size="original">&#x20;
5. Click **DCM Application Log Layout**.\
   &#x20;<img src="/files/7zHL08AnZwCdQfV79e1H" alt="" data-size="original">&#x20;
6. Click the **Fields** tab in the **DCM Application Log Layout**.
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. \ <img src="/files/BSKqFBGVYpWa38rEbbZc" alt="" data-size="original">&#x20;
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-api-1.0.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-api-1.0.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.
