Get vppfile

Vote:
 

Hi

I have a page that has a connection to a vpp file with the property PropertyDocumentUrl. I would like to get this page and its info using the documentname in vpp storage as parameter, url like this http://episite.se/myPage.aspx?doc=mySheet.xls , my argument to myPage.aspx is doc with mySheet.xls as value. I like to get my page using mySheet.xls.
At the moment I use FindPagesWithCriteria to get all pages with this specific property and then I would like to get the page by resolving the Guid for my file, how can this be done?

#54577
Oct 21, 2011 13:49
Vote:
 

When you try to delete a VPP asset which is being referenced by a specific page EPiServer warns you beforehand giving you the PageReference(s) of the page which is referencing the specific asset, you could reflect the EPiServer codebase to see how they have achieved this and use it in your implementation we had to do something similar for Pages which are referenced by other other pages and found this forum post useful http://world.episerver.com/modules/forum/pages/thread.aspx?id=13362 

DataFactory.Instance.GetLinksToPages

I hope this helps

#54637
Oct 25, 2011 11:46
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.