Tag: Development

Business Central Isolated Storage: Keep Out of my Data!

Microsoft Dynamics 365 Business Central Application Developers often need to store sensitive information their application uses. In earlier Dynamics NAV versions, developers often saved this data in table fields. The table field values were accessible to any other application or user that had access to the table. Information such as API keys, user credentials, or …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/business-central-isolated-storage-keep-out-of-my-data/

Do Cops write tickets in AL?

The AL Language extension (the language for developing applications for Microsoft Dynamics 365 Business Central) contains four code analyzers for analysis of your code at build time. The AppSourceCop analyzer enforces rules for extensions intended for listing in Microsoft AppSource. Whereas the CodeCop analyzer enforces AL Coding Guidelines and the UICop analyzer enforces rules for …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/do-cops-write-tickets-in-al/

Make life easier with Visual Studio Code Snippets

Snippets in Visual Studio code are templates that make it easier to enter repeatable code patterns or blocks. They’re a helpful timesaver when developing applications. I have found significant time savings within Business Central with Snippets for page and table field templates. Visual Studio Code has several built-in Snippets, extension publishers may include Snippets, and …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/make-life-easier-with-visual-studio-code-snippets/

Business Central AL ModuleInfo

In the AL Language, the programming language behind Microsoft Dynamics 365 Business Central, the ModuleInfo Data Type provides information about an application. I have often used the ModuleInfo returned by the NavApp to check specific application version information.The NavApp DataType includes information about a NavApp and has a few methods that retrieve a ModuleInfo for …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/business-central-al-moduleinfo/

Add Elements to the Role Explorer

Using the “Role Explorer” in Microsoft Dynamics 365 Business Central, you can get an overview of the features available to your Role. Each of the “Role Explorer” elements is an action, and a means to navigate Microsoft Dynamics 365 Business Central (I have heard this many times referred to as a “menu”).Elements can be added …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/07/add-elements-to-the-role-explorer/

Validate field pattern with Regular Expression in Dynamics 365 Business Central

When accepting user input in a field, it may be necessary to validate that the value matches a particular pattern. In early versions of Microsoft Dynamics NAV, you could use the RegEx dotNet libraries to validate input against a regular expression. The RegEx dotNet libraries are not directly available in Dynamics 365 Business Central; however, …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/06/validate-field-pattern-with-regular-expression-in-dynamics-365-business-central/

Set A Windows Service Log On Account and Password with PowerShell

Repeatability is important! Right alongside that, in my opinion, is efficiency. A recent task required me to set up several Application Services setups, including setting the log on account and password. I could have done all of these manually; however, I found it more efficient and repeatable to set up a script to handle the …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/06/set-a-windows-service-log-on-account-and-password-with-powershell/

Add Twitter Card to WordPress without Plugin

Reading this blog, one may think I focus on WordPress development and enhancements. That is not the case by any means. The focus of my career focused on the implementation of Microsoft Dynamics 365 Business Central. The concept behind this blog is to share bits of [technical] “stuff” that I encounter on my journey. The …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/05/add-twitter-card-to-wordpress-without-plugin/

Delete files within subfolders older than a certain period using PowerShell

Delete Key In Blue

In keeping true to the concept of this blog, “Follow the life of an ERP developer, one post at a time,” this post allows you to “follow” something that I needed to crush – deleting files older than a specific number of days or hours including subfolders. Many moons ago, I created an application that …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/05/delete-files-within-subfolders-older-than-a-certain-period-using-powershell/

Change WordPress Login Page without a PlugIn

WordPress is the most popular way to create your website or blog. It is an open-source content management system that allows you to manage important aspects of your website without knowing anything about programming. WordPress also supports plugins, which are small applications that work within the software framework to offer additional functionality.  This blog is …

Continue reading

Permanent link to this article: https://www.dvlprlife.com/2022/05/change-wordpress-login-page-without-a-plugin/