> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](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).

# 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).
