Play Games

Search This Blog

Wednesday, June 16, 2021

Metadata to retrieve apps in salesforce - Salesforce Globe For You

 Metadata to retrieve apps in salesforce  - Salesforce Globe For You 

To retrieve standard app like sales,use the following metadata

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

    <types>

        <members>standard__Sales</members>

        <name>CustomApplication</name>

    </types>

    <version>51.0</version>

</Package>

Note: For standard app,need to prefix with 'standard__'.

For custom app,apiname of the app will be given as members.Assume 'Custom_Sales_Appp' is the apiname of the custom app created then use the following metadata

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

    <types>

        <members>Custom_Sales_Appp</members>

        <name>CustomApplication</name>

    </types>

    <version>51.0</version>

</Package>

Example:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<Package xmlns="http://soap.sforce.com/2006/04/metadata">

    <types>

        <members>standard__Sales</members>

        <members>Custom_Sales_Appp</members>

        <name>CustomApplication</name>

    </types>

    <version>51.0</version>

</Package>

Output:



No comments:

Post a Comment