Enable Variables from item_option_new table in Release Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 10:30 AM
Hello experts,
In my existing system, I have to use variables in Release management and make them visible/hidden or editable/read-only using client scripts. How can make it possible? any help would be much appreciated.
Thanks
Satanik
- Labels:
-
Release Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 01:51 PM - edited 10-10-2022 01:52 PM
To make read only:
g_form.setReadOnly('VARIABLENAME',true);
Editable:
g_form.setReadOnly('VARIABLENAME',false);
To Hide:
g_form.setDisplay('VARIABLENAME',false);
To Show:
g_form.setDisplay('VARIABLENAME',true);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 10:05 PM
Hello Mike,
Thanks for your response.
But how can I make the variables available in rm_release client script ? Because I created a variable in item_option_new, and tried the client script. but this is not becoming available.
Thanks,
Satanik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 10:58 PM
Hello,
To show the variable editor in release Management do the below:-
Go to Formatters from Navigation:-
Then once the list view opens find this formatter:- "com_glideapp_questionset_default_question_editor"
Then if there is no formatter for release table just click on new and create one
Once it is done go to the release form and configure form layout and bring the release variable editor which you created on the form
Now to populate the variables in the variable editor yo will have to create a record producer on release table
Please mark my answer as correct based on Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 11:14 PM
Hi Saurav,
Thank you so much for the detailing.
First of all, they are actually using it in rm_task and not in rm_release. Sorry for the confusion.
In my client system they already have the variable editor in rm_task. But I do not see any such entry in record producer.
Instead, I guess they are doing it through macro from the variable table.
Here is the screenshot.
But I am not able to go deeper into this since, I am not able to find the relationship on how they are doing it.
Can you help me to understand please?
Thanks,
Satanik