Try our conversational search powered by Generative AI!

How to find original parent of deleted item



I am trying to find the source code of EPiServer for this url

Can any one tell me where is rest store for contentstrucutre?


Ali, Murtaza

Edited, Aug 15, 2017 3:18

EPiServer stores orignal parent link in Dynamic Data with store name EPiParentRestoreStore

You can see the view in Database dbo.VW_EPiParentRestoreStore

Code to fetch Original Parent

IParentRestoreRepository parentRestoreRepository

ContentReference parentLink = this._parentRestoreRepository.GetParentLink(deletedItemReference.ToReferenceWithoutVersion());
        if (this._contentProviderManager.IsWastebasket(parentLink))
          return Enumerable.Empty<IContent>();
        IContent content = !ContentReference.IsNullOrEmpty(parentLink) ? this._contentRepository.Get<IContent>(parentLink) : (IContent) null;

Aug 15, 2017 3:45
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.