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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.12.2017, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
23,737 / 802 (74) +++++++
Регистрация: 28.10.2006
a33ik: How to import project from one model to another (D365FO)
Источник: http://daxonline.org/1607-how-to-imp...er-d365fo.html
==============

Hello, Imagine a situation when you have a project that you developed in your own environment in some model. Then you need to import your project into another machine into a certain model (such design rules or something else that forces you to do this).
And then we do not know how to do it, because if we use the standard import method, then our project will load into the source model, and if it does not exist, then it will create it.
There are two ways to get out of this situation:
  1. Download the project in a standard way, and then create a project in the model you want and duplicate all the elements from AOT that were in the imported project in your project. Well, then delete the elements and the project that you imported, Build, Sync and rename duplicate elements
  2. Move metadata items.
Imagine what we need to export project1 from "Model 1" to "Model2".
  • Export the project from one system.
  • Import the project into another system.
  • Go to the ...AOSService \ PackagesLocalDirectory \ "Model 1" \ folder and move the metadata of the items to the same directory for "Model 2".
  • Go to the ...AOSService \ PackagesLocalDirectory \ "Model 1" \ XppMetadata \ "Model 1" \ folder and move the metadata of items to a similar directory for "Model 2".
Now you need to set up a new project. Open the VS and create a new project in "Model 2".
  • Go to the folder of the new project and find the .rnrproj file. The same file is found in the folder of the imported project. And then we set up our project, that is, we tied the moved elements to it. Example:
Debug 2.0 Model2 False False initial AnyCPU bin v4.6 False False true false {YourGUID} ProjectForModel2 ProjectForModel2 StartupClass Class Content StartupClass Classes\StartupClass Newtonsoft C:\Users\Administrator\Documents\Visual Studio 2015\Projects\Newtonsoft\Newtonsoft\bin\Debug\Newtonsoft.dll
Usually, in this file, most of the settings are given by the project, the only thing you need to change is to copy the block , and . After that, you can delete the imported project.
  • Open your new project in VS. Build and Sync it.
That's all. I would very appreciate some information about the logical explanation of how the metadata are placed in the file system in D365FO. Thanks
Resource: https://daxdevblog.blogspot.com/2017...-you-have.html

Источник: http://daxonline.org/1607-how-to-imp...er-d365fo.html
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
stoneridgesoftware: Dynamics 365 for Operations: How to Create a New Model Blog bot DAX Blogs 0 11.02.2017 01:11
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
atinkerersnotebook: Using Service Management to Track Service Orders Blog bot DAX Blogs 1 25.08.2013 19:16
emeadaxsupport: Intercompany time postings incomplete at transaction voucher level when project date differs from the day posted Blog bot DAX Blogs 0 19.08.2013 19:11
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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