- 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-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 01:40 AM
Thanks for the reply!!
similarly to short description can we map Knowledge Number, Category, Workflow Stage, Article Body..
Thanks,
Asish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 01:51 AM
@Asish17 Yes you can.
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 03:42 AM
Thanks for the reply!!
what is the URL argument format to be given there..
OOB URL argument is "knowledge_create.do?sysparm_stack=kb_knowledge_list.do"
how to redirect it to record producer..
I am trying with the following URL "sc_cat_item_producer.do%3Fsys_id%3D79a427b81bc02990171354242a4bcbce%26sysparm_record_target%3Dsc_cat_item" but its coming like page not found anything to add here...
Thanks,
Asish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2022 04:01 AM
@Asish17 You can use below link in url form arguments
/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=79a427b81bc02990171354242a4bcbce
if you have portal and you want portal link then please try below link
/sp?id=sc_cat_item&sys_id=79a427b81bc02990171354242a4bcbce
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023