locked
Custom DSS Control Panel RRS feed

  • Question

  • Is it possible to customize the dss control panel?  How would I do this?

    For example instead of saying  "Microsoft Robotics"  I would want a company name and logo.

    The menu on the left has developer resources, About Micorosft Robotics, etc  I would want to customize this with my own menu items.

    I would want to customize the control panel.  Etc.

    Thanks

     

    Saturday, October 30, 2010 7:40 PM

Answers

  • I found the answer here

    http://msdn.microsoft.com/en-us/library/bb608245.aspx

     

    <add key="Microsoft.Dss.Core.DefaultRuntimeResources" value="DssBranding.dll" />

    Create a resource dll with Brand.xml and Navigation.xml embedded in the dll file

     

    <?xml version="1.0" encoding="utf-8" ?>
    <Brand xmlns="http://schemas.microsoft.com/dss/2008/9/brand.html">
     <Name>My Name</Name>
     <Company>My Company</Company>
     <Product>My Product</Product>
    </Brand>
    <?xml version="1.0" encoding="utf-8"?>
    
    <Navigation xmlns="http://schemas.microsoft.com/dss/2007/3/navigation.html">
     <Menu name="System Services" collapsed="False">
      <Item name="Home" link="/">
       <Description>Use the Default Target to interact with running services.</Description>
      </Item>
      <Item name="Control Panel" link="/controlpanel">
       <Description>Use Control Panel to start and stop services and browse service contract information.</Description>
      </Item>
      <Item name="Service Directory" link="/directory">
       <Description>Use Service Instance Directory to view services currently running on this node.</Description>
      </Item>
      <Item name="Debug and Trace Messages" link="/console/output">
       <Description>Use the Console service to track debug messages.</Description>
      </Item>
      <Item name="Manifest Load Results" link="/manifestloaderclient">
       <Description>Use Manifest Loader Client service to view the results of manifests loaded.</Description>
      </Item>
      <Item name="Security Manager" link="/security/manager">
       <Description>Use the Security Manager to set permissions for this node. To edit the security permissions you must have full access and access it from the same host.</Description>
      </Item>
      <Item name="Resource Diagnostics" link="/resourcemanager/diagnostics">
       <Description>Use the Runtime Resource Manager Diagnostics service to view diagnostics information about dispatchers.</Description>
      </Item>
     </Menu>
    </Navigation>
     
    Tuesday, November 2, 2010 3:32 AM

All replies

  •  

    Has anyone gotten this to work in a custom dss host?  Can you set DefaultTargetXsltPath from code?

    Any samples you could point me to?

    To set the XSLT for the home page, and all other pages not associated with any DSS service, click on the application configuration file and look for the section named appSettings and identify the line containing a key named Microsoft.Dss.Core.DefaultTargetXsltPath:

    <appSettings>
      <!-- XSLT to use for the default target -->
      <add key="Microsoft.Dss.Core.DefaultTargetXsltPath" value="/resources/dss/Microsoft.Dss.Services.Common.DefaultTarget.DefaultTarget.xslt"/>
    </appSettings>

     

    http://msdn.microsoft.com/en-us/library/cc998464.aspx

     

     

     

     

    Monday, November 1, 2010 6:48 PM
  • I found the answer here

    http://msdn.microsoft.com/en-us/library/bb608245.aspx

     

    <add key="Microsoft.Dss.Core.DefaultRuntimeResources" value="DssBranding.dll" />

    Create a resource dll with Brand.xml and Navigation.xml embedded in the dll file

     

    <?xml version="1.0" encoding="utf-8" ?>
    <Brand xmlns="http://schemas.microsoft.com/dss/2008/9/brand.html">
     <Name>My Name</Name>
     <Company>My Company</Company>
     <Product>My Product</Product>
    </Brand>
    <?xml version="1.0" encoding="utf-8"?>
    
    <Navigation xmlns="http://schemas.microsoft.com/dss/2007/3/navigation.html">
     <Menu name="System Services" collapsed="False">
      <Item name="Home" link="/">
       <Description>Use the Default Target to interact with running services.</Description>
      </Item>
      <Item name="Control Panel" link="/controlpanel">
       <Description>Use Control Panel to start and stop services and browse service contract information.</Description>
      </Item>
      <Item name="Service Directory" link="/directory">
       <Description>Use Service Instance Directory to view services currently running on this node.</Description>
      </Item>
      <Item name="Debug and Trace Messages" link="/console/output">
       <Description>Use the Console service to track debug messages.</Description>
      </Item>
      <Item name="Manifest Load Results" link="/manifestloaderclient">
       <Description>Use Manifest Loader Client service to view the results of manifests loaded.</Description>
      </Item>
      <Item name="Security Manager" link="/security/manager">
       <Description>Use the Security Manager to set permissions for this node. To edit the security permissions you must have full access and access it from the same host.</Description>
      </Item>
      <Item name="Resource Diagnostics" link="/resourcemanager/diagnostics">
       <Description>Use the Runtime Resource Manager Diagnostics service to view diagnostics information about dispatchers.</Description>
      </Item>
     </Menu>
    </Navigation>
     
    Tuesday, November 2, 2010 3:32 AM