• Sana Tahseen 7
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1
Querying ContentDocument with 'lastReferencedDate' reflects the recently shared file Ids. Whereas unsharing a file does not update the 'lastReferencedDate' field for some reason. Even 'SystemModStamp' is not updated when a file is unshared. Therefore, I was looking for 'LastActivityDate' field for ContentDocument Standard object. The main purpose to track down Ids of files that are recently shared/unshared using Salesforce Query API. Any help will be helpful. Thanks

Query that returned recently shared file Ids is as follows:
i am getting INVALID_SESSION_ID error while integrate salesforce
           [message] => Session expired or invalid
            [errorCode] => INVALID_SESSION_ID