In DXA 1.7, Unzip the all-publications.zip, then in the path /all-publications\BusinessProcessTypes
and edit the following files, 2-2548-4096.xml
and 2-2551-4096.xml
, changing this <tcm:CdTopologyTypeId>StagingLive</tcm:CdTopologyTypeId>
to the name of your Topology Type. Do the same for the other file.
If you don't have a live target, then in the file 2-2551-4096.xml
remove the following section:
<tcm:TargetType IsEditable="true">
<tcm:Data>
<tcm:Description>DXA Live</tcm:Description>
<tcm:Title>DXA Live</tcm:Title>
<tcm:Purpose>Live</tcm:Purpose>
<tcm:Priority>Normal</tcm:Priority>
<tcm:MinimalApprovalStatus xlink:type="simple" xlink:title="" xlink:href="tcm:0-0-0" />
</tcm:Data>
<tcm:Permissions>
<tcm:PermissionInfo>
<tcm:PermissionType ID="1" Title="" />
</tcm:PermissionInfo>
<tcm:Trustee xlink:type="simple" xlink:title="Site Manager" xlink:href="tcm:0-8-65568" description="Site Manager" ItemType="65568">
<tcm:Permission Type="1" Setting="Allow" />
</tcm:Trustee>
</tcm:Permissions>
</tcm:TargetType>
Then save the files, zip up the files again to the name all-publications.zip, and run the cms-import.ps1 script. You do not need to run the ttm-prepare.ps1 script.
After this, configure the (new) DXA Web publication in TopologyManager to be able to publish to the target.
For example,
Add-TtmWebsite -Id DxaSampleSite -CdEnvironmentId CDEnvStage
Add-TtmMapping -Id DxaStageMapping -CmEnvironmentId SDLWebcmsnd_landbdev2 -PublicationId tcm:0-34-1 -WebApplicationId DxaSampleSite_RootWebApp
Then you can publish the DXA site and could download the Visual Studio sample project from Jan Horsman at https://github.com/jhorsman/dxa-example-site-dotnet and start having fun.