[S1] In community, VF page cannot be opened by embedded details page or mobile card in community
Last updated 2020-04-15 ·Reference W-3250320 ·Reported By 17 users
Summary
In community, VF page cannot be opened due to NotSupported via embedded details page such as Account pagelayout or mobile card although it can be opened directly in org context. Also, this issue occurs in only community context.
Repro
-1. Signup your org
-2. Enable Community
-3. Create an account and contact record for a partner user
-4. Enable the account as Partner Account
-5. Enable the contact as Partner Community User
-6. Create a community
Customize | Communities | All Communities
-7. Add the community user as members
Administration | Members
-8. Create the folioing VF page with "Available for Salesforce mobile apps and Lightning Pages" option
[ sample ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<apex:page standardController="Account">
Hello
</apex:page>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-9. Enable the VF page access to the community user profile
Profile | <community user profile>
Add the VF page at "Enabled Visualforce Page Access" section
-10. Add the VF page into Account page layout
Customize | Accounts | Page Layouts
Put Section from Fields area
Put the created VF page into the section
-11. Log in to the org in Chrome
-12. Move to the created contact record at Step.3
-13. Click on "Manage External User" button and "Log in to Community as User" link to switch a community user
-14. Switch mobile agent via Developer Tool of Chrome and open "/one/one.app" URL
-15. Navigate to Accounts tab in the stage left and open any account record
-16. Click on the VF page assigned at Step.10
-17. You should see the following error
-----
"You can't view this page, either because you don't have permission or because the page isn't supported on mobile devices."
-----
Workaround
none
To fix this issue, enable the "Support links to Visualforce pages from community pages made using Visualforce in the mobile app" preference at Setup | Communities | Communities Settings.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.