How to write the script for attached the file in workspace in popup window in sow workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I want to write the workspace client script ( pop up window ) for upload new version behavior it is just like the attachment functionalities as shown in screen shot in sow workspace . Could you please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sunilsargam
I want to convert this code into workspace client script so that It will execute, this code is not work for sow workspace. this code is for "upload new version code" ui action for knowledge table
Hope you understand my requirement, same behavior which is working in Ui 16, I am implementing the same functionalities for SOW (for upload new version button)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @reenak446674965 ,
paste your code in Workspace Client Script. and check workspace form button .
function onClick(g_form) {
var currentSysId = g_form.getUniqueValue();
var importModal = new GlideModal("kb_import_dialog");
importModal.setPreference("knowledge_sys_id", currentSysId);
importModal.setTitle("Import a Word File");
importModal.render();
}
If you found my solution helpful, please mark it as Helpful or Accepted Solution...!
thanks,
tejas
Email: adhalraotejas1018@gmail.com
LinkedIn: https://www.linkedin.com/in/tejas1018
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Tejas Adhalrao
this code is not working because GlideModel is not supported in workspace client script.
