You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
I retrieve a Document (Parent) from the database and it contains a DocumentSet. I run through this DocumentSet and pass its elements (let's call them Subs) it on to other classes and methods. In some of these methods, I need the Parent document.
I found a method called isParentDocumentSet, but no method called anything like getParent. If I can't get the Parent directly from the Sub, I would have to pass the parent along with the Sub to all these methods, which I don't feel much for.
Is it possible to get the parent document directly from a sub-document? If not, might that be a good new feature?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I retrieve a Document (Parent) from the database and it contains a DocumentSet. I run through this DocumentSet and pass its elements (let's call them Subs) it on to other classes and methods. In some of these methods, I need the Parent document.
I found a method called
isParentDocumentSet
, but no method called anything likegetParent
. If I can't get the Parent directly from the Sub, I would have to pass the parent along with the Sub to all these methods, which I don't feel much for.Is it possible to get the parent document directly from a sub-document? If not, might that be a good new feature?
Thanks.
The text was updated successfully, but these errors were encountered: