I have multiple websites under a topology manager. For some of the websites i have scoped repository values and for some i dont have the values. How should i add the scoped respository values for the websites which i dont have the values.

Thanks in advance.

Thanks & Regards Harshavardhan

To Applying Site Type Keys (ScopedRepositoryKeys) to DXA Web Applications in Topology manager

Syntax:

 Add-TtmSiteTypeKey -CdTopologyId <String> -WebApplicationIds <List`1[String]> [-Key] <String> [-TtmServiceUrl <String>] [<CommonParameters>]

Examples:

--------------------------  Example 1  --------------------------

Add-TtmSiteTypeKey -WebApplicationIds Website1_RootWebApp -CdTopologyId DxaStagingLive -Key Microsite

Adds the key 'Microsite' to the chain in between Web Application 'Website1_RootWebApp' and Cd Topology 'DxaStagingLive'

--------------------------  Example 2  --------------------------

Add-TtmSiteTypeKey -WebApplicationIds Website1_RootWebApp, Website2_RootWebApp -CdTopologyId DxaStagingLive -Key Microsite

Adds the key 'Microsite' to the chain in between Web Application 'Website1_RootWebApp' and Cd Topology 'DxaStagingLive' and also the chain between 'Website2_RootWebApp' and Cd Topology 'DxaStagingLive'

To get the WebApplicationIds by Get-TtmWebApplication cmdlets command

To get the CdTopologyId by Get-TtmCdTopology cmdlets command

I hope it helps.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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