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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.07.2017, 06:15   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
waldo: Create an offline Development Preview – enable the in-client visual designer
Источник: https://dynamicsuser.net/nav/b/waldo...isual-designer
==============

You might remember this post:

http://www.waldo.be/2017/02/20/make-...local-machine/

Well, back in those days, I might have forgotten a few bits ;-). Namely to enable the in-client visual designer. Well, there is not much to it – you can simply edit the web.config-file, and add the designer-attribute in it.. . With PowerShell, you can do it with:

Код:
$NAVWebConfigFile = "C:\inetpub\wwwroot\Navision_main\Web.config"
$NAVWebConfig = [xml](Get-Content $NAVWebConfigFile)
$designerKey = $NAVWebConfig.SelectSingleNode("//configuration/DynamicsNAVSettings/add[@key='designer']")
if ($designerkey) {
    $designerkey.value = "true"
} else {
    $addelm = $NAVWebConfig.CreateElement("add")
    $keyatt = $NAVWebConfig.CreateAttribute("key")
    $keyatt.Value = "designer"
    $addelm.Attributes.Append($keyatt) | Out-Null
    $valatt = $NAVWebConfig.CreateAttribute("value")
    $valatt.Value = "true"
    $addelm.Attributes.Append($valatt) | Out-Null
    $NAVWebConfig.configuration.DynamicsNAVSettings.AppendChild($addelm) | Out-Null
}
$NAVWebConfig.Save($NAVWebConfigFile)
So I added this to the original scripts.

So, what are the steps again to create a local environment from this wonderful “New Developer Preview”?

This is what I would suggest:

  1. Create a VM with http://aka.ms/navdeveloperpreview (if you haven’t already done so..)
  2. On that VM, execute this script. It will create some files that you need to copy to your own environment (wherever you want to install de preview – best is to use a new, clean VM). The files should end up on the C-drive, in the folder “C:\_Installs”
  3. On your new environment, execute this script. That is going to install all the bits and pieces to your new environment. (You’ll see it’s going to execute the snippet above as well)
  4. Enjoy your new local development environment!
Is there no other way?

Sure .. If you like to click al lot – you can do this quite manually as well. I suggest you look at the video that Mark just created.




Источник: https://dynamicsuser.net/nav/b/waldo...isual-designer
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Последний раз редактировалось mazzy; 06.07.2017 в 12:03.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 SP1 Blog bot Dynamics CRM: Blogs 0 11.06.2010 16:33
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2009 Blog bot Dynamics CRM: Blogs 0 04.06.2010 13:21
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics 5.0 Service Pack 1 Blog bot Dynamics CRM: Blogs 0 04.06.2010 12:51
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, время: 09:33.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.