How to find original parent of deleted item

Vote:
 

Hi,

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

https://xxxyyy.com.au/EPiServer/cms/Stores/contentstructure/?referenceId=365707&query=getrestorepoint&allLanguages=true&dojo.preventCache=1502758458185

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

Cheers

Ali, Murtaza

#181255
Edited, Aug 15, 2017 3:18
Vote:
 

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;



#181256
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.