The simplest approach to changing the USD theme is to use one of three standard themes provided by Microsoft.

Theme Syntax for the Data field
Air /UnifiedServiceDesk;component/Styles/AirStyle.xaml
Blue /UnifiedServiceDesk;component/Styles/BlueStyle.xaml
Style /UnifiedServiceDesk;component/Styles/Win8Style.xaml

Update: Please note that Blue and Style have now been deprecated. (From USD v2.2 onwards.)

To apply any of these themes;

  1. Navigate to the Global Manager
  2. Goto events and select the “DeskTopReady” event.
  3. Add a new action call like the one below.

Name = “SetTheme”

Order = 1 (The order must be 1!)

Hosted Control = Your Global container

Action = SetTheme

Data = Whichever theme you want to apply from list above.

Theme1

This gives a theme like the one below.

Theme2

7 responses to “USD – Change Theme (Simple)”

  1. […] in my example below the action call is order 2. As in order 1 is used to set predefined theme. As described in my earlier post. Then action 2 is used to change the title on the […]

    Like

  2. Hi Sir,

    Missing your posts on “Microsoft Unified service Desk” 😦 “I have one question which is hover these days in my mind which is that I want to implement Reminder which is the Microsoft CRM “Announcement” inside the Microsoft USD ?

    Like

    1. How do you want the announcement to work / show in USD? I assume you mean CRM annoucements?
      I have seen code to show announcements on dashboards before. I guess you could do that. (To be honest I haven’t used the announcement entity in CRM much!)

      Like

  3. […] <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml&quot;      xmlns:mucc="clr-namespace:Microsoft.Uii.Csr;assembly=Microsoft.Uii.Csr.Core"      xmlns:control="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls;assembly=Microsoft.Crm.UnifiedServiceDesk.Dynamics"      xmlns:controlStyles="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Styles;assembly=Microsoft.Crm.UnifiedServiceDesk.Dynamics"      xmlns:usd="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Dynamics;assembly=Microsoft.Crm.UnifiedServiceDesk.Dynamics"      xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"      xmlns:usdDesktop="clr-namespace:Microsoft.Crm.UnifiedServiceDesk"      xmlns:resx="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Properties"      xmlns:usdPanelLayouts="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Dynamics.PanelLayouts;assembly=Microsoft.Crm.UnifiedServiceDesk.Dynamics"      xmlns:themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna"      xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"      xmlns:classic="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"      xmlns:shell="clr-namespace:Microsoft.Windows.Shell;assembly=Microsoft.Windows.Shell"      xmlns:usdstyle="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls.Styles;assembly=Microsoft.Crm.UnifiedServiceDesk.Dynamics"      xmlns:ProgressIndicator="clr-namespace:Microsoft.Crm.UnifiedServiceDesk.RoundProgressIndicator;assembly=Microsoft.Crm.UnifiedServiceDesk.RoundProgressIndicator"      xmlns:system="clr-namespace:System;assembly=mscorlib"> <ResourceDictionary.MergedDictionaries>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/ToolBar/Styles.xaml"/>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/Expander/Styles.xaml"/>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/ComboBox/Styles.xaml"/>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/Textblock/Styles.xaml"/>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/ScrollBar/Styles.xaml"/>   <ResourceDictionary Source="pack://application:,,,/Microsoft.Xrm.Tooling.Ui.Styles;component/Resources/Button/Styles.xaml"/>  </ResourceDictionary.MergedDictionaries> <Style x:Key="MainWindow" TargetType="{x:Type Window}" BasedOn="{StaticResource {x:Type Window}}">   <Setter Property="Background" Value="{DynamicResource WindowHeaderStyle}"/>   <Setter Property="MinWidth" Value="1024"/>   <Setter Property="MinHeight" Value="768"/>   <Setter Property="Visibility" Value="Visible"/>   <Setter Property="WindowState" Value="Normal"/>   <Setter Property="SizeToContent" Value="Manual"/>   <Setter Property="Title" Value="Neil Parkhurst Plc – Demo of USD"/>   <Setter Property="FontFamily" Value="Segoe UI" />  </Style> </ResourceDictionary>As described in my earlier post. […]

    Like

Leave a comment

Trending

Website Powered by WordPress.com.