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
Smita Hodiggeri (Admin)Smita Hodiggeri (Admin) 

Automatic creation of sharepoint link to redirect users from one SharePoint site to another site using APEX code

When an account gets created in Salesforce it first creates a Account folder structure in Customers_Preprod sharepoint site, the similar folder structure for the same Account will get created on Engagement_Preprod ONLY when an engagement gets created, so we need build logic to create this link to customer preprod to engagement preprod when there is an account folder structure created i:e check if account folder exists on Engagement preprod and if yes create a link in the Customer preprod for that particular account in the customer preprod. How can i acheive this using APEX Code?

I would like extended information on how to implement as I am beginner dev. 
Thanks,
Smita 
Vishwajeet kumarVishwajeet kumar
Hello,
I think it will require to do apex callout to login and create data in sharepoint. Checkout sharepoint api's. Salesforce Integration could be built as a async process(Batch or Scheduled Job apex) if their is no need for realtime record creation.

Thanks.