1

Following from a previous question about site / tennant creation in SXA I now want to understand how/where the insert options are defined which invoke the new Tenant / new Site wizard.

This screenshot shows the insert options on the content items: enter image description here Tenant Folder is defined as an insert option on the standard values of the Tennant Folder template. However, Tennant is not and I cannot figure out where this is set up?

This is the Tennant Folder template's standard values item with the insert options dialog displayed. Notice that only Tennant Folder is here. enter image description here

Also the Insert Rules is blank so its not defined here either. enter image description here

This is not stopping me working, I just want to understand how this is set up!

1

2 Answers 2

1

It is managed through the Rules only, if the specific rules satisfied then the related Power shell script will get executed. Please find below screen for you reference.Path to the specific item is /sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Scaffolding/Content Editor/Insert Item.

enter image description here

0

You can find it in the sitecore powershell Script library

The scripts are stored at:

/sitecore/system/Modules/PowerShell/Script Library/SXA/SXA - Scaffolding/Functions/Scaffolding/Site

Please see the images below. There are Powershell scripts which are performing various functions. Creating site, removing site, etc

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.