- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2022 09:09 PM
Hi,
We have a requirement that whenever we open create new knowledge article there are some fields visible so our requirement is to map all those fields to a record producer and replace that form layout with that record producer, is it is possible..
Thanks,
Asish
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2022 10:45 PM
@Asish17 Create record producer on kb_knowledge table
Create new variables
Need to check the "Map to field" and field to be mapped in variable created as below
We cannot replace the form layout with record producer but we can create a new left navigation module to redirect to record producer.
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 02:37 AM
Yes you can map every field, just make sure that the variable choice list field values match the choices values of fields.
Also if you are not able to cater any field through mapping you always have an option to script in record producer using :
current.field_name=producer.variable_name;
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 04:17 AM - edited 12-27-2022 04:19 AM
Number will not auto populate on record producer, it will be generated when kb is created, you don't need number variable here.
Also if your sys_id is correct the link should work
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 05:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 11:17 PM
Hi @RaghavSh
one small doubt..
How to map the category field from record producer to knowledge base category field.. we already mapped it but the categories are not visible.. please help..
Thanks,
Asish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2022 11:24 PM
@Asish17 you need to create categories in kb_category table, post that it will be visible in the RP and on selecting in RP it will be mapped to category field on RP.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2022 01:29 AM
Hi @RaghavSh
Thanks for the reply!!
I have created categories from kb_category table only... but then aswell it is not visible in RP...
Thanks,
Asish