I need to add lightning component to opportunity page layout. Like mobile cards. Is there any way to add lightning component to the page layout?
3 Answers
As of the Spring 15 release while Lightning Components is still in beta, there is no way to surface your lightning component into the standard page layout UI. The only options are:
- Lightning Components Tab
- Lightning App Builder Tab (if on the App Builder pilot)
Yes there is an Simple way
1) click the setup option(right top)
2) go to Edit Option Page
3) Drag and drop the custom or standard component into the layout
4) Finally save the changes
-
This doesn't technically answer the question, but upvoted b/c this is the correct solution– willardMay 15, 2018 at 20:46
This can now be done via Visualforce using < apex:includeLightning />
Use Lightning Components in Visualforce Pages
It takes a couple extra steps, but it's not too difficult. I've done it and haven't found too many performance issues.