I need to create "cross site collection lookup field" in the SharePoint Online List. I can programmatically change "List" and "WebId" in SchemaXml from LookUp field. It helps to get "cross site" lookup, but not "cross site collection". I got an exception "Microsoft. SharePoint.Client.ServerException: 'File Not Found.'" when I tried to save changes in SchemaXml for "cross site collection".

Is it possible to create "cross site collection" lookup programmatically? If yes then how?

Or I should learn how to work with SPFx and how to change List and get a lookup through REST API?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.