function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Unable to update a field in Campaign



I wanted to update a custom field in campaign, through my .net application.


I am doing it in this way.


retrive the campaign and update a custom field in it. then update the campaing like in following line of code.


 SaveResult[] saveResults = SfdcBinding.update(new sObject[] { updatedcampaign });


Now this return a sucessful transaction. It shows that the update was sucessful. But when i see in the campaign through salesforce IDE, i dont see the field updated.


Not sure whats going wrong.


Please help me!


can you post your code, also, there's no need to retrieve the existing row, just create an sobject, set its Id, and the field values you want to set and call update.


Please add some more code to help you, but with you mention and then update to that must be working.