Activity Forums Salesforce® Discussions Report filters created in Lightning become locked in target environment when the report is deployed?

  • Manpreet

    Member
    April 26, 2018 at 4:39 pm

    Hi saurabh,

    You need to Edit the report in lightning Experience.If you edit hte filters you will see a locked checkbox.Make sure it is checked.

    Thanks.

  • Aman

    Member
    April 26, 2018 at 8:43 pm

    Hi Saurabh,

    When creating a report in Lightning Experience it is possible to select whether filters are locked or unlocked.

    If the report's filters are not locked when it's saved in Lightning Experience and the report is deployed (via the Metadata API using available tools such as Change Sets, Force.com IDE, or Migration Tool) the previously unlocked report filters set in Lightning will now be locked.

    Repro
    1. Open Lightning Experience and create a report and add a filter and be sure to leave the "Locked" option unchecked:

    2. Create an outbound change set that includes the newly created report and upload/deploy it to a target organization.

    Actual Results: Despite not selecting the "Locked" option upon deploying the report via change sets.

    Expected Results: The locked status of the report filter should remain unchanged when deploying it.

    Workaround
    None outside of manually editing affected reports in Lightning Experience and deselecting the Locked option for filters.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos