+ Start a Discussion
Santhosh SasidharanSanthosh Sasidharan 

Want to access a lightning component in a community

Would like to display my custom lighning app(name = customlightningapp) created, to be loaded inside a community.
Steps taken so far :
Inside my community builder I am loading a vf page which calls a url(communitydomain/name/customlightningapp.app) 
Problem faced(Events and libraries are not accessible):
Please, let me know how can l access the same custom lighning app(name = customlightningapp) in one/one.app context (for ex: communitydomain/name/one/one.app/customlightningapp.app).

Appreciate any help

Shubham Prajapati 19Shubham Prajapati 19
Hi Santosh,

You cannot directly use aura:application in the lightning community. Instead, you can move the content of aura:application into a lightning aura:component and then use that component into the lightning community. Refer to https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_builder_intro.htm for more.
Santhosh SasidharanSanthosh Sasidharan

Thank you for your comment.
Apps can be accessed in community using the following url pattern:
Check https://developer.salesforce.com/forums/?id=906F0000000BNQUIA4
My issue is how to include one/one.app in the community context.