You need to sign in to do that
Don't have an account?
Admin User 10161
Get fields of actual record in a Lightning Component
Hi there,
I have created an Aura Lightning Component which is button that opens an hyperlink.
I want to get the URL from current record of "Lead" via a custom field in called "URL__c". I have tried to use "force:hasRecordId" but I am not able to get the value.
Here is my implementation of my lightning component:
I have created an Aura Lightning Component which is button that opens an hyperlink.
I want to get the URL from current record of "Lead" via a custom field in called "URL__c". I have tried to use "force:hasRecordId" but I am not able to get the value.
Here is my implementation of my lightning component:
<aura:component implements="lightning:availableForFlowScreens" access="global"> <center><ui:button label="Open Opportunity" press="{!c.openActionWindow}"/></center> </aura:component>
({ openActionWindow : function(component, event, helper) { window.open("{!v.URL__c}"); } })
Best Answer chosen by Admin User 10161
MagulanDuraipandian
Check this - http://www.infallibletechie.com/2020/05/how-to-pass-record-id-in-flow-to.html