3

I have created a lightning component and am able to add it in desktop view in account record detail page by using lightning record pages but when I switch to SF1 I can not find my lightning component in account record detail page.

Is there a way to make lightning component available in SF1 in record detail pages?

I do not wish to wrap my lightning component in a visual force page. Please suggest some way of achieving it by either using lightning pages or lightning component itself.

Thanks in advance

1
  • Hello, wondering if you figured this out? We have a custom detail view component with a lot of conditional rendering, but are unable to deploy it in mobile view. It defaults to native detail view with no option to override. Commented Feb 21, 2018 at 18:29

2 Answers 2

1

The only way I know at present is to create a Lightning Quick Action for that Component and add it to your Page Layout, then Salesforce1 will show it in QuickAction Bar when you're viewing the Detail View of the record.

Update:

The other alternative is to use Lightning Out for placing the Lightning Component in Visualforce Page

Use Lightning Components in Visualforce Pages

Then the Visualforce Page can be added to the Page Layout and it will show up in S1 as well within Detail View.

2
  • Thank you for your valuable response but I'm searching for a way to somehow embed my lightning component inside the SF1 record detail pages view. Does SF1 support it?
    – Simran
    Commented Dec 11, 2017 at 12:07
  • No, not at present. You could go with a Lightning Out option using Visualforce - link and then place the VF page as inline panel on page layout.
    – VarunC
    Commented Dec 11, 2017 at 14:02
0

This worked for me. In ipad settings -> selected Salesforce App and “Allow Cross-Website Tracking” And update apps and pages for mobile and update pagelayout for downloadable app (Lightning on tablet: full-width. Pilot feature. See below ) in Setup - > New Salesforce Mobile App QuickStart.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .