Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 25, 2018 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 a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.