What's the API name of system permissions?
up vote
4
down vote
favorite
I am adding the system permissions 'Manage Public List Views' and 'Create and Customize List Views' to a permission set via the Metadata API. The problem is I can't find their exact API name:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeListViews</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>ManagePublicListViews</name>
</userPermissions>
... this is what I have which seems right, but I want to be absolutely sure. Are you supposed to have the 'and' in there? Previously there was a permission here that read:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
... so that's why I named 'Create Customize List Views' that way.
metadata-api
add a comment |
up vote
4
down vote
favorite
I am adding the system permissions 'Manage Public List Views' and 'Create and Customize List Views' to a permission set via the Metadata API. The problem is I can't find their exact API name:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeListViews</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>ManagePublicListViews</name>
</userPermissions>
... this is what I have which seems right, but I want to be absolutely sure. Are you supposed to have the 'and' in there? Previously there was a permission here that read:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
... so that's why I named 'Create Customize List Views' that way.
metadata-api
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I am adding the system permissions 'Manage Public List Views' and 'Create and Customize List Views' to a permission set via the Metadata API. The problem is I can't find their exact API name:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeListViews</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>ManagePublicListViews</name>
</userPermissions>
... this is what I have which seems right, but I want to be absolutely sure. Are you supposed to have the 'and' in there? Previously there was a permission here that read:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
... so that's why I named 'Create Customize List Views' that way.
metadata-api
I am adding the system permissions 'Manage Public List Views' and 'Create and Customize List Views' to a permission set via the Metadata API. The problem is I can't find their exact API name:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeListViews</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>ManagePublicListViews</name>
</userPermissions>
... this is what I have which seems right, but I want to be absolutely sure. Are you supposed to have the 'and' in there? Previously there was a permission here that read:
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
... so that's why I named 'Create Customize List Views' that way.
metadata-api
metadata-api
edited 2 hours ago
Peter Mortensen
24117
24117
asked 4 hours ago
SallyRothroat
360112
360112
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
6
down vote
accepted
Metadata API sometimes have different API names than the one shown on the UI.
Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"
So your user permission will be.
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>EditPublicFilters</name>
</userPermissions>
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
5
down vote
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
Metadata API sometimes have different API names than the one shown on the UI.
Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"
So your user permission will be.
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>EditPublicFilters</name>
</userPermissions>
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
6
down vote
accepted
Metadata API sometimes have different API names than the one shown on the UI.
Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"
So your user permission will be.
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>EditPublicFilters</name>
</userPermissions>
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
6
down vote
accepted
up vote
6
down vote
accepted
Metadata API sometimes have different API names than the one shown on the UI.
Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"
So your user permission will be.
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>EditPublicFilters</name>
</userPermissions>
Metadata API sometimes have different API names than the one shown on the UI.
Manage Public List Views permission is called as "EditPublicFilters" and Create and Customize List Views is called as "CreateCustomizeFilters"
So your user permission will be.
<userPermissions>
<enabled>true</enabled>
<name>CreateCustomizeFilters</name>
</userPermissions>
<userPermissions>
<enabled>true</enabled>
<name>EditPublicFilters</name>
</userPermissions>
answered 3 hours ago
Pranay Jaiswal
12.5k32251
12.5k32251
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
add a comment |
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
aha thanks! why is it like that, that's dumb
– SallyRothroat
3 hours ago
1
1
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
This is the core base of Salesforce which was designed in 2000's , probably when they designed they didnt want to name it as "List View" and keep it as Filter. SF Over the years they renamed the Lable to ListView but kept the API name as same for backward compatibility,
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
5
down vote
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
5
down vote
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
add a comment |
up vote
5
down vote
up vote
5
down vote
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
edited 2 hours ago
Peter Mortensen
24117
24117
answered 3 hours ago
codeyinthecloud
2,587321
2,587321
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
add a comment |
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it says
PermissionsCreateCustomizeFilters
, Unless Permissions
is a prefix– Pranay Jaiswal
3 hours ago
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it says
PermissionsCreateCustomizeFilters
, Unless Permissions
is a prefix– Pranay Jaiswal
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
@PranayJaiswal I guess that might be it!
– codeyinthecloud
3 hours ago
3
3
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@PranayJaiswal Yes, the workbench returns the "SOAP" version of the Profile, which is where the "Permissions" prefix comes from. And it's in the docs for the Profile sobject in the SOAP API, too.
– sfdcfox
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
3 hours ago
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f242024%2fwhats-the-api-name-of-system-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown