Can I create a custom Campaign History Button that defaults to "All Active Campaigns"? - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
Sean MoslerSean Mosler 

Can I create a custom Campaign History Button that defaults to "All Active Campaigns"?

I want to make it as easy as possible for users to add records to campaigns. New users frequently miss the part of our instructions that state to change the dropdown from "My Campaigns" to "All Active Campaigns."  I would like to make a custom button that would prepopulate the dropdown with All Active Campaigns and perhaps pre-populate a designated campaign name. 

Any suggestions for how to go about this?
Ranu BariRanu Bari
Sean,
You are talking about list view on Campaign object, right? There is already 'All Active Campaigns' option selected in View list. Please give me screenshot.
Sean MoslerSean Mosler
Ranu, on Campaigns the default dropdown is "My Active Campaigns" and apparently this cannot be changed. My idea is to create a custom button that would have the "search within" dropdown menu preset to "All Active Campaigns" instead of "My Active Campaigns"

It's an effort to workaround what is described here: https://success.salesforce.com/ideaView?id=08730000000kwcHAAQ

Campaign Lookup Dialogue screenshot
Ranu BariRanu Bari
Sean,
Yes, you can give vote for this idea. You can also change label of list view and also can see records based on filter. 
Sean MoslerSean Mosler
Thanks Ranu,
I am aware that users can manually change the dropdown option, but I want to make a custom button or action so they do not have to.
Ranu BariRanu Bari
Do you want to make on Lookup dialog box? If yes, that is not possible.
Missy OclonMissy Oclon
I am trying to do the exact same thing. The default being My Active Campaigns does not help any of our users when adding a Contact to a Campaign because I am the one creating the Campaigns. Since we can't change the default of the Add to Campaign - Lookup feature I would like to create the custom button. I assume there was never a resolution on this. Sean if you had a way around it please let me know. Thank you.