Fetch Assigned users to custom field

Hello,

Which is the best way to fetch the assigned users of one Doctype to a Custom Field?

I’m trying this with no success:

frm.set_value("my_custom_field", assign_to.user );

And this

frm.get_docinfo().assignments);

Thank you.

I found the solution:

frm.get_docinfo().assignments[0].owner

1 Like