You need to sign in to do that
Don't have an account?
Ai Supartini
Missing Preview button for Lightning component/app
Hi All,
I just started with 'Lightning Componenets' module in Trailhead. I head created myDomain successfully.
Now I am creating HelloWorld component and application using Developer Console. I found out that there is no Preview button. So, I can't preview the script.
I tried to open other scripts (Visualforce pages and Classes), the Preview button is there. Only for Lightning component and Lightning application, the Preview button is disappear.
Did I miss some step(s) ?
Thanks you for helping me
Ai
I just started with 'Lightning Componenets' module in Trailhead. I head created myDomain successfully.
Now I am creating HelloWorld component and application using Developer Console. I found out that there is no Preview button. So, I can't preview the script.
I tried to open other scripts (Visualforce pages and Classes), the Preview button is there. Only for Lightning component and Lightning application, the Preview button is disappear.
Did I miss some step(s) ?
Thanks you for helping me
Ai
The Preview button is in a different place for Lightning Apps. It's on the right side instead of the top left. Also, the preview button will only show on the .app and not your .cmp.
You can also just load the app using the url <yoursalesforceinstanceURL>/c/<yourappname>.app
Hope this helps.
Thanks,
Nathan
All Answers
The Preview button is in a different place for Lightning Apps. It's on the right side instead of the top left. Also, the preview button will only show on the .app and not your .cmp.
You can also just load the app using the url <yoursalesforceinstanceURL>/c/<yourappname>.app
Hope this helps.
Thanks,
Nathan
Thank you for your reply, yes I saw it now :)
Ai