POWEROBJECTS

718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

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

export a theme

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.

export a theme

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.

export a theme

3. Click Add Columns

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

export a theme

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

export a theme

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.

export a theme

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.

export a theme

6. Select Type.

7. Select Equals.

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

export a theme

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.

export a theme

export a theme

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.

export a theme

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

export a theme

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.

export a theme

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.

export a theme

export a theme

export a theme

All that is left is to Publish your new theme.

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

export a theme

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!

Avatar for Joe D365

Joe D365

Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.