• Praneeth Indraganti
  • 0 Points
  • Member since 2014

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0
Hi All,
We have the following scenario. 
We want to have classic pages look like lightning in Napili Template 
1. In our approach we added an attribute called lightningstylesheets=true for visualforce page with a hope that the page will be automatically rendered with lightning styles in community, there comes a road block with Salesforce - 
We cannot use lightningstylesheets attribute in community
2. So as a work around we created a lightning app with the Visualforce embedded in it.
<aura:component implements="forceCommunity:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,lightning:actionOverride,forceCommunity:availableForAllPageTypes">
    <iframe src="https://xxxxx/apex/viewOrder?id=8011F0000009IbO" style="height:800px;width:1000px"/>
After doing this we tried overriding the Standard View functionality of Salesforce
Even though we have given the SampleComponent as the override in Lightning Experience it is not working.
3. Apart from the limitation we faced in point.2 there is also a limitation in passing parameters via url within community.
Below is the link of Salesforce Idea
Please suggest what is the best way to implement this.