Dynamics Business Central / NAV Developer Digest - Vol. 460
ArcherPoint’s Developer Digest focuses on Microsoft Dynamics 365 Business Central and Dynamics NAV development. This week’s volume addresses an update on the AllowInCustomization property in Business Central 2023 Wave 2, troubleshooting VS Code from the web client, and coding for indirect permissions.
The Dynamics 365 Business Central community comprises professionals devoted to advancing the success of their customers. Developers, project managers, and consultants collaborate to share helpful information across blogs, forums, and social media sites. From discovering new solutions to finding answers to complex issues, these dedicated individuals are constantly sharing their knowledge with others. At ArcherPoint, we recognize and appreciate this highly engaged community’s creativity, hard work, and collective intelligence. To ensure all users can benefit from their expertise, we want to share their wealth of information with everyone.
Update on the AllowInCustomization property
As we discussed in Developer Digest 449, the AllowInCustomization property permits developers to define whether a field can be used as source expression for new page fields in page customizations. Now that Dynamics 365 Business Central 2023 Wave 2 has been released, Stefano Demiliani clarifies how to use this feature.
Troubleshooting VS Code from the web client
Saurav Dhyani explains a new feature in Business Central that makes life easier for developers trying to debug BC environments. The button, “Explore page in Visual Studio Code”, will connect a user using the web client to the current environment and user session for troubleshooting. This technique works on both sandbox and production environments. Users can choose to investigate, which allows the user to browse objects, or debug, which allows breaking on error.
Coding for indirect permissions
Many developers have the problem where an API does not work due to indirect permission errors. Indirect permissions can be identified by looking at a user’s Effective Permissions. Indirect permissions will grant the user permissions but require the object the user is invoking also has the proper permissions.
Erik Hourgaard describes what indirect permissions are, how to use them in AL coding, and offers a word of warning about indirect permissions.
Watch his video, What’s the story with indirect permissions in Business Central?
Interested in Dynamics NAV and Business Central development? Be sure to see our collection of NAV/BC Development Blogs.
Read “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics NAV and Dynamics 365 Business Central.