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.










share|improve this question




























    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.










    share|improve this question


























      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.










      share|improve this question















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Peter Mortensen

      24117




      24117










      asked 2 hours ago









      SallyRothroat

      360112




      360112






















          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>





          share|improve this answer





















          • aha thanks! why is it like that, that's dumb
            – SallyRothroat
            2 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
            2 hours ago




















          up vote
          5
          down vote













          The best place to check for it is the workbench.



          Enter image description here



          Reference: API Names of System and App Permissions?






          share|improve this answer























          • 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
            2 hours ago










          • @PranayJaiswal I guess that might be it!
            – codeyinthecloud
            2 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
            2 hours ago










          • @sfdcfox got it. Now makes sense.
            – Pranay Jaiswal
            2 hours ago











          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',
          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
          });


          }
          });














          draft saved

          draft discarded


















          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








          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>





          share|improve this answer





















          • aha thanks! why is it like that, that's dumb
            – SallyRothroat
            2 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
            2 hours ago

















          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>





          share|improve this answer





















          • aha thanks! why is it like that, that's dumb
            – SallyRothroat
            2 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
            2 hours ago















          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>





          share|improve this answer












          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>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 hours ago









          Pranay Jaiswal

          12.5k32251




          12.5k32251












          • aha thanks! why is it like that, that's dumb
            – SallyRothroat
            2 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
            2 hours ago




















          • aha thanks! why is it like that, that's dumb
            – SallyRothroat
            2 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
            2 hours ago


















          aha thanks! why is it like that, that's dumb
          – SallyRothroat
          2 hours ago




          aha thanks! why is it like that, that's dumb
          – SallyRothroat
          2 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
          2 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
          2 hours ago














          up vote
          5
          down vote













          The best place to check for it is the workbench.



          Enter image description here



          Reference: API Names of System and App Permissions?






          share|improve this answer























          • 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
            2 hours ago










          • @PranayJaiswal I guess that might be it!
            – codeyinthecloud
            2 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
            2 hours ago










          • @sfdcfox got it. Now makes sense.
            – Pranay Jaiswal
            2 hours ago















          up vote
          5
          down vote













          The best place to check for it is the workbench.



          Enter image description here



          Reference: API Names of System and App Permissions?






          share|improve this answer























          • 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
            2 hours ago










          • @PranayJaiswal I guess that might be it!
            – codeyinthecloud
            2 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
            2 hours ago










          • @sfdcfox got it. Now makes sense.
            – Pranay Jaiswal
            2 hours ago













          up vote
          5
          down vote










          up vote
          5
          down vote









          The best place to check for it is the workbench.



          Enter image description here



          Reference: API Names of System and App Permissions?






          share|improve this answer














          The best place to check for it is the workbench.



          Enter image description here



          Reference: API Names of System and App Permissions?







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 1 hour ago









          Peter Mortensen

          24117




          24117










          answered 2 hours ago









          codeyinthecloud

          2,572321




          2,572321












          • 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
            2 hours ago










          • @PranayJaiswal I guess that might be it!
            – codeyinthecloud
            2 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
            2 hours ago










          • @sfdcfox got it. Now makes sense.
            – Pranay Jaiswal
            2 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
            2 hours ago










          • @PranayJaiswal I guess that might be it!
            – codeyinthecloud
            2 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
            2 hours ago










          • @sfdcfox got it. Now makes sense.
            – Pranay Jaiswal
            2 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
          2 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
          2 hours ago












          @PranayJaiswal I guess that might be it!
          – codeyinthecloud
          2 hours ago




          @PranayJaiswal I guess that might be it!
          – codeyinthecloud
          2 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
          2 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
          2 hours ago












          @sfdcfox got it. Now makes sense.
          – Pranay Jaiswal
          2 hours ago




          @sfdcfox got it. Now makes sense.
          – Pranay Jaiswal
          2 hours ago


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          What visual should I use to simply compare current year value vs last year in Power BI desktop

          How to ignore python UserWarning in pytest?

          Alexandru Averescu