getContent
Retrieves published content from an enhanced CMS workspace for an enhanced LWR site, non-enhanced LWR site, or Aura site in Experience Cloud.
To get Salesforce CMS content from a non-enhanced CMS workspace for an Aura or non-enhanced LWR site, use the lightning/cmsDeliveryApi
module listContent
wire adapter instead.
With channelId
parameter:
With siteId
parameter:
channelOrSiteId
— (Required) The ID for the enhanced LWR site on which you want to use CMS content.contentKeyOrId
— (Required) The content key or content ID for the CMS content that you want to use on your enhanced LWR site.
data
—Managed Content Delivery Documenterror
—FetchResponse