purple
24 November 2015 09:23
1
Hi,
Is it possible to search a custom field of a contact within the meeting?
For example:
In meeting module and if the meeting is related to a contact, I want to be able to search the âcontact_saleâ which is a custom field of contacts module.
Unfortunately, I am not able to add that custom field in the search layout of meeting.
How shall I achieve this? Any idea please?
purple
24 November 2015 11:50
2
Hi I already managed to add he field however I am still having filtering issue.
I am only having issue with a custom field of contacts (not in a default field)
within SearchFields.php (custom folder) added this:
âstage_câ =>
array (
âquery_typeâ => âdefaultâ,
âdb_fieldâ =>
array (
0 => âcontacts_cstm.stage_câ,
),
),
and also added some code in vardefs (custom folder) :
$dictionary[âMeetingâ][âfieldsâ][âstage_câ]= array(
ânameâ => âstage_câ,
âvnameâ => âLBL_STAGE_Câ,
âquery_typeâ => âdefaultâ,
âsourceâ => ânon-dbâ,
âtypeâ => âenumâ,
âoptionsâ => âstage_c_listâ,
âstudioâ => array(âsearchviewâ=>true,âvisibleâ=>false),
);
error: Unknown column âcontacts_cstm.stage_câ in âwhere clauseâ
if the field is derived from a cstm table, it doesnât seem to work.
Any idea please?