Skip to Content
0

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

Jan 25 at 09:01 PM

98

avatar image
Former Member

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().

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mustafa Bensan Jan 25 at 09:53 PM
0

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.

Show 1 Share
10 |10000 characters needed characters left 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

0