HOW TO change default page for BCP


The guide explains how to change default BCP page. In this case, Subscriptions page is set as default one. For setting another one change instructions accordingly.




Change landing page on Login and when clicking on Company's Logo 


Place following file on C:\Program Files (x86)\Atomia\BillingCustomerPanel\App_Data\Transformation Files and run "Recreate config files" to apply transformation from

 C:\Program Files (x86)\Atomia\BillingCustomerPanel\

<?xml version="1.0" encoding="utf-8"?>
<appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <globalSettingsList>
        <globalSetting name="HomePageController" value="MySubscriptions" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(value)" />
        <globalSetting name="HomePageArea" value="MySubscriptions" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(value)" />
  </globalSettingsList>
</appConfig>



Change page when clicking Billing button from Hosting Control Panel


Place following file on C:\Program Files (x86)\Atomia\HostingControlPanel\App_Data and run "Recreate config files" to apply transformation from

C:\Program Files (x86)\Atomia\HostingControlPanel



<?xml version="1.0" encoding="utf-8"?>
<appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
  <menusList>
    <menu menuId="apps">
      
        <menuItem name="Billing" externalURL="https://billing.dev.atomia.com/{accountID}/CustomerPanel/MySubscriptions" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(externalURL)">
        </menuItem>
      
    </menu>
  </menusList>
</appConfig>



Change page when clicking Billing button from Admin Panel


Place following file on C:\Program Files (x86)\Atomia\AdminPanel\Transformation Files and run "Recreate config files" to apply transformation from

C:\Program Files (x86)\Atomia\AdminPanel



<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appConfig xmlns="Atomia.Web.Base.Configs" xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
    <globalSettingsList>
        <globalSetting name="BillingControlPanelUrl" value="https://billing.dev.atomia.com/{0}/CustomerPanel/MySubscriptions" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(value)" />
    </globalSettingsList>
  </appConfig>
</configuration>