I have an URL that was saved in a Text(255) field of the Custom Metadata Type. I wanted to refer this Url on to the Lightning component, to make my custom onClick() to redirect to this Url. How can I pass this URL to
Do I need to query the field in an Apex Controller class using:
Select Id, UrlField from MyPortal_Configuration_Setting__mdt
If yes, how can implement in Component's JS controller? If no, what is the valid workaround for referring URL from Custom Metadata type? Can someone take a look at this please?