Record producer variable is not reflecting as per the backend field even it is mapped with record producer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 04:27 AM
Hi,
I have created one choice field with two values and it is mapped with the record producer by creating a variable ( I tick the 'Map to Field' checkbox and select the correct one same field). AS per the client requirement I have made backend choice field read only and its choice value is displaying depending upon one condition. This field working finely at backend but it should not work (same as backend) on service portal ie record producer.
Could any one suggest what should I have to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 04:39 AM
Hi,
I hope, you created the same field in Record Producer variable and configured the same value in the variable.
That variable choice may created by manual or called from sys_choice table.
The record producer script mapping with database value with the back end value. Can you check DB value configured properly.
Please mark as correct answer if it helped.
Regards,
Suresh.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 04:42 AM
Hi Suresh,
How we can do record producer script mapping with database value with the back end value. Please advice me as i am new to service portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 07:04 AM
Hi,
I would recommend to understand the record producer behavior with the help of existing OOB. You will get more clarity where you should use the script and how it should assign it to Backend.
It's not a complex to understand, You know how to write the script and use the same in the record producer script window.
Regards,
Suresh.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2022 07:42 AM
Can you refer below syntax to achieve it.
current.backendFieldName = producer.CatalogItemVariableName;
backendFieldName -Platform View field Name
CatalogItemVariableName - DB name of catalog item variable.
Regards,
Suresh.
Suresh.