on 01-25-2018 9:01 PM
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().
Thanks Pramod for the reply,So presently code is written for button and onclick() is been used in chart.So you mean to create global script and call in the chart.
Will try else will give the script and let me know where need to be corrected.
Sorry if I am asking basic as I am working after a long time in Lumira Designer
Thanks pramod for the support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Put the code in globalscripts and use it to call wherever Needed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mbensan and pramod.lumburu,
I am also facing same issue onclick() function is deprecated in button.Is there any way can recall with anyother function?
Regards,
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.