- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 11:20 AM
I want to be able to click on the "+" tab in SOW to create a new KB article, presenting users with the window to choose the knowledge base they want to add the article too.
I'm seeking help with formatting the JSON. I can create an article in the default kb with this JSON:
{
"label": {
"translatable": true,
"message": "New Knowledge Article"
},
"routeInfo": {
"route": "record",
"fields": {
"table": "kb_knowledge",
"sysId": "-1"
},
"multiInstField": "sysId",
"condition": {
"tableDescription": {
"table": "kb_knowledge",
"canCreate": true
}
}
}
}
But I want to present the "Create Article" window that asks which article and template we want to use:
I reached the above window by going to my list of KB articles and clicking the New button.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2024 07:19 AM
Thanks so much for your help James! I have this working now.
I made one small mod after your suggestion. Here's my config to end the discussion:
"label":{
"translatable":true,
"message":"New Knowledge Article"
},
"routeInfo":{
"route":"kb_template_selector_modal",
"fields":{
"table":"kb_knowledge"
},
"multiInstField":"sysId"
},
"condition":{
"tableDescription":{
"table":"kb_knowledge",
"canCreate":true
}
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @Sandhya Gurram ,
I haven’t had a chance to look into it further yet, but the behavior remains unchanged.