PnP-Provisioning-Schema icon indicating copy to clipboard operation
PnP-Provisioning-Schema copied to clipboard

Token for internal site name missing

Open melvinschenker opened this issue 1 year ago • 2 comments

Hello I need to get the correct site name for creating a webpart which includes the group email address. Because there is no token for this available in the current token list: https://github.com/pnp/PnP-Sites-Core/blob/master/Core/ProvisioningEngineTokens.md, I wanted to combine {sitename}@mytenant.com, but there is no token matching the real site name. ( {webname} returns null, {sitetitle} is the same as {sitename} ...) Does anyone already had this problem? How can I get or combine the group mail address?

melvinschenker avatar Mar 09 '23 15:03 melvinschenker

A bit old I know but did you try "{groupsitetitle}"?

BaronSparky avatar Nov 23 '23 16:11 BaronSparky

@BaronSparky This doesn't work. With this token I'll get the same as {sitename} - only the display name of the Site, and not the internal name.

melvinschenker avatar Jan 10 '24 10:01 melvinschenker