• cal r.
  • NEWBIE
  • 25 Points
  • Member since 2011

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

Hello All,

 

 

I am having trouble mass deleting collaboration group members using Bulk API.

 

I am getting the following exception 

[AsyncApiException exceptionCode='InvalidBatch'
exceptionMessage='Records not processed'
]

 

The following is the code snippet.

 

BulkConnection connection = salesforceBulkAPIConnectionManager.getBulkConnection(chatterInstance);
JobInfo job = new JobInfo();
job.setObject("CollaborationGroupMember");
job.setContentType(ContentType.CSV);
job.setOperation(OperationEnum.delete);

job = connection.createJob(job);

StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("CollaborationGroupId").append(",").append("MemberId");

for (String user : usersToBeRemovedFromGroup) {
stringBuffer.append("\n").append("\"").append(chatterGroup.getId()).append("\",").append("\"").append(user).append("\"");
}

List<BatchInfo> batchInfoList = createBatchesFromCSVFile(connection, job,new ByteArrayInputStream(stringBuffer.toString().getBytes()));
closeJob(connection, job.getId());
awaitCompletion(connection, job, batchInfoList);

getResults(connection, job, batchInfoList);

 

 

Thanks in Advance.

  • January 15, 2013
  • Like
  • 0

Hello All,

 

 

I am having trouble mass deleting collaboration group members using Bulk API.

 

I am getting the following exception 

[AsyncApiException exceptionCode='InvalidBatch'
exceptionMessage='Records not processed'
]

 

The following is the code snippet.

 

BulkConnection connection = salesforceBulkAPIConnectionManager.getBulkConnection(chatterInstance);
JobInfo job = new JobInfo();
job.setObject("CollaborationGroupMember");
job.setContentType(ContentType.CSV);
job.setOperation(OperationEnum.delete);

job = connection.createJob(job);

StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("CollaborationGroupId").append(",").append("MemberId");

for (String user : usersToBeRemovedFromGroup) {
stringBuffer.append("\n").append("\"").append(chatterGroup.getId()).append("\",").append("\"").append(user).append("\"");
}

List<BatchInfo> batchInfoList = createBatchesFromCSVFile(connection, job,new ByteArrayInputStream(stringBuffer.toString().getBytes()));
closeJob(connection, job.getId());
awaitCompletion(connection, job, batchInfoList);

getResults(connection, job, batchInfoList);

 

 

Thanks in Advance.

  • January 15, 2013
  • Like
  • 0

Hi,

 

We have salesforce set up to SSO against our SAML IDP server. Log in works, but would like salesforce to respect single logouts that are initiated by our IDP or a different SP. Does salesforce support <samlp:LogoutRequest> requests? 

 

Thanks.

  • November 03, 2012
  • Like
  • 0

Hi, we have SAML SSO set up against our SAML/AD user store, and now want to create a scheduled process that adds/updates users from our AD directory into salesforce using batch files. We need a way to link SF users with our AD users, and seems the best candidate field is SAML Federation ID which we are already populating to make SSO work. However, we can't configure this built-in field to be external id enabled. Is there a work-around to this?

 

thanks

Hello All,

 

 

I am having trouble mass deleting collaboration group members using Bulk API.

 

I am getting the following exception 

[AsyncApiException exceptionCode='InvalidBatch'
exceptionMessage='Records not processed'
]

 

The following is the code snippet.

 

BulkConnection connection = salesforceBulkAPIConnectionManager.getBulkConnection(chatterInstance);
JobInfo job = new JobInfo();
job.setObject("CollaborationGroupMember");
job.setContentType(ContentType.CSV);
job.setOperation(OperationEnum.delete);

job = connection.createJob(job);

StringBuffer stringBuffer = new StringBuffer();
stringBuffer.append("CollaborationGroupId").append(",").append("MemberId");

for (String user : usersToBeRemovedFromGroup) {
stringBuffer.append("\n").append("\"").append(chatterGroup.getId()).append("\",").append("\"").append(user).append("\"");
}

List<BatchInfo> batchInfoList = createBatchesFromCSVFile(connection, job,new ByteArrayInputStream(stringBuffer.toString().getBytes()));
closeJob(connection, job.getId());
awaitCompletion(connection, job, batchInfoList);

getResults(connection, job, batchInfoList);

 

 

Thanks in Advance.

  • January 15, 2013
  • Like
  • 0

For those who have experience with implementing SSO between Salesforce and LDAP, on a scale of 1-10, what would you rate the following:

 

Level of complexity

 

Level of technical knowledge required (beyond point-click Admin experience)

 

 

And how long do you estimate it takes to complete?

 

Thank you,

 

 

Hi, we have SAML SSO set up against our SAML/AD user store, and now want to create a scheduled process that adds/updates users from our AD directory into salesforce using batch files. We need a way to link SF users with our AD users, and seems the best candidate field is SAML Federation ID which we are already populating to make SSO work. However, we can't configure this built-in field to be external id enabled. Is there a work-around to this?

 

thanks