How to Export a Theme from One Dynamics 365 Org to Another

Themes 300x225 How to Export a Theme from One Dynamics 365 Org to Another

You may have noticed you can now create your own Themes in Dynamics 365. Of course as good admins, we do not make these changes within our PRODUCTION environment, unless we have no choice. Rather we make all of our changes within our DEVELOPMENT environment, and then export our change solution and import into our PRODUCTION environment. You may have noticed that you cannot add Themes to a solution. Well, this creates a little bit of an issue. Luckily, our friends at Microsoft have added a nifty feature to export a theme and import a theme from one org to another.

One caveat is that the export of a theme is accomplished through the use of the Export to Excel functionality within Dynamics 365. As luck would have it, in the themes area of Dynamics 365 we have an Export to Excel button (see figure 1.0).

Figure 1.0

121517 1605 HowtoExport1 How to Export a Theme from One Dynamics 365 Org to Another

Clicking that button only exports the field values that are shown in the Themes view. Which as you can see in the above image are only the Theme Name, Type, and Default theme. Unfortunately, this view does not contain the fields that hold that data we need…darn. BUT have no fear, because we are here to show you the way to overcoming this obstacle…to the D365 Cave!

The first thing we need to do is to create a view that will provide us with the data fields that the theme uses to produce all these cool colors.

1. Click the View selector and select Create Personal View.

121517 1605 HowtoExport2 How to Export a Theme from One Dynamics 365 Org to Another

Next, we need to add the Columns that hold the data for the Theme. To do this complete the following.

2. Click on Edit Columns

  • This will pop up a window where we can edit the view we are creating.

121517 1605 HowtoExport3 How to Export a Theme from One Dynamics 365 Org to Another

3. Click Add Columns

  • This will pop up a window where we can select the columns to add to our view.

121517 1605 HowtoExport4 How to Export a Theme from One Dynamics 365 Org to Another

4. Select the following Columns; then click OK.

  • Accent Color for Mobile Client
  • Control Border
  • Control Shade
  • Default Custom Entity Color
  • Default Entity Color
  • Global Link Color
  • Header Color
  • Hover Link Effect
  • Logo
  • Logo Tooltip
  • Navigation Bar Color
  • Navigation Bar Shelf Color
  • Selected Link Effect

121517 1605 HowtoExport5 How to Export a Theme from One Dynamics 365 Org to Another

I would suggest putting the columns into this order, left to right, as this is how they read from the Theme input screen.

  • Theme Name
  • Type
  • Default Theme
  • Logo
  • Logo Tooltip
  • Navigation Bar Color
  • Navigation Bar Shelf Color
  • Header Color
  • Global Link Color
  • Selected Link Effect
  • Hover Link Effect
  • Accent Color for Mobile Client
  • Default Entity Color
  • Default Custom Entity Color
  • Control Shade
  • Control Border
  • Background Color

Select the column and then use the left and right arrows within the common tasks box of the window to move the columns.

121517 1605 HowtoExport6 How to Export a Theme from One Dynamics 365 Org to Another

Once you are finished with moving the columns; click OK.

One additional thing you can do is to filter your theme view to only include custom themes

5. Click on Select.

  • If you do not see “Select,” please click Details.

121517 1605 HowtoExport7 How to Export a Theme from One Dynamics 365 Org to Another

6. Select Type.

7. Select Equals.

8. Click on the button and select Custom; click OK.

121517 1605 HowtoExport8 How to Export a Theme from One Dynamics 365 Org to Another

Now our view will only display the themes that are custom.

I would suggest saving your view at this time in case you ever need to export a theme again.

9. Click Save As in the Ribbon

  • A popup window will appear. Name your view and add a description. Then click OK.

121517 1605 HowtoExport9 How to Export a Theme from One Dynamics 365 Org to Another

121517 1605 HowtoExport10 How to Export a Theme from One Dynamics 365 Org to Another

Now we have a view that will contain all of the data our theme requires to be exported and imported.

If you click the view selector again we now see our new view. Select our new view.

121517 1605 HowtoExport11 How to Export a Theme from One Dynamics 365 Org to Another

You will see that our View has all of the columns required by the Theme.

121517 1605 HowtoExport12 How to Export a Theme from One Dynamics 365 Org to Another

Next, we need to Export our Theme.

10. Click the Export to Excel button on the ribbon.

  • The excel file will be found in your Downloads folder.

121517 1605 HowtoExport13 How to Export a Theme from One Dynamics 365 Org to Another

Next, we need to go to our PRODUCTION environment and import our theme.

11. Click the Import Data button in the ribbon

  • This will open a window. Click the Choose File button. Navigate to your Downloads folder and select your excel file. Click Next. Click Submit. Click Finish.

121517 1605 HowtoExport14 How to Export a Theme from One Dynamics 365 Org to Another

121517 1605 HowtoExport15 How to Export a Theme from One Dynamics 365 Org to Another

121517 1605 HowtoExport16 How to Export a Theme from One Dynamics 365 Org to Another

All that is left is to Publish your new theme.

12. Select your Theme; then click publish on the ribbon.

121517 1605 HowtoExport17 How to Export a Theme from One Dynamics 365 Org to Another

There you have it! Now you know how to export a theme and import a theme from one org to another – yay! For more helpful tips and tricks for Dynamics 365, be sure to check out our blog and subscribe.

Happy Dynamics 365’ing!

Let’s block ads! (Why?)

PowerObjects- Bringing Focus to Dynamics CRM