- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2016 10:30 AM
You can always add g_form.save(); to save the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2016 11:02 AM
Hi Abhinay,
I wrote this in the ui action within the function, but it dnt save the value entered in form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2016 11:29 AM
Can you post the code of your UI action here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2016 11:50 AM
Hi Abhinay
function create() {
var short_text = g_form.getValue("description");
var sysId = typeof rowSysId == 'undefined' ? gel('sys_uniqueValue').value : rowSysId;
var gDialog = new GlideDialogWindow("add_ci_dialogs");
gDialog.setTitle("Create New CI");
gDialog.setSize(500,400);
gDialog.setPreference('sysparm_sysID', sysId);
gDialog.setPreference('sysparm_table', "change_task");
gDialog.setPreference("short_text", short_text);
g_form.save();
gDialog.render();
}
whatever is entered in fields of ui page, i was adding to show in desc but then that also removes what is saved earlier.
Can i not have both of them together also?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2016 11:52 AM
What type of UI action is it? List choice button?