Newer Version Available
Target Input
- Root XML tag
- <target>
- JSON example
-
1{ 2 "audienceId":"6AuRM0000004D5w0AE", 3 "groupName":"2b8bc305-d415-49f9-8e24-814455427324", 4 "priority":1, 5 "publishStatus":"Draft", 6 "targetType":"ExperienceVariation", 7 "targetValue":"ContactSupport_ContactSupportForCalifornia_Page" 8} - Properties
-
Name Type Description Required or Optional Available Version audienceId String ID of the audience to assign to the target. Required 47.0 groupName String Group name of the target. Groups bundle related target and audience pairs. You can have up to 2,000 groups and 500 targets per group. To determine the group name for targets of type ExperienceVariation, see Personalization Target Developer and Group Names in the Lightning Communities Developer Guide. Required 47.0 priority Integer Priority of the target. Within a group, priority determines which target is returned if the user matches more than one audience. Optional 47.0 publishStatus String Publish status of the target. Values are: - Draft
- Live
Optional 47.0 targetType String Type of target, indicating the nature of the data being targeted. Supported values include: - ExperienceVariation (version 47.0 and later)
- Custom object API names, such as CustomObjectName__c (version 47.0 and later)
- NavigationLinkSet (version 49.0 and later)
- Topic (version 49.0 and later)
- CollaborationGroup (version 49.0 and later)
- KnowledgeArticle (version 49.0 and later)
- ContentDocument (version 49.0 and later)
- ManagedContent (version 49.0 and later)
- Report (version 49.0 and later)
- Dashboard (version 49.0 and later)
You can have up to 2,500 ExperienceVariation targets and 25,000 record targets.
Required 47.0 targetValue String Value of the target. If targetType is ExperienceVariation, targetValue is the developer name of the experience variation. If targetType is CustomObjectName__c, targetValue is the ID of the custom object. To determine the developer name for targets of type ExperienceVariation, see Personalization Target Developer and Group Names in the Lightning Communities Developer Guide. Required 47.0