Pre-requisites



Installed Atomia HCP


Customization


To make changes on default HCP dashboard we have to modify C:\Program Files (x86)\Atomia\HostingControlPanel\bin\Atomia.Web.Plugin.Dashboard.dll.config file. In order to do it right we need to make appropriate transformation file.


To remove Quick Guide from dashboard:


Create transformation file  C:\Program Files (x86)\Atomia\HostingControlPanel\bin\Transformation Files\Atomia.Web.Plugin.Dashboard.dll.QuickGuide.config with following content

 

<configuration>
	<appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
		<partialsList>
			<controllerViewData>
				<containers>
					<!--We remove quick guide from dashboard-->
					<partials id="8832125" xdt:Locator="Match(id)" xdt:Transform="Remove" />			
				</containers>		
			</controllerViewData>
		</partialsList>
	</appConfig>
</configuration>

 



or to remove Database section from dashboard:


Create transformation file C:\Program Files (x86)\Atomia\HostingControlPanel\bin\Transformation Files\Atomia.Web.Plugin.Dashboard.dll.Database.config with following content

 

<configuration>
	<appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
		<partialsList>
			<controllerViewData>
				<containers>
					<!--We remove Database section from dashboard-->
					<partials id="6060584" xdt:Locator="Match(id)" xdt:Transform="Remove" />			
				</containers>		
			</controllerViewData>
		</partialsList>
	</appConfig>
</configuration>


Activation



Apply changes to HCP with executing in PS

 

Start-Process "C:\Program Files (x86)\Atomia\HostingControlPanel\Recreate config files.lnk"