call a table using form Button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 08:33 AM
Hello,
I have a requirement to restrict ‘publish’ UI Action on kb_knowledge(knowledge Article) form if the kb_knowledge_base record of the attached knowledge base has no checklist attached.
so if I click on publish a pop-up window should be shown up where I can attach a checklist and when the checklist is created only then state of knowledge article be changed to review/ published.
I have made a copy of KnowledgeSNC Script include and added the check to verify checklist is attached or not.
// on UI Action form when false is returned checklist table should be a popup where I can select an existing AQI or a new one then that KA move to review/published state
but on form UI Action I don't find any workaround to solve this problem.
some sites were suggested using GlideModal API but I didn't find a way to call a table using this API.
Has anyone worked with this scenario?
what approach i should choose I don't have any clarity regarding this