web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Multiple VBA customizations in the same Level

(0) ShareShare
ReportReport
Posted on by

Hi,

Do multiple VBA customizations in the same level (All Users) will function properly in Dynamics SL?

In my case, only the latest customization is valid and previous one, both objects and VBA event code are overwritten.

If we choose merge option while importing the customization, it will keep the screen objects but the existing VBA code is overwritten.

With this scenario, how can we deploy multiple customizations from different sources into the same level?

Are there any other options to do this?

Thanks

Francis Thomas

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Erich Strelow F Profile Picture
    16 on at
    RE: Multiple VBA customizations in the same Level

    The customization level are really a continuous scale. Think of it as a fretless bass.

    The standard levels are:

    • One user, customization author self ==> 500.
    • One user, named ==> 400
    • One customization group ==> 350
    • All users ==> 300.
    • Reserved for partner or Microsoft ==> 200.

    The exported customization file has a header like the following:

    ' Begin Customization Screen: CNCON00  Version: 6 Sequence: 400  UserId: "JDOE" Description: "Special tax checkbox" System Administrator: FALSE Secure: 55
    

    The sequence is the magic number. Just edit the number and choose non conflicting values.

    If you have two All users customization in the same screen, just tag them as 300 and 301. The one tagged 300 will load first. The one tagged 301 will load later and may access objects created in the 300 one. Everything between 300 and 349 will behave as an all users customization.

    In fact, you should plan your customization deployment allocating sequence values to each one considering the loading scenario. Since higher sequence customizations load later, they may override changes made by lower sequences. If you have more than one developer or vendor, you can assign predefined ranges to each one.

  • Community Member Profile Picture
    on at
    RE: Multiple VBA customizations in the same Level

    Hi Erich,

    Thanks for the quick response.

    With our SL2015 system, the VBA customization is not active if the sequence number is changed.

    I tried the sequence number change in CustomVBA table and while importing the customization using the view option.

    The customization import did not give any error.

    We have BSL customizations which work fine with non-standard sequence number.

    Any thoughts?

    Francis

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans