Mapping Record Producer Variable to Field With UI Policy

User398360
Kilo Contributor

I am trying to map a variable from a record producer to a field on our table. The field on the created record's form is initially hidden by a UI policy (dependent on another field's dropdown option). The field is getting mapped over to the created record on the backend/database, but the value is not displaying on the form due to the UI Policy still hiding it. And when I manually select the correct dropdown option to display the field, the value that should have been mapped over is not displaying. How would I go about unhiding this field after the record is generated to show the value that was mapped over? I assume I need to update the UI Policy itself?

4 REPLIES 4

Musab Rasheed
Tera Sage
Tera Sage

Hi,

What is understood by reading is that you don't want to apply UI policy on backend.? if that's case just uncheck 'Applies to target record' from below UI policy.

find_real_file.png

Please hit like and mark my response as correct if that helps
Regards,
Musab

The UI policy I'm referring to is not a Catalog UI Policy.

Community Alums
Not applicable

Hi,

Just open the record where the fields are present. Configure> UI policies> look for the UI policies where these fields in ask are used.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

shloke04
Kilo Patron

Hi @by 

For your scenario, what you need to do is update the same Client script or UI Policy which you have which is hiding that field based on other dropdown field.

So within that you need to update it as below:

The field which you are mapping(and is current getting hidden) is not empty then only the other UI Policy or script should work and hide it.

This will make it visible when the value gets mapped from Record Producer.

If you can share the details of that component the way you are currently hiding it and I can help you with an update.

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

 

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke