Custom filter
Posted: Tue May 07, 2019 7:09 pm
Hi,
I'm trying to add multiple fields to the custom filter in the "Load Calendar settings..." script.
My Current code is
GetFieldName ( Appel_Service::A_EndroitTravaux_Nom )
& ¶ &
GetFieldName ( ToDoList::Summary )
it says to add more fields, just add the P return, so I change the code to
GetFieldName ( Appel_Service::A_EndroitTravaux_Nom )
& ¶ &
GetFieldName ( Appel_Service::A_EndroitTravaux_Adresse )
& ¶ &
GetFieldName ( ToDoList::Summary )
The 1st field is my event name and the 2nd is the address.
Save the script, run the saved script "Load Calendar settings ..."
Nothing shows up in the calendar that matches the find criteria. Before I add this line to the code, it will find any event with the search criteria in the event's name. After that change, event the event name doesn't work.
So by adding this line, the basic search filter fail, remove the 2nd field, works OK. I don't use the ToDoList, so I can't test if it finds result in that field.
I remove the ToDoList field to see if it was limited to 2 fields, same results.
Both fields are plain text fields, indexed.
Any idea how to fix this ? Thanks
I'm trying to add multiple fields to the custom filter in the "Load Calendar settings..." script.
My Current code is
GetFieldName ( Appel_Service::A_EndroitTravaux_Nom )
& ¶ &
GetFieldName ( ToDoList::Summary )
it says to add more fields, just add the P return, so I change the code to
GetFieldName ( Appel_Service::A_EndroitTravaux_Nom )
& ¶ &
GetFieldName ( Appel_Service::A_EndroitTravaux_Adresse )
& ¶ &
GetFieldName ( ToDoList::Summary )
The 1st field is my event name and the 2nd is the address.
Save the script, run the saved script "Load Calendar settings ..."
Nothing shows up in the calendar that matches the find criteria. Before I add this line to the code, it will find any event with the search criteria in the event's name. After that change, event the event name doesn't work.
So by adding this line, the basic search filter fail, remove the 2nd field, works OK. I don't use the ToDoList, so I can't test if it finds result in that field.
I remove the ToDoList field to see if it was limited to 2 fields, same results.
Both fields are plain text fields, indexed.
Any idea how to fix this ? Thanks