US English (US)
ES Spanish

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Log in
English (US)
US English (US)
ES Spanish
  • Home
  • Help & Support
  • Support
  • Support FAQs
  • FAQ: Salesforce

"Document with ID does not have an owning Library" error when upgrading to version 3.6 and above

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge RIO Recipe Training
  • Releases
    Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support
  • About Us
    Who is RIO Education? Start Your RIO Journey Housekeeping
  • Experience RIO in action
+ More

Table of Contents

Description Resolution

Description

Error:

When upgrading to RIO Education version 3.6 and above, you may encounter the error "Document with ID does not have an owning Library" for both "rioed" and "rioed_eddie" content documents.


Root cause:

This could be due to the related content document not being shared with anyone in the Salesforce org. Please verify this by following the steps below:

  1. Go to Setup > Feature Settings > Salesforce Files > Asset Files.
  2. Look for the asset file with Unique Name = rioed.
  3. Click on the record.
  4. Click on the "View" link next to the "View File Details" to view the content document.
  5. Verify if the file is not shared with anyone.


Resolution

Both of the content documents "rioed" and "rioed_eddie" need to be shared at least to Salesforce org to solve the error. Please run the following script in developer console to fix the data issue:

ContentDocumentLink rioed_cdl = new ContentDocumentLink();
rioed_cdl.LinkedEntityId = '<salesforce org id>';
rioed_cdl.ShareType = 'V';
rioed_cdl.Visibility = 'AllUsers';
rioed_cdl.ContentDocumentId = '<copy the content document id from the url for rioed file>';


insert rioed_cdl;


ContentDocumentLink rioededdie_cdl = new ContentDocumentLink();
rioededdie_cdl.LinkedEntityId = '<salesforce org id>';
rioededdie_cdl.ShareType = 'V';
rioededdie_cdl.Visibility = 'AllUsers';
rioededdie_cdl.ContentDocumentId = '<copy the content document id from the url for rioed_eddie file>';


insert rioededdie_cdl;


Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • RIO Education Apps/Consoles
  • What Open Source Libraries are used by RIO Education?
  • What is USA SEVIS & SEVIP?
  • Setting or updating custom field default value
RIO Education

RIO Education, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2024.

CONTACT

Get in touch

  • Privacy
  • Terms of service

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand