Reference fields in UI parameters?

Marie8
Kilo Contributor

Hello, 

Is there any way to add reference fields to UI parameters in action functions?

I am developing an app where the users need to edit fields on specific applets, in which some of the fields are reference fields on other tables. However it is not possible to dot-walk to a field on another table. 

In the below example I have an action on the interaction table, and the user should be able to edit access fields on the sys_user table through the Opened for field. 

Anyone knows of a way to achieve this?

 

Thank youfind_real_file.png

8 REPLIES 8

Sebastian L
Mega Sage

Hi Marie, 

Not sure I understand your requirement. Are you able to share the screen/use case? 

So an agent has an interaction, and on this, it should be possible to edit fields on opened_for? What fields should they be able to edit and are it always the same field(s)? 


Best regards,
Sebastian Laursen

Saurav11
Kilo Patron
Kilo Patron

Hello,

Can you be a little more specific.

because the fields like assigned to, assignment group are all reference field itself when they appear on the mobile app

Marie8
Kilo Contributor

Hi Sebastian and Saurav, 

 

An example of a use case is, that we have an action function to edit requested items on a list applet. When clicking on this button, the agents are able to edit specific fields including the field requested_for, which is a reference to a field on the sc_request table, but the action happens on the sc_req_item table. So in order to make requested_for editable in this function, I need to dot-walk in the UI parameter field "Field name", but there is no option to choose 'show related fields' or anything like that.

In the field "Source field" however, it is possible to add the related field as you can see in the below image (Bestilt til is Requested for translated)..

I hope my question makes sense

Thanks! 

find_real_file.png

Hello,

Isn't the requested for directly available on sc-req-item?

find_real_file.png