• Kevin Mann 9
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Scenario/Issue -
    when I logged In with System Adminstrator profile and trying to attach file against existing case thenits shows one increment count to both ContentVersion & contentDocument table/Object.
    
    But when I tried to logged In with some other profile and tried to attach file against existing case then it showsfiles on case related list but It does not increment count to both ContentVersion & contentDocument table/Object and the more strange part is that If I copy the contentDocumentId from sfdc broswer and tried to run below query then It shows record -
  
SELECT Id FROM contentDocument where Id = 'XXXContentDocumentID'
    
    SELECT Id FROM ContentVersion where contentDocumentId = 'XXXContentDocumentID' 
    
    Short Summary - If we export the whole data of contentDocument then it does not show new record for attachment but if we run above query intosame table then it show records.

Please help on this - Reason behind why we are not getting newly attachment record into ContentVersion & contentDocument table/Object , if we do extract fullData.

Thanks