Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

Customization does not get saved when form is closed. Why?

Posted on by 80

Greetings,

I have to make a customization to a form.  Not a big deal, I go in, turn on customization and make changes to the code in the form_load event.  I compile to make sure it doesn't pop up an error, save and exit.  I exit customization.  I then close the form and re-open it.  Go back into customizations and the code changes I made are not there!  Gone!

I have tried this several times with customization level being set to Self or All Users.  My user roles are set to admin.  This is Dynamics SL version 8.01.21219.00.

Any thoughts as to why my changes arent being saved?

 

  • RE: Customization does not get saved when form is closed. Why?

    We added this line of code to form1 load event and it changed the caption when the form was loaded to ‘hello’.

    Call setprop("lcaption_array_62", "text", "hello")

    So that tells us we can save code to the form1 load event without error.  At least this simple code.

    If you want to you can send a sample of your code to test on our system.

  • Kevin Ison Profile Picture
    Kevin Ison 80 on at
    RE: Customization does not get saved when form is closed. Why?

    I am trying to modify the shippers screen under order maintenance (40.110.00), in the form_load event I want to place some error trapping to allow it to close any cursors that may be open.  

  • RE: Customization does not get saved when form is closed. Why?

    Kevin,

    Can you tell me what your customization is doing and on what screen. The only reason we can think of for a customization to appear as though it did not save would be because there is code that overrides the customizations.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans