---
schema_version: "1"
id: e20c41c5e5f567eabae27c3fc5fa7c73b81e6a8efc20eb80e9257a289d452ef5
title: Extend Default Context Definition for Work Order Estimation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/aslm_woe_extend_default_context_definition.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.aslm_woe_extend_default_context_definition.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8bc2c936dcaceb9be74c50b195556a7e63c94fa4eedd26f6b31637eeff8d864f
description: You can extend the Out-Of-The-Box (OOTB) context to create a custom context definition with additional attributes, without modifying existing ones. Similarly, you can extend the mapping to include additional mappings, without changing the existing ones.
products:
  - Industry Solutions
  - Cross Cloud
release: "264"
---
# Extend Default Context Definition for Work Order Estimation

You can extend the Out-Of-The-Box (OOTB) context to create a custom context definition with additional attributes, without modifying existing ones. Similarly, you can extend the mapping to include additional mappings, without changing the existing ones.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Automotive Cloud, Communications Cloud, Consumer Goods, Energy and Utilities Cloud, Manufacturing Cloud, Service Cloud, and Media Cloud. <a href="https://help.salesforce.com/s/articleView?id=xcloud.aslm_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Asset Service Lifecycle Management features.">View edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d32836e70">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d32836e70 ">To set up Salesforce Pricing</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d32836e70 ">Salesforce Pricing admin AND Salesforce Pricing Manager AND Salesforce Pricing Design
              Time User</td>

          </tr>
        </tbody>
      </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-asset_service_lifecycle_mgmt-264-0-0-production-enus/645b17dc-6eea-4fac-9d5c-016dea098887/images/icon_note.png)

Note

Work Order Estimation supports only OOTB or extended context definitions and mappings

1. From Setup, in the Quick Find box, enter Context Service, and then select **Context Definitions**.
2. On the Standard Definitions tab, find WorkEstimationCoveragesContext, click the dropdown menu, and choose **Extend**.
    
    The Context Definition page appears.
3. Enter context definition details.
    1. Enter a name and description for the custom context.
    2. Click **Next**.
        
        The Create Structure page appears.
4. New nodes aren't supported. Click **Next**.
    
    The Add Attributes page appears.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-asset_service_lifecycle_mgmt-264-0-0-production-enus/645b17dc-6eea-4fac-9d5c-016dea098887/images/icon_note.png)
    
    Note Don’t modify existing nodes.
5. Add attributes.
    1. Add new attributes at the correct node level. For each new attribute, select the appropriate Type (Input, Output, or InputOutput) and DataType.
    2. If applicable, fill in the **Referred Object** field (this is auto-populated based on the hierarchy).
    3. Click **Next**.
        
        The Create Attribute Tags page appears.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-asset_service_lifecycle_mgmt-264-0-0-production-enus/645b17dc-6eea-4fac-9d5c-016dea098887/images/icon_note.png)
        
        Note
        
        Don’t modify existing attributes.
6. Create attribute tags.
    1. Create unique attribute or context tags for the new attributes.
        
        These tags must be unique within the entire context. These tags are used to identify attributes across levels within the context and also in the Pricing Procedure Definition.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-asset_service_lifecycle_mgmt-264-0-0-production-enus/645b17dc-6eea-4fac-9d5c-016dea098887/images/icon_note.png)
        
        Note
        
        Don’t modify existing attributes or their attribute tags.
        
        It’s currently not recommended to assign multiple attribute tags to a single attribute.
    2. Save your changes.
        
        The new context definition is created and listed on the Custom Definitions tab with its status set to Inactive.
7. On the Custom Definitions tab, open the custom definition you created.
8. Go to the Map Data tab.
    
    By default, an extension of the OOTB context mapping (IFSQuoteLineItemEntityMapping) is listed.
9. From the dropdown menu for IFSQuoteLineItemEntityMapping, select **Edit**.
    
    The Edit Mapping page appears.
10. Select the **Mark as Default** check box and then click **Map**.
    
    The Context Mapping’s builder page opens in a new tab.
11. Link the new or existing unmapped attributes on the Structure tile to the corresponding entity fields on the Connect Objects tile. First, select the attribute, then select the entity field.
    
    You can map the fields only if the parent node level maps to the corresponding entity. These mappings are provided by default as this mapping extends the OOTB context mapping.
12. Map attributes to entity fields within foreign key references in the parent entity.
    1. Click the Add icon next to the foreign key field.
        
        For example, Product2Id.
    2. Select an appropriate field from the list.
    3. Make sure the entity field path is correct, doesn’t contain repeated characters, and then map the desired attribute to this field.
    4. Save your changes.
13. On the Context Definitions page, go to the Custom Definitions tab.
14. From the dropdown menu for the context definition you created, select **Activate**.
    
    The status of the context definition changes to Active.