You need to sign in to do that
Don't have an account?
Sure@Dream
Setting the Chatter Profile Picture for 30K employees without hitting the Chatter Rate Limits
Hi All,
I want to update the chatter profile pictures for 30K employees.
Can some one help me with this.
Currently, I am loading the images into a document folder. Document Names matches with a field on the user object.
Have written a batch which will set the profile pictures, using the following method:
ConnectApi.chatterUsers.setPhoto().
I thought Apex Batch will ananymously and I wont hit any limits. But its giving me an Rate Limit error, if there are 30K images in the document folder.
How can I overcome the Chatter Rate Limits.
This is for one time update. Is there a better option?.
Thanks
I want to update the chatter profile pictures for 30K employees.
Can some one help me with this.
Currently, I am loading the images into a document folder. Document Names matches with a field on the user object.
Have written a batch which will set the profile pictures, using the following method:
ConnectApi.chatterUsers.setPhoto().
I thought Apex Batch will ananymously and I wont hit any limits. But its giving me an Rate Limit error, if there are 30K images in the document folder.
How can I overcome the Chatter Rate Limits.
This is for one time update. Is there a better option?.
Thanks
Outside of that, you may have to just work within the limits - 60 per hour, every hour until you're done. =(