Apr 13 2017 07:44 AM
Does PnP support specifying the target audience when deploying webparts on a page?
Apr 15 2017 10:47 AM
Hi David,
good question have not seen it yet maybe you can add it to the issue list of PNP if you need it.
Kr,
Paul
Apr 18 2017 07:46 AM
I 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.