g modal reference field

eyal abu hamad
Mega Sage

Hello, I created a UI action that create new contact.
I used g modal for pop up and I'm trying to add refence filed but with no luck showing values.
the UI action is in global and I tried also in customer service app.

eyalabuhamad_0-1707309029622.png

eyalabuhamad_1-1707309048345.png

as you can see that the reference filed is created but with no values.
what the problem could be ?

2 ACCEPTED SOLUTIONS

Harsh Vardhan
Giga Patron

@eyal abu hamad  Change the name attribute value.

 

From

 name: 'customer account',

 

to 

 

 name: 'account',

 

Give a try, I think it should work after this.

 

Thanks,

Harsh

View solution in original post

Hi, 

Please check the name you are giving 'customer account' ..

It may be 'customer_account' ..please check once

If type is reference: 

then name should be the  reference field on the current record being used to search

 

View solution in original post

11 REPLIES 11

didn't find anything that help. still the same

eyalabuhamad_0-1707376954052.png

 

Julien
Tera Guru

Hey eyal,

Did you manage to have this working?
I'm trying to implement something very similar (an assignment group picker in modal).
The field displaus correctly on my modal, if I pass it a value from g_form, I get a preview from the correct group, but I can't quite get the dropdown to load other groups to select.
Here's a screenshot of my current code and the result I get.

I'd be very grateful if you have any indication on what I'm doing wrong.