Quantcast
Channel: Get object apiname based on recordid in lightning web component - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 3

Answer by sfdcfox for Get object apiname based on recordid in lightning web component

$
0
0

You can use getRecord and pass in the recordId parameter to get the Record response, which includes the apiName property. You still will need a call to the server, but you won't need any Apex.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>