+ Start a Discussion
sclosesclose 

Campaign Member

I am trying to add a status value to the status picklist. But I do not have the "New" button to add a value. Can someone tell how to add this button? 

Best Answer chosen by Admin (Salesforce Developers) 
Dhaval PanchalDhaval Panchal

You can add status for particular campaign record only.

 

for that follow below steps.

 

Open any campaign record -> Click on Advance Setup -> Click on Edit -> Click on Add New.

All Answers

SfdcStevenSfdcSteven

You can't. 

 

"The CampaignMemberStatus picklist is a special case because the set of available statuses differs by campaign, and each campaign can have different default statuses. Setting the status in the Campaign Member's Status field setup UI has no effect, so we're removing it for the time being."

 

I'm filing a request internally to add it back in.  

 

Sorry,

-Steven

Dhaval PanchalDhaval Panchal

You can add status for particular campaign record only.

 

for that follow below steps.

 

Open any campaign record -> Click on Advance Setup -> Click on Edit -> Click on Add New.

This was selected as the best answer
Dhaval PanchalDhaval Panchal

You can also add status using below script

 

CampaignMemberStatus objSt = new CampaignMemberStatus();
objSt.CampaignId = '70190000000Rofo'; //Campaign id in which you want to add status
objSt.IsDefault = true;
objSt.Label = 'Test_Status';
objSt.SortOrder = 4;//Use max number of your status suppose you have already 3 status then use 4
insert objSt;