2

Is Lightning data Service just for components that can be used in record detail page or can they be used in communities as well to create/view records by passing the recordsId somehow?

1 Answer 1

4

To answer it precisely ,lightning data service cannot be used currently inside community builder or lightning out via visualforce .The docs clearly state this limitation and only Salesforce 1 and lightning container are supported .

There is no limitations on lightning page it can be used .So you can use it anywhere not just record detail page. It can be used on home page layout , Lightning tab ,quick actions and in other places in lightning experience where Salesforce allows Lightning components .

3
  • Very Nice answer @Mohith. Precise and to the point.
    – RedDevil
    Commented Jun 29, 2017 at 11:22
  • Indeed! Please link the doc in your post ;)
    – glls
    Commented Jun 29, 2017 at 11:44
  • In mobile and hence will link it soon Commented Jun 29, 2017 at 11:44

You must log in to answer this question.

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