Showing results for 
Search instead for 
Do you mean 

Overloading Create opportunity method for web service

New Member
Posts: 2
Country: United_Kingdom

Overloading Create opportunity method for web service

Kind of new to the web service side of ACT.

any idea how i would be able to change the Stage/Process field when the opportunity is posted?

It hasn't been as simple as populating other fields such as name and subscription ID because they are static fields. The fact that the user can edit the fields that appear in the Stage/Process section is what is throwing me off.


actOpportunity = act.Opportunities.CreateOpportunity(name, opportunityPost.Status, stageNames, stage, opportunityPost.ForecastClose, isPrivate);

Posts: 1,163
Country: USA

Re: Overloading Create opportunity method for web service

Setting the stage for an opportunity should be the same whether it's a web service, plugin or whatever.


OpportunityManager OppMan = new OpportunityManager(_ActApp.ActFramework);
Stage[] stages = _ActApp.ActFramework.StageManager.GetStages("Initial Communication");           
Opportunity o =  OppMan.CreateOpportunity("Test123"OpportunityStatus.Open, stages[0], DateTime.Now.AddDays(-1), false);
Matthew Wood
Act! SDK Support
Community Moderator