Skip to content

How to: Use the String Function in Microsoft Dynamics Business Central On Premises How to customize Dynamics Business Central or NAV using the string function

This blog provides a step-by-step guide to using the String function in Microsoft Dynamics Business Central for customizations.

  1. Open Visual Studio.
  2. Create a Code unit for the string function.
    Figure 1 – Creating a code unit for the String Function in Microsoft Dynamics Business Central
    Figure 1 – Creating a code unit for the String Function in Microsoft Dynamics Business Central
  3. Create a page extension.
    Figure 2 – Creating a page extension for the String function in Microsoft Dynamics Business Central
    Figure 2 – Creating a page extension for the String function in Microsoft Dynamics Business Central
  4. Click F5 or click on View, then Click on >AL: Publish. The Vendor page will open; go to Navigate -> vendor-> ConcateAction(Action name).
    Figure 3 – Action is added after Bank Accounts and name of the action is ConcateAction in Microsoft Dynamics Business Central
    Figure 3 – Action is added after Bank Accounts and name of the action is ConcateAction in Microsoft Dynamics Business Central
    Final output:
    Figure 4 –Output of the MAXSTRLEN Keyword in Microsoft Dynamics Business Central
    Figure 4 –Output of the MAXSTRLEN Keyword in Microsoft Dynamics Business Central

If you have any questions about Extensions or other Dynamics NAV or Business Central questions for any version, contact ArcherPoint.

Read more "How To" blogs from ArcherPoint for practical advice on using Microsoft Dynamics Business Central or NAV.

If you are interested in NAV/Business Central development, check out our collection of NAV/BC Development Blogs.

 

Blog Tags: 
Read ArcherPoint's Blog Follow us on Twitter Follow us on Facebook Follow us on LinkedIn Link to our RSS feed Watch us on YouTube
Get Help Now