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
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 .