• sommerscm
  • NEWBIE
  • 0 Points
  • Member since 2005

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hello All,

I'm seeking a simple trigger or Apex snippet that can send a twitter status update to Twitter. This would work when creating or updating a custom object record.

I've tried downloading the twitter packages but the code is managed so I can't view or copy it.

This is for a simple app prototype, so the simpler the better.

Thanks in advance!
Chris

Hello All,

I'm seeking a simple trigger or Apex snippet that can send a twitter status update to Twitter. This would work when creating or updating a custom object record.

I've tried downloading the twitter packages but the code is managed so I can't view or copy it.

This is for a simple app prototype, so the simpler the better.

Thanks in advance!
Chris

Hi,

i am trying to adds leads to a campaign with the AJAX toolkit beta1 and the CampaignMember object, but it fails.

A snippet of code:

..........

sforceClient.setBatchSize(10);
_qrLeads = sforceClient.Query("Select Id, LastName, FirstName, State From Lead where State = '"+provincia+"'");

if (_qrLeads.size > 0) {
for (var i=0;i var lead = _qrLeads.records[i];
var campMember = new DynaBean("CampaignMember");
campMember.set("CampaignId","{!Campaign_ID}");
campMember.set("LeadId",lead.id);
campMember.set("Status","Sent");
var saveResult = sforceClient.Create(campMember)[0];
}
}

.......

Any Help??

Thanks.

Victor Alvarez Fuente