What's the API name of system permissions?
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 |
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 |
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 Dec 10 '18 at 20:32
Peter Mortensen
24317
24317
asked Dec 10 '18 at 18:48
SallyRothroat
372113
372113
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
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
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
add a comment |
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
1
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
Dec 10 '18 at 19:18
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "459"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
add a comment |
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
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
add a comment |
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 Dec 10 '18 at 19:12
Pranay Jaiswal
13.6k32351
13.6k32351
aha thanks! why is it like that, that's dumb
– SallyRothroat
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
add a comment |
aha thanks! why is it like that, that's dumb
– SallyRothroat
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
aha thanks! why is it like that, that's dumb
– SallyRothroat
Dec 10 '18 at 19:14
aha thanks! why is it like that, that's dumb
– SallyRothroat
Dec 10 '18 at 19:14
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
Dec 10 '18 at 19:16
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
Dec 10 '18 at 19:16
add a comment |
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
1
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
Dec 10 '18 at 19:18
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
add a comment |
The best place to check for it is the workbench.
Reference: API Names of System and App Permissions?
1
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
Dec 10 '18 at 19:18
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
add a comment |
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 Dec 10 '18 at 19:58
Peter Mortensen
24317
24317
answered Dec 10 '18 at 19:15
codeyinthecloud
3,2541423
3,2541423
1
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
Dec 10 '18 at 19:18
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
add a comment |
1
Its weird, The one I pulled via Ant has value "CreateCustomizeFilters" where as from the API it saysPermissionsCreateCustomizeFilters
, UnlessPermissions
is a prefix
– Pranay Jaiswal
Dec 10 '18 at 19:18
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
1
1
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
Dec 10 '18 at 19:18
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
Dec 10 '18 at 19:18
1
1
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
@PranayJaiswal I guess that might be it!
– codeyinthecloud
Dec 10 '18 at 19:20
4
4
@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
Dec 10 '18 at 19:21
@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
Dec 10 '18 at 19:21
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
@sfdcfox got it. Now makes sense.
– Pranay Jaiswal
Dec 10 '18 at 19:23
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