- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-02-2022 10:28 PM
We need to update the content of multiple KB articles within a Knowledge Base. The content is basically the Escalation group name or a URL (Inside the description of the article).
How to do a mass update on multiple articles simultaneously without altering the other content?
Eg: 25 articles have to be updated with new Escalation group name within the content.
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- 2,294 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-02-2022 11:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-02-2022 10:49 PM
Hi Vinay,
You can use a fix script for this. you can first filter the list of the article which you need to update and paste the encoded query in the below code:
var kbRecords = new GlideRecord('kb_knowledge');
kbRecords.addEncodedQuery('workflow_state=published^sys_class_name!=kb_knowledge_block^kb_knowledge_base=a7e8a78bff0221009b20ffffffffff17');
kbRecords.query();
while (kbRecords.next()) {
kbRecords.group_name = 'a7avsgv2'; // put sys_id of the group
kbRecords.autoSysFields(false);
kbRecords.setWorkflow(false);
kbRecords.update();
}
Please mark my answer Correct & helpful if resolves your issue.
Thanks,
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-02-2022 11:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-03-2022 02:02 AM
Do we have any option or script that is currenlty available to replace the content next to specific Word.
Eg : In Knowledge article it shows Resolver Group : A/B/C/D but I need to replace all this with Resolver Group E How do we do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-03-2022 05:05 AM
In the future, you could use knowledge content blocks to contain that type of information. Then you only have to update the Knowledge block.