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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.01.2019, 12:13   #1  
Blog bot is offline
Blog bot
Участник
 
22,196 / 768 (70) +++++++
Регистрация: 28.10.2006
vanvugt: How-to: Decompile your .app file
Источник: https://dynamicsuser.net/nav/b/vanvu...-your-app-file
==============



The other day we found out that some part of one of our extensions was not uploaded to our source code repository and no local version was available anymore. But we did have the .app file. I knew from extensions version 1.0 that the extension file, the .navx, was a zipped set of files. The x in .navx is pointing at this is with all office file extensions now a days. You might recall one of my old posts. As per this blog post, but then in reverse order, would I be able to unzip the .app file by changing the file extension to .zip? And subsequently use the Windows Extract All feature? Apparently not:



So, my lazy mind thought: it can't be done this way, and I asked on one of the fora I am whether there is another way of decompiling a .app file. Of course, on the Extension Management window there is the feature Download Source:



Indeed this gives you a nicely zipped file set:



But what if I really only have the .app file an nothing more? Bruno Leisibach and Peter Sørensen helped me out. Thanx, guys.

The .app file is indeed a zipped set of files. Whereas my simple trick did not work, just use a program like 7-zip and extract the files. Note however that the format of the files and the project structure is not exactly the same as when using Download Source. The app.json is now a NavxManifest,.xml (where do we know this from?).



Note

Download Source is somewhat differently implemented on NAV 2018 and Business Central:
  • On NAV 2018 you can download the source if the extension has been installed on a specific tenant
  • On Business Central it will only work when showMyCode is set to true in your extension and the extension has been built with target set to Internal.


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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
survivingcrm: What’s An “App” in Dynamics 365 Anyway? Blog bot Dynamics CRM: Blogs 0 06.01.2018 22:14
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
vanvugt: How-to: Create a Workflow Template Blog bot NAV: Blogs 0 15.05.2016 18:12
emeadaxsupport: DIXF - Importing Data - How to establish which rows you need to look at when you aren't able to import every row in your input file Blog bot DAX Blogs 0 08.10.2015 15:11
NAV Team: How to: Enable Import/Export of Bank or Payroll Files Using the Data Exchange Framework Blog bot Dynamics CRM: Blogs 0 18.10.2013 02:33
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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