Forum Discussion
check https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1437989/Active+Directory+Disable+Entry
Hi @mmbabel , I want to remove some particular member(CN=Member_Name,OU=Users,OU=Office_Location,OU=company_name,DC=corp,DC=Company_Short_Name,DC=com) from a particular Distribution List(DL) [CN=Distribution_List_Name,OU=Distribution Lists,DC=corp,DC=Company_Short_Name,DC=com]. How is this possible through this Active Directory Disable Snap?
Here , there is only option is to give Distinguished Name . But in this case , what will be the distinguished name ?
- SpiroTaleski4 years agoValued Contributor
I can see that this is related with the ContentVersion object in Salesforce(correct me if I am wrong).
Instead of using Rest Post Snap, check with the Salesforce Create Snap. The Snap supports the ContentVersion object.
Regards,
Spiro Taleski @Spiro_Taleski
I tried using Salesforce Create snap with ContentVersion object but it is has a limitation of uploading 50Mb of text file or 37Mb of binary file. But I have upload a file whose size can vary upto ~250Mb.Thanks,
Mihir- SpiroTaleski4 years agoValued Contributor
I was not aware about that limitation. Did the snap fail if you try to upload content greater than 50MB/37MB?
I am not very familiar with the Salesforce API’s, but you can try to send below sample as a body of the request (by replacing with your data):
{ "ContentDocumentId": "069D00000000so2", "ReasonForChange": "Marketing materials updated", "PathOnClient": "Q1 Sales Brochure.pdf", "VersionData": "your binary file data(file content)" }
And add Content Type = multipart/form-data, as a header of the request:
Regards,
Spiro TaleskiHi @Spiro_Taleski,
Yes, Salesforce will send an error response if you try to upload content greater than 50MB/37MB using Salesforce API’s.
I have tried as you suggested but it didn’t work. ☹️
Thanks,
Mihir