Lightning community how to hide / disable / remove GENERIC RECORD PAGES












3














I have a community which I created with the Build Your Own template:



enter image description here



This template creates by default 3 GENERIC RECORD PAGES:



enter image description here



I don't want to give access to my users for these pages, but I could not find any way to remove the pages or access to them. Usualy in the page properties there is a PAGE VARIATIONS tab and there you can delete or remove access, but this tab does not exist for these pages:



enter image description here



QUESTION



How can I remove or hide these pages?










share|improve this question



























    3














    I have a community which I created with the Build Your Own template:



    enter image description here



    This template creates by default 3 GENERIC RECORD PAGES:



    enter image description here



    I don't want to give access to my users for these pages, but I could not find any way to remove the pages or access to them. Usualy in the page properties there is a PAGE VARIATIONS tab and there you can delete or remove access, but this tab does not exist for these pages:



    enter image description here



    QUESTION



    How can I remove or hide these pages?










    share|improve this question

























      3












      3








      3







      I have a community which I created with the Build Your Own template:



      enter image description here



      This template creates by default 3 GENERIC RECORD PAGES:



      enter image description here



      I don't want to give access to my users for these pages, but I could not find any way to remove the pages or access to them. Usualy in the page properties there is a PAGE VARIATIONS tab and there you can delete or remove access, but this tab does not exist for these pages:



      enter image description here



      QUESTION



      How can I remove or hide these pages?










      share|improve this question













      I have a community which I created with the Build Your Own template:



      enter image description here



      This template creates by default 3 GENERIC RECORD PAGES:



      enter image description here



      I don't want to give access to my users for these pages, but I could not find any way to remove the pages or access to them. Usualy in the page properties there is a PAGE VARIATIONS tab and there you can delete or remove access, but this tab does not exist for these pages:



      enter image description here



      QUESTION



      How can I remove or hide these pages?







      community lightning-community community-builder






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 31 '18 at 9:03









      Itai Shmida

      2,70111843




      2,70111843






















          2 Answers
          2






          active

          oldest

          votes


















          2














          You do not have to remove these as they will not be visible to end users unless you actually use them to create pages for an object. They also have to be present for the Community Builder to work correctly as templates for the object pages.



          When logged in as a community user if I try to navigate to an object by URL hacking I'd just get an 'invalid page' error, e.g. hacking the URL from https://.force.com//s/ to https://.force.com//s/Account/Recent will give an invalid page.



          To enforce access to records for community users you need to enable the External Sharing from the Sharing Settings page and make objects Private, then use configuration to control which records on an object they will have access to.



          The record access is different for users on Customer Community and Customer Community login where you need to use Sharing sets to make records visible and Customer Community Plus or Parter Community users where you can use Apex sharing or normal SF Sharing settings to share specific records to the community users. For example only allow the community user to see the account record that is linked to their Contact record, only allow community user to see their own contact record.



          With the list views it is not possible to prevent a community user viewing the 'Recent' record list but this will only have data in it once they have viewed some records and the others can be restricted to internal users (though that has to be done in Classic not Lighting view).






          share|improve this answer























          • But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
            – Itai Shmida
            Dec 31 '18 at 11:01












          • Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
            – Pranay Jaiswal
            Dec 31 '18 at 11:07












          • @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
            – Itai Shmida
            Dec 31 '18 at 11:19










          • If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
            – Dave Humm
            Dec 31 '18 at 11:29










          • @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
            – Itai Shmida
            Dec 31 '18 at 12:04



















          1














          Every community user has a profile. The trick is to edit that profile and remove the read access to that object at profile level. Once the read access is invoked, the User even if they have access to record they wont be able to access the content via URL hacking or directly hitting the Salesforce Rest Endpoint(Community user is API enabled, so it can hit the SF rest endpoint and access data of records which you haven't' provided access via UI)



          You can find the profile of community member under



          Communities -> Workspaces -> Member > Selected profile.


          Once you get profile name, edit that profile like the way you do it normally and edit the FLS and Object setting to not even have read permission






          share|improve this answer





















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


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f245058%2flightning-community-how-to-hide-disable-remove-generic-record-pages%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









            2














            You do not have to remove these as they will not be visible to end users unless you actually use them to create pages for an object. They also have to be present for the Community Builder to work correctly as templates for the object pages.



            When logged in as a community user if I try to navigate to an object by URL hacking I'd just get an 'invalid page' error, e.g. hacking the URL from https://.force.com//s/ to https://.force.com//s/Account/Recent will give an invalid page.



            To enforce access to records for community users you need to enable the External Sharing from the Sharing Settings page and make objects Private, then use configuration to control which records on an object they will have access to.



            The record access is different for users on Customer Community and Customer Community login where you need to use Sharing sets to make records visible and Customer Community Plus or Parter Community users where you can use Apex sharing or normal SF Sharing settings to share specific records to the community users. For example only allow the community user to see the account record that is linked to their Contact record, only allow community user to see their own contact record.



            With the list views it is not possible to prevent a community user viewing the 'Recent' record list but this will only have data in it once they have viewed some records and the others can be restricted to internal users (though that has to be done in Classic not Lighting view).






            share|improve this answer























            • But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
              – Itai Shmida
              Dec 31 '18 at 11:01












            • Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
              – Pranay Jaiswal
              Dec 31 '18 at 11:07












            • @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
              – Itai Shmida
              Dec 31 '18 at 11:19










            • If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
              – Dave Humm
              Dec 31 '18 at 11:29










            • @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
              – Itai Shmida
              Dec 31 '18 at 12:04
















            2














            You do not have to remove these as they will not be visible to end users unless you actually use them to create pages for an object. They also have to be present for the Community Builder to work correctly as templates for the object pages.



            When logged in as a community user if I try to navigate to an object by URL hacking I'd just get an 'invalid page' error, e.g. hacking the URL from https://.force.com//s/ to https://.force.com//s/Account/Recent will give an invalid page.



            To enforce access to records for community users you need to enable the External Sharing from the Sharing Settings page and make objects Private, then use configuration to control which records on an object they will have access to.



            The record access is different for users on Customer Community and Customer Community login where you need to use Sharing sets to make records visible and Customer Community Plus or Parter Community users where you can use Apex sharing or normal SF Sharing settings to share specific records to the community users. For example only allow the community user to see the account record that is linked to their Contact record, only allow community user to see their own contact record.



            With the list views it is not possible to prevent a community user viewing the 'Recent' record list but this will only have data in it once they have viewed some records and the others can be restricted to internal users (though that has to be done in Classic not Lighting view).






            share|improve this answer























            • But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
              – Itai Shmida
              Dec 31 '18 at 11:01












            • Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
              – Pranay Jaiswal
              Dec 31 '18 at 11:07












            • @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
              – Itai Shmida
              Dec 31 '18 at 11:19










            • If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
              – Dave Humm
              Dec 31 '18 at 11:29










            • @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
              – Itai Shmida
              Dec 31 '18 at 12:04














            2












            2








            2






            You do not have to remove these as they will not be visible to end users unless you actually use them to create pages for an object. They also have to be present for the Community Builder to work correctly as templates for the object pages.



            When logged in as a community user if I try to navigate to an object by URL hacking I'd just get an 'invalid page' error, e.g. hacking the URL from https://.force.com//s/ to https://.force.com//s/Account/Recent will give an invalid page.



            To enforce access to records for community users you need to enable the External Sharing from the Sharing Settings page and make objects Private, then use configuration to control which records on an object they will have access to.



            The record access is different for users on Customer Community and Customer Community login where you need to use Sharing sets to make records visible and Customer Community Plus or Parter Community users where you can use Apex sharing or normal SF Sharing settings to share specific records to the community users. For example only allow the community user to see the account record that is linked to their Contact record, only allow community user to see their own contact record.



            With the list views it is not possible to prevent a community user viewing the 'Recent' record list but this will only have data in it once they have viewed some records and the others can be restricted to internal users (though that has to be done in Classic not Lighting view).






            share|improve this answer














            You do not have to remove these as they will not be visible to end users unless you actually use them to create pages for an object. They also have to be present for the Community Builder to work correctly as templates for the object pages.



            When logged in as a community user if I try to navigate to an object by URL hacking I'd just get an 'invalid page' error, e.g. hacking the URL from https://.force.com//s/ to https://.force.com//s/Account/Recent will give an invalid page.



            To enforce access to records for community users you need to enable the External Sharing from the Sharing Settings page and make objects Private, then use configuration to control which records on an object they will have access to.



            The record access is different for users on Customer Community and Customer Community login where you need to use Sharing sets to make records visible and Customer Community Plus or Parter Community users where you can use Apex sharing or normal SF Sharing settings to share specific records to the community users. For example only allow the community user to see the account record that is linked to their Contact record, only allow community user to see their own contact record.



            With the list views it is not possible to prevent a community user viewing the 'Recent' record list but this will only have data in it once they have viewed some records and the others can be restricted to internal users (though that has to be done in Classic not Lighting view).







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 31 '18 at 18:39

























            answered Dec 31 '18 at 10:08









            Dave Humm

            4,52451329




            4,52451329












            • But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
              – Itai Shmida
              Dec 31 '18 at 11:01












            • Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
              – Pranay Jaiswal
              Dec 31 '18 at 11:07












            • @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
              – Itai Shmida
              Dec 31 '18 at 11:19










            • If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
              – Dave Humm
              Dec 31 '18 at 11:29










            • @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
              – Itai Shmida
              Dec 31 '18 at 12:04


















            • But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
              – Itai Shmida
              Dec 31 '18 at 11:01












            • Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
              – Pranay Jaiswal
              Dec 31 '18 at 11:07












            • @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
              – Itai Shmida
              Dec 31 '18 at 11:19










            • If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
              – Dave Humm
              Dec 31 '18 at 11:29










            • @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
              – Itai Shmida
              Dec 31 '18 at 12:04
















            But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
            – Itai Shmida
            Dec 31 '18 at 11:01






            But in my community I can access records - for example: .force.com/grants/s/detail/a1a0x000000RMIOAA4 opens the record page (detail is the url for the page in it's properties)
            – Itai Shmida
            Dec 31 '18 at 11:01














            Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
            – Pranay Jaiswal
            Dec 31 '18 at 11:07






            Dont give object access to the community profile. You being system admin can access it in community builder and when you login as urself in community
            – Pranay Jaiswal
            Dec 31 '18 at 11:07














            @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
            – Itai Shmida
            Dec 31 '18 at 11:19




            @PranayJaiswal how do I do that? I cannot find it, can you guide me (as an answer)?
            – Itai Shmida
            Dec 31 '18 at 11:19












            If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
            – Dave Humm
            Dec 31 '18 at 11:29




            If you enable external sharing you can restrict the objects using private sharing settings - I'll edit into my answer.
            – Dave Humm
            Dec 31 '18 at 11:29












            @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
            – Itai Shmida
            Dec 31 '18 at 12:04




            @DaveHumm I have customer community login licenses, and I use sharing set to allow these users for records, but it seems that the user can access all records in the community from this url. I did not understand from your answer what exactly should I do
            – Itai Shmida
            Dec 31 '18 at 12:04













            1














            Every community user has a profile. The trick is to edit that profile and remove the read access to that object at profile level. Once the read access is invoked, the User even if they have access to record they wont be able to access the content via URL hacking or directly hitting the Salesforce Rest Endpoint(Community user is API enabled, so it can hit the SF rest endpoint and access data of records which you haven't' provided access via UI)



            You can find the profile of community member under



            Communities -> Workspaces -> Member > Selected profile.


            Once you get profile name, edit that profile like the way you do it normally and edit the FLS and Object setting to not even have read permission






            share|improve this answer


























              1














              Every community user has a profile. The trick is to edit that profile and remove the read access to that object at profile level. Once the read access is invoked, the User even if they have access to record they wont be able to access the content via URL hacking or directly hitting the Salesforce Rest Endpoint(Community user is API enabled, so it can hit the SF rest endpoint and access data of records which you haven't' provided access via UI)



              You can find the profile of community member under



              Communities -> Workspaces -> Member > Selected profile.


              Once you get profile name, edit that profile like the way you do it normally and edit the FLS and Object setting to not even have read permission






              share|improve this answer
























                1












                1








                1






                Every community user has a profile. The trick is to edit that profile and remove the read access to that object at profile level. Once the read access is invoked, the User even if they have access to record they wont be able to access the content via URL hacking or directly hitting the Salesforce Rest Endpoint(Community user is API enabled, so it can hit the SF rest endpoint and access data of records which you haven't' provided access via UI)



                You can find the profile of community member under



                Communities -> Workspaces -> Member > Selected profile.


                Once you get profile name, edit that profile like the way you do it normally and edit the FLS and Object setting to not even have read permission






                share|improve this answer












                Every community user has a profile. The trick is to edit that profile and remove the read access to that object at profile level. Once the read access is invoked, the User even if they have access to record they wont be able to access the content via URL hacking or directly hitting the Salesforce Rest Endpoint(Community user is API enabled, so it can hit the SF rest endpoint and access data of records which you haven't' provided access via UI)



                You can find the profile of community member under



                Communities -> Workspaces -> Member > Selected profile.


                Once you get profile name, edit that profile like the way you do it normally and edit the FLS and Object setting to not even have read permission







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 31 '18 at 16:24









                Pranay Jaiswal

                13.8k32351




                13.8k32351






























                    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%2f245058%2flightning-community-how-to-hide-disable-remove-generic-record-pages%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

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    張江高科駅