Skip to Content
avatar image
Former Member

How to handle Deprecated scripts when converting Designstudio 1.x to lumira2.0

I have converted Design studio 1.6 version to 2.0.

Other than just converting to Ui5 mode and saving it with Lumira 2.0 tool I found that converted application in 2.0 isnt working .

There are some scripts which are deprecated like below

DropDown.onSelect(); Text_1.onClick();

Currently I am copying scripts in Dropdowns and text components to GlobalScripts functions and calling them instead of using Compnent onselect and onclick scripts.

Is there a better way to handle conversion ? Given the fact that there are numerous applications and lot number of scripts written with onSelect() and OnClick().

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 25 at 09:53 PM

    Hi Pramod,

    As far as I am aware there is no mass search and replace tool to automate script conversions. Unfortunately, you need to go through a one-off manual exercise to update the deprecated scripts.

    My observation is that in Lumira Designer 2.1, DropDown.onSelect() is still a valid script call but Text_1.onClick() has been deprecated. In any case, centralising scripts in Global Script functions as you've indicated is a good practice to simplify maintenance and coding, instead of directly triggering component event scripts.

    Regards,

    Mustafa.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Mustafa,

      Thanks for the suggestion. I think i am using Lumira Designer 2.0 and DropDown.onSelect()isnt valid.May be i will upgrade my client tool and check out. Are onSelect(),onClick() scripts have been removed Completely in Listboxes,text,buttons etc in Lumira ?

      Regards,

      Pramod