0

In Community Builder, if you create audiences and assign them to page variations, you cannot deploy these using change sets, according to Considerations for Deploying Communities with Change Sets. In fact, Audience doesn't even appear in the list of change set components.

On the other hand, Audience metadata can be deployed using the ant migration tool, so I was hopeful that the audience assignments would also be deployable.

Unfortunately, I haven't had success in deploying any audience assignments, either for entire pages or for components on a page. Has anyone found a workaround for deploying audience assignments for Community Builder pages? I should say that I'm using the Build Your Own template.

If it can't be deployed, is there at least a way to get a list of audience assignments so I don't have to open every single page in the Community Builder to check?

Here's what I'm using in my package.xml manifest. All the community builder page variations and all the audiences are created correctly, but the assignments are not.

<types>
    <members>*</members>
    <name>Audience</name>
</types>
<types>
    <members>*</members>
    <name>CustomSite</name>
</types>
<types>
    <members>*</members>
    <name>SiteDotCom</name>
</types>
  • just to clarify, you mean a page variation with its assigned audience? – glls May 6 at 21:49
  • Yes, a page variation with its assigned audience, but also an assigned component within a page. I've edited my post to include that. – David Cheng May 6 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.