Search Community
- Force.com Discussion Boards
- :
- Salesforce User Discussions
- :
- Best Practices Discussion
- :
- Re: Update Campaign Member Status for Multiple Con...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-14-2008 12:40 PM
We had a use-case come up today and I could not find any information about it so I thought I would try here!
We created a Campaign for an EVENT. We sent out an email to the Campaign Members notifying them of the event and mass-marked their Status to “Invited”.
However, we now want to be able to identify those Members that “Attended” vs. those that were “Invited”. Is there a quicker way to change the Campaign Member Status of multiple Members all at once (and not ALL Members, since ALL did not "Attend")?
Right now, we have only been able to click into each Contact record and update them one by one!
Let me know if you have any ideas!
Solved! Go to Solution.
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-18-2008 10:22 PM
The thing is though, rather than going into each account, from the Campaign detail page click on Manage Members then the update statuses link. The members appear in a List View and can use the checkboxes to update.
Also, i'm sure there would be an app on the appexchange that could integrate with your email to automatically update statuses when they're acceted.
Hope this helps. I'd be interested to hear of any other ideas.
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-19-2008 09:57 AM
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-29-2008 08:42 AM
Maybe this will help you, as well. We have to update campaign member status (from registered to attended or no-show) after each of our events. We use Excel Connector. We've set it up so that we can easily pull all the members associated to a campaign, change their member status and then do a mass update all at once. This way let's us change the status for any and all members regardless of what we're changing it to (i.e. we don't have to change members to attended and then separately change other members to no-show).
Good luck.
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-31-2008 03:26 PM
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-01-2008 03:59 PM
I am struggling with this as well.
However we are a self service web software product. So I am working with web campaigns (PPC, Adwords, etc)... I need to automate the member status update if they open an account online and start using our software without any contact with a sales rep.
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-03-2009 08:54 AM
Here's a potential solution for something like Event Registration that some of us in the SF Community put together:
http://twitter.com/britishboyindc
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-28-2009 11:04 AM
Summer '09 is going to make this a lot easier. In addition to the existing Manage Members and Campaign Import Wizards, Salesforce Sites allows for creation of event registration forms which can automatically write to the Campaign Member table.
As we're releasing custom fields for Campaign Member (mid July), you'll be able to track more information than just "Invited" or "Attended" as well.
To make a sites page, here's the class for the controller + visual force page. Note I've specifically left out most error handling to make it easier to follow:
public class UpdateCampaignMemberClass{
public final CampaignMember cm;
private ApexPages.StandardController cmController;
public UpdateCampaignMemberClass(ApexPages.StandardContro
cmController = controller;
this.cm= (CampaignMember)controller.getRecord();
}
public PageReference UpdateAction() {
try{
update cm;
}
catch(DmlException ex){
ApexPages.addMessages(ex);
}
return new PageReference('http://jdk470.force.com/?id=' + cm.id );
} public string getStatus(string Status){
return 'Status';
}
}
<apex:page standardController="CampaignMember" extensions="UpdateCampaignMemberClass" sidebar="false" showHeader="false"> <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("="); if (pair[0] == variable) { return pair[1]; } } } function showAlert(variable){ alert(variable); } </script> <apex:form > <b>Campaign Member ID </b><apex:inputfield value="{!campaignmember.Id}"/><br/><br/> Status <apex:inputfield value="{!campaignmember.status}"/><br/><br/> <apex:commandButton value="Update" action="{!UpdateAction}" /> </apex:form>
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-13-2009 11:59 AM
I was working within the Force IDE to get the controller and visualforce page to work. All was good until I tried to deploy to server. It then told me to test it, but I have no idea where to begin. Do you have any simple testing code that I can use to work with this?
Thank you!
Re: Update Campaign Member Status for Multiple Contacts (Not ALL)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-13-2009 12:10 PM
Example test code: note this isn't best practice though.
Check out this page for great tips on how to write tests.
http://wiki.developerforce.com/index.php/An_Introd

