Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Dynamics 365 Business Central Development Quick Start Guide

You're reading from   Dynamics 365 Business Central Development Quick Start Guide Modern development techniques for Dynamics 365 Business Central

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789347463
Length 224 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Stefano Demiliani Stefano Demiliani
Author Profile Icon Stefano Demiliani
Stefano Demiliani
Duilio Tacconi Duilio Tacconi
Author Profile Icon Duilio Tacconi
Duilio Tacconi
Arrow right icon
View More author details
Toc

Developing the extension


We've structured our project folder as follows:

We have an Src folder and under that we have a subfolder for every functionality and then for object type.

The name of each AL file is created using Microsoft's naming guidelines:

  • Each file name must start with the corresponding type and ID, followed by a dot for full objects or a dash for extensions:
    • Full objects: <Type><Id>.<ObjectName>.al, such as Tab.50100.MyTable.al
    • Extensions: <Type><BaseId>-Ext<ObjectId>.<ObjectName>.al : page 50100 MyPage extends Customer Card such as Pag21-Ext50100.MyPage.al
  • It is required to use a prefix or suffix for the name property of the fields in your extension. You would then use the Caption/CaptionML values for what to display to the user. This avoids the collision of fields between extensions:
    • A tag must be at least three characters
    • The object/field name must start or end with the tag
    • If a conflict arises, the one who registered the tag always wins...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime