How to set the Record Producer Description using an onLoad client script or onChange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:23 AM
Does anyone know how to set the Description field on a record producer base on a user selection
by description i mean this field
i tried using g_form.setValue('description', 'Test");
it didnt work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:26 AM
@Peter Williams try setting rich description as follows.
g_form.setValue('rich_description', '<p>Test Description</p>');
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:28 AM
Hi Peter,
This is the description of the record producer, it is meant to be a static information that you add to provide users what the record producer is for etc. This is not made to be dynamically changed.
The screen you have shown above, that is only visible to admins/ catalog_admins, end users will not see that screen , its more behind the scenes configuration page.
What is your usecase ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:44 AM
its used on the form in the Service Portal to display information
such as this:
its actually seen by anyone logging into the form.
We need to have it dymanic base on what their role is.
i have the script already working base on their role but cant find out to set it dynamic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2024 07:53 AM
Don't think you can change this dynamically.
My Suggestion ->
- Blank out the description field on Record producer.
- Create 2 different variables , HTML type .
- show / hide the HTML Variables based on the roles.