function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manjunath reddy 36Manjunath reddy 36 

hasrecordid not works

I am using the below code, I get record id as null,harecordid not working.In lightning builder I placed my component.
 
<aura:component implements="force:hasRecordId,flexipage:availableForRecordHome,flexipage:availableForAllPageTypes " access="global" >
    Case Id is {!v.recordId}
</aura:component>

 
Rahul Rana 32Rahul Rana 32
Hi Manjunath,

I tried the same in my dev org and it is working perfectly : 
User-added image

Make sure that you are inserting the component in the record page(case record page here).

Please let me know if the problem still persists.