Newer Version Available
Managed Content Variant Update Input
- Root XML tag
- <managedContentVariantUpdateInputRepresentation>
- JSON example for version 60.0 and later
-
1{ 2 "title":"Title of Document", 3 "urlName":"test-url", 4 "contentBody" : { 5 "bannerImage": { 6 "source": { 7 "type": "imageReference", 8 "ref": { 9 "contentKey": "MCZOCY2AM5PFBADN5UDRB53TLXR4" 10 } 11 } 12 }, 13 "excerpt":"this is test excerpt", 14 "body":"<p>Test body</p>" 15 } 16} - JSON example for version 54.0–59.0
-
1{ 2 "title": "My Updated Title", 3 "urlName": "my_updated_url_name", 4 "contentBody": { 5 "bannerImage":"MCZOCY2AM5PFBADN5UDRB53TLXR4", 6 "featuredEvent":"MCZOCY2AM5PFBADN5UDRB53TLXR4", 7 "excerpt":"this is my updated excerpt", 8 "body":"<p>Test updated body</p>" 9 } 10} - Properties
-
Name Type Description Required or Optional Available Version apiName String API name of the managed content variant. Optional 63.0 contentBody Managed Content Body Input in version 60.0 and later Map<String, Object> in version 54.0–59.0
Body of the managed content variant. Optional 54.0 title String Title of the managed content variant. Optional 54.0 urlName String URL name of the managed content variant within the org. Optional 54.0