If you want to develop business applications (extensions) for Microsoft Dynamics 365 Business Central on AppSource, you have to request and register 3-Character prefix/suffix code for your organization with Microsoft. Dynamics 365 Business Central team will then reserve this code for you and you have to use this code for apps development.
For example, we had registered “INT” as our company’s unique code.
Here are some points to keep in mind about this unique prefix/suffix code.
- Object prefix must be registered with Microsoft (at least 3 digits) and must be unique (it’s globally reserved for you)
- It can be a prefix or a suffix i.e., you can call an object XXXMyTable or MyTableXXX
- You have to use it for every objects in your extension
- This is not case sensitive i.e., you can call an object XXXMyTable or xxxMyTable
- You can use the prefix in any format you want. So, XXX_MyTable, XXX-MyTable, XXX.MyTable, XXX MyTable etc. are all valid names.
- You can register more than one prefixes. So, you can have a prefix per app but a specific prefix for a company is preferred.
- Functions in your extension objects cannot have the prefix/suffix in names. The prefix is in your object name, so you can have something like XXX-MyCodeunit.MyWonderfulFunctionNameLongAsIWant() )
- If you have an extension A that depends on the extensions B and C, both B and C adds a function MyFunction to a standard table (Customer table for example), if you call Customer.MyFunction you receive an error on compilation (ambiguous call)
- If you create any extended page/table object than object name should contain it. E.g. pageextension 70144371 INT ExtendItemCard extends “Item Card”
- Use in name of field added in standard table (by extended tales object)
- Use in name of action/group added in standard page/role center, see the following example:
actions
{
All in all, Microsoft requires you to have your extension object name unique so that the conflict between n number of extensions in AppSource can be removed.
You can check out the Business Apps developed by us for Dynamics CRM and Dynamics 365 Business Central. Contact us if you need help in developing business apps on Microsoft AppSource.
- Prefix code for developing Business Apps on Microsoft AppSource - September 12, 2018
- Implement spelling checker in Dynamics NAV - January 25, 2018
- Make your work with Dynamics NAV easier with these shortcuts - March 6, 2017
- Field Level Security is now possible with NAV 2016! - March 3, 2017