> 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-app-1.2.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

Learn how to configure the page layouts.

{% hint style="info" %}
See the [Appendix ](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.2.1/appendix.md)for a list of [custom fields and objects](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.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** ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FG3RuI15kDt501qfqTO2P%2FSetup.png?alt=media) and select **Setup** from the dropdown list.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FtF1t0hKQ5ul2HzFuLUzb%2FPage%20layout%201.png?alt=media)
2. Type `Object Manager` in the **Quick Find** field and click **Object Manager**.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FcB6lMkDn2qEcvJ3r67dN%2FQuick%20Find%20-%20Object%20Manager.png?alt=media)
3. Type \*\*\*\* `DCM Application Log` in the **Quick Find** field and then click the **DCM Application Log** link under **LABEL**.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FVyCuQMOAYCBVdaTF9NPR%2FObject%20Manager.png?alt=media)
4. Click **Page Layouts**.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FEfqYTYCMQ58Ws99bMDvI%2FPage%20Layouts.png?alt=media)
5. Click **DCM Application Log Layout**.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2Fy5tquDMZjSjO3SZpub4A%2FDCM%20Application%20Log.png?alt=media)
6. Click the **Fields** tab in the **DCM Application Log Layout**.\
   ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2F28Jnw0k7KpvgG1YL8XZv%2FDCM%20Application%20Log%20Layout%20-%20Fields%20tab.png?alt=media)
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.\
     ![](https://2621088907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiQ5A1tasgCx8G4Luajf9%2Fuploads%2FJchBZBGf1gc159cqz5Zc%2FDCM%20page%20layout.png?alt=media)
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-1.2.1/appendix/custom-fields-and-objects.md).
