Salesforce Fact #519 | Listview metadata in VS Code

So, we have 3 types of sharing settings in list view:

1) Only I can see this list view.

2) All users can see this list view.

3) Share list view with groups of users.

Now, let's see how they are represented in metadata xml format.

For the 1st option, we cannot retrieve the metadata since this is private to that specific user and attempting to retrieve generates error:


For the 2nd option, the sharing scope is denoted by the filterScope tag:


For the 3rd option, the sharing for each public group is denoted by sharedTo tag:








Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow