Hey,
hmmm, if none of “full_name”, “name” or “first_name”/“last_name” provide results, i’m not too sure…
Maybe there are other places in the CRM with similar behaviour, (specifically around Leads), in the CRM that might give some hints?
One that comes to mind is the Lead Conversion process, as that relates a few different modules to Lead records
eg, in the /modules/Leads/tpls/ConvertLead.tpl file, I’ve found it uses the following snippet, with a $module variable provided:
field_list : ['name', 'id'],
populate_list : ['{$selectFields.{{$module}}}', '{$contact_def[$selectFields.{{$module}}].id_name}'],
conditions : [{ldelim}'name':'name','op':'like_custom','end':'%','value':''{rdelim}],
Otherwise, maybe as a workaround, you could try creating a new custom field that just copies the "Name" value (via Logic Hook)
Then, try using that field in the "populate_list" array?
I think the issue is that there’s not a concrete “Name” field in the Leads module (ie, No Database column)
So hopefully by making a new field with the same value, we would be able to achieve the same thing?
However, if the above fails, I'm afraid I'm also stumped :slightly_frowning_face:
Perhaps someone more well versed in the sqs_objects has any ideas?