+ Start a Discussion
prasad bdsprasad bds 

when i am clicking preview button in lightning application , it is opening a blank page, it is not giving any preview, my domain i perfectly depoyed but it is not getting the preview

Annu ChoudharyAnnu Choudhary
Hi Prasad,
I think some error getting in your code when the component is load. Can you please share your code snippet.
prasad bdsprasad bds
my component  code
<aura:component >
    <aura:attribute name="empname" type="string" />
    <aura:attribute name="salary"  type="decimal" default="10000" />
    <aura:attribute name="age" type="integer" required="true" />
    <aura:attribute name="course" type="string" description=" name of the course" />
    name :{! v.empname}<br/><br/>
    salary :{!v.salary}<br/><br/>
    age :{!v.age}<br/><br/>
    course :{!v.course}

application code
<aura:application >
    <c:attribute_one empname="satya" age="30" course="sfdc" />

Annu ChoudharyAnnu Choudhary
Hi Prasad,
It's working fine in my org can you confirm that you deployed your domain. logged in your org by that domain (url) and then check it should be work.
If it works for you please select as the best answer that it helps others.
Annu Choudhary