• Unirse
  • Login
  • España
    • Global
    • Belgique - Français
    • België - Nederlands
    • Danmark
    • Deutschland
    • France
    • Italia
    • Nederland
    • Norge
    • Österreich
    • Polska
    • Schweiz
    • Sverige
    • United Kingdom
  • Global Global Global en
  • Belgique - Français Belgique - Français Belgique - Français fr-be
  • België - Nederlands België - Nederlands België - Nederlands be
  • Danmark Danmark Danmark da
  • Deutschland Deutschland Deutschland de
  • España España España es
  • France France France fr
  • Italia Italia Italia it
  • Nederland Nederland Nederland nl
  • Norge Norge Norge no
  • Österreich Österreich Österreich at
  • Polska Polska Polska pl
  • Schweiz Schweiz Schweiz ch
  • Sverige Sverige Sverige sv
  • United Kingdom United Kingdom United Kingdom en-uk
QBS group
Menu
  • Info Centre
    • Blogs
    • Events
    • News
    • References
    • Training
    • Close
  • Solutions
  • Servicios
    • Ready to Go para Dynamics 365 Business Central
    • Take the Lead
    • Servicios de actualización
    • QBS Academy
    • QBS Azure Services
    • Close
  • Programa para Partners
    • Ser partner
    • CSP Indirecto
    • Programa ISV
    • Nuestros partners
    • Close
  • Sobre nosotros
    • Visión, Misión y Estrategia
    • Trabaja con nosotros
    • Historia
    • Close
  • Contactar
Blog escrito por:

Jan Boes

Blog escrito por:10 minutes
Compartir esto:
  • Compartir en Facebook
  • Compartir en Twitter
  • Compartir en Google+
  • Compartir en Linkedin
  • Compartir por correo
23 febrero 2017

Part 2 – Microsoft Dynamics Development Preview

Tú estás aquí: Inicio » Part 2 – Microsoft Dynamics Development Preview

Microsoft released during last Christmas an Azure Virtual Machine where you can play around with the new Development Environment.

This is the second blog about the development environment. If you want to know how to create your environment, please read my first blog on this subject.

This blog will describe the way you can create new tables and pages.

For this blog I have used the January update. Additional information about this update can be found on the NAV Team Blog.

To get started I removed a complete resource group, and create a new VM.
You can download a new VM here.

The deployment will start and will take some time to finish. In the end, you will see the VM with additional stuff.

Start an RDP session and open Visual Studio Code.

To create a new package execute the following steps:

  • Create a new folder
  • Select this folder in Visual Studio Code
  • Create a new file called “HotelSetup.al”
  • Create app.json file
    Hit [F5] and update the app.json file. Store it on a safe place (preferably in a source control system like TFS or GIT) because the ID is unique and should be used throughout the life cycle of your product.

Update the development environment (the list is displayed in the top of the window)

  • Create launch.json file
    Hit [F5] again and the launch.json file will be created
  • As you will see in the output window the empty package file is created

Our package is ready and now it is time to add some code. As you saw I created a new file hotelsetup.al this should contain a NAV setup file.

In the old development environment this was easy:

Well in the new development, it is also quite simple. When you type ‘ttable’ and press enter the table snippet will be executed and the table framework will be there.

Now, it is up to you to create the code, there is not much changed here, it is plain and simple AL as you are used to.

I gave the table a number and name, added the fields and update the primary key information.

Next step is to create the properties like Caption ML and table relations. Just start typing and you will see the snippets.

At the end you will have a perfect created table and you can press [F5] to publish your app.

Next step is to create the setup page. In the old development environment it is done via the page wizard.

In the new development environment use the ‘tpage’ snippet to create a page framework.

It takes some time, but in the end you will get the job done.

So finished?

Not really, it is a setup table. You need to add code to the OnOpenPage trigger and to the Company Initialization codeunit.

The OnOpenPage trigger is the same as you are used to.

And now the fun part: make an extension to Codeunit 2 Company Initialize.

This is only possible in the January version!

Hit [F5] to publish the app and you are done!

Más artículos

Esto también le puede interesar

Qué opinan sobre QBS group

  • ANA RUIZ ILLANA

    Directora de Marketing de Intuit (Ingravika)

    "Nuestro ratio de efectividad con Take The Lead es por el momento del 100%. Los leads que hemos recibido son ahora clientes"

    Read the reference case
  • Ferry Schrijnewerkers

    Owner en Co-founder at MKB365

    Since the start of our company 4 months ago, we have already completed 12 Dynamics 365 for Sales implementations.

    Read the reference case
  • Read the reference case
  • Joaquim Antón Gimeno

    GRUPO CHOICE

    "Nuestra relación con QBS group nos permite mejorar nuestra estrategia de Marketing."

    Read the reference case
  • "Nuestra alianza con QBS group ha sido fundamental para el desarrollo de nuestra estrategia de negocio."

    Read the reference case
  • "QBS group nos ayuda a construir el camino hacia el éxito."

    Read the reference case
  • Berith Skov

    “Estamos muy satisfechos con los servicios que ofrece o gestiona QBS group."

    Read the reference case
  • Ahora volvemos a formar parte de una comunidad NAV.

    Read the reference case
  • Formar parte de una comunidad más grande, transmite seguridad a nuestros clientes.

    Read the reference case
  • Adfocom - Jeroen Kersten

    Partner Care saved us a lot of time.

    Read the reference case
  • Blisss - Dirko Wijers

    Sin la ayuda de QBS group no hubiésemos tenido éxito

    Read the reference case

Programa

  • Ser partner
  • CSP Indirecto
  • Programa ISV
  • Nuestros Partners

Info Centre

  • References
  • Blog
  • Training
  • Event
  • News

Servicios

  • QBS Azure Services
  • Servicios de actualización
  • Dynamics 365 Acceleration Program
  • QBS Academy

Follow QBS group

© Copyright QBS group 2023
  • Cookie Policy
  • Privacy Policy
Democratizing Enterprise Solution Get yourself a niche, in order to be successful
We are now Companial!

This is our old website, we’re now Companial.

The content on this page might be outdated.

Enjoy all the new information on our new website.

 

Go to Companial

Please complete the form

Contact us, please complete this form

Join QBS Group, please complete this form

Join QBS Group please complete the form

Sign up QBS Group Membership

Send me an email.
Please complete the form


If you are not seeing the form, please check your ad-blocker settings.

Microsoft’s Power platform - Webinar 12 November 2019 - Austria

Download Center

Please complete the form

Please complete the form

Please complete the form

Register for this event
QBS
  • España
    • Global
    • Belgique - Français
    • België - Nederlands
    • Danmark
    • Deutschland
    • France
    • Italia
    • Nederland
    • Norge
    • Österreich
    • Polska
    • Schweiz
    • Sverige
    • United Kingdom
  • Info Centre
    • Blogs
    • Events
    • News
    • References
    • Training
    • Back
  • Solutions
  • Servicios
    • Ready to Go para Dynamics 365 Business Central
    • Take the Lead
    • Servicios de actualización
    • QBS Academy
    • QBS Azure Services
    • Back
  • Programa para Partners
    • Ser partner
    • CSP Indirecto
    • Programa ISV
    • Nuestros partners
    • Back
  • Sobre nosotros
    • Visión, Misión y Estrategia
    • Trabaja con nosotros
    • Historia
    • Back
  • Contactar

This website uses Cookies to give you the best experience. Agreed by clicking the 'Accept' button. After you've clicked on "Accept" you accept Privacy Policy

Desplazarse hacia arriba