Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

Опции темы Поиск в этой теме Опции просмотра
Старый 16.12.2017, 00:13   #1  
Blog bot is offline
Blog bot
25,336 / 844 (79) +++++++
Регистрация: 28.10.2006
powerobjects: 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

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.

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.

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

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

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.

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.

6. Select Type.

7. Select Equals.

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

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.

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.

You will see that our View has all of the columns required by the 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.

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.

All that is left is to Publish your new theme.

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

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!

Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
powerobjects: Restore from a Dynamics 365 Online Instance Backup Blog bot Dynamics CRM: Blogs 0 23.10.2017 20:13
survivingcrm: From MS CRM to Dynamics 365 Customer Engagement Blog bot Dynamics CRM: Blogs 0 04.07.2017 12:11
atinkerersnotebook: Using Export To Excel in Dynamics AX to Create Reporting Data Sources Blog bot DAX Blogs 1 12.10.2013 01:13
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 10 Blog bot Dynamics CRM: Blogs 0 17.08.2012 03:27
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 7 Blog bot Dynamics CRM: Blogs 0 27.03.2012 02:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Часовой пояс GMT +3, время: 03:24.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.