Hello! Anyone know how to include location descend...
# suiteanalytics
j
Hello! Anyone know how to include location descendants in this formula? 
CASE WHEN {transferlocation.id} = {user.location.id} THEN 1 ELSE 0 END
I want to be able to filter a saved search to show results to a user including their location and its child locations
n
On the search criteria, when you select Location have you considered the selection Mine and Descendants?
k
So you would need to add a custom field to your locations
and in that have a field for "include in search" or something to that effect
and you'd need to store the internal ID of the record that you wanted in that field
then it would be
transferlocation.newcustomfield
instead of
transferlocation.id
j
wow brilliant
thanks!
I will try this shortly and let you know, thanks @KevinJ of Kansas