Skip to main content
added 35 characters in body
Source Link
NoNicknameSFDC
  • 429
  • 1
  • 10
  • 21

I need to access the PageLayoutPageLayout NAME assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API? Can I get a code snippet?

I need to access the PageLayout assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API?

I need to access the PageLayout NAME assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API? Can I get a code snippet?

Removed request for code.
Source Link
David Reed
  • 93.7k
  • 14
  • 90
  • 166

I need to access the PageLayout assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API? Pls provide a code snippet.

I need to access the PageLayout assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API? Pls provide a code snippet.

I need to access the PageLayout assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API?

Source Link
NoNicknameSFDC
  • 429
  • 1
  • 10
  • 21

Access Pagelayout assigned for a profile for a object using metadata api

I need to access the PageLayout assigned for logged in user for a given Object or Record Id. This details needs to be fetched in Lightning component. I think due to security restrictions, Lightning doesn't allow sending HTTP request directly to fetch pageLayout assigned for the logged in user unless we create Connected App, Auth Providers and Named Credential. So I thought of using Metadata API. Is there a way to fetch it using Metadata API? Pls provide a code snippet.