Support Center

How to display Jobs and Shifts related to a Campaign owned by Salesforce User who is an V4S Kiosk User?

Last Updated: Nov 07, 2018 05:36AM PST
To achieve the above requirement,

Please Create a Contact for the Salesforce Users, who will be an Owner of the Campaign.
Create a Contact lookup field in the Campaign Object and link that to the Contact of the Salesforce User..(example the field API Name for Contact in the Campaign is  "Contact__c").
 
Using the Config page you can create a where clause like below.
 
Filter for JOB
GW_Volunteers__Display_on_Website__c = true and GW_Volunteers__Inactive__c = false and GW_Volunteers__First_Shift__c = null and  GW_Volunteers__Campaign__r.Contact__c = '$#contact_id##' order by Name, GW_Volunteers__Campaign__r.Name
 
Filter shift today
GW_Volunteers__Volunteer_Job__r.GW_Volunteers__Display_on_Website__c = true and GW_Volunteers__Start_Date_Time__c >=  #@#st_today#-# and GW_Volunteers__Start_Date_Time__c <= #@#en_today#-# and GW_Volunteers__Volunteer_Job__r.GW_Volunteers__Inactive__c = false and GW_Volunteers__Volunteer_Job__r.GW_Volunteers__Campaign__r.Contact__c = '$#contact_id##' order by GW_Volunteers__Start_Date_Time__c asc
 
Filter for Volunteers today
(( GW_Volunteers__Shift_Start_Date_Time__c >= #@#st_today#-# and GW_Volunteers__Shift_Start_Date_Time__c < #@#en_today#-# ) or (  GW_Volunteers__Planned_Start_Date_Time__c >=  #@#st_today#-# and GW_Volunteers__Planned_Start_Date_Time__c < #@#en_today#-# )) and (GW_Volunteers__Status__c = 'Confirmed' or GW_Volunteers__Status__c = 'Prospect' or GW_Volunteers__Status__c = 'Web Sign Up') and GW_Volunteers__Volunteer_Job__r.GW_Volunteers__Campaign__r.Contact__c = '$#contact_id##'
 
 

Contact Us

1b945cee4ea0304b0140bf8c7eea223e@dftly.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete