Forum Discussion
david.calabro
Apr 13, 2017Brass Contributor
PnP Provisioning - Support for target audience in web part?
Does PnP support specifying the target audience when deploying webparts on a page?
Deleted
Apr 18, 2017I don't think it does. PnP uses the export of a webpart to import it. Webpart export doesn't include audience targeting info.
Also the schema for wikipage webpart and webpartpage webpart don't support audiences. I have seen code examples in the past on setting audience targeting with CSOM, so you could build your own provider to set this property.