Vulnerability in EPiServer.Forms
i am planning to do a dashboard for my episerver website, i want to list out the existing PageTypes, Pages, Blocks ,Block Types in my site.
i want to show it as
PageType CreatedBy ChangedBy
Block CreatedBy ChangedBy PageUsingThisBlock
I tried to get the code , i use criteria code to retreive but i am failed to do it, can you please give code to me. I want to display in table.
Thanks in advance
Using FindPagesWithCriteria (i'm guessing that is what u mean) this should certainly be possible.
Only thing you need is a list of pagetypes/blocktypes,.. i'm guessing things like this could be achieved with PageTypeRepository (not sure, just did a quick google).
I'm just curious, why would you want to do this? You can already view the list of pagetypes/blocktypes in admin-mode. When clicking on a page in the page-tree you can see version information. Would't a list of PageTypes/Pages and BlocksTypes/Blocks become very large very quick?
Since admin module gives the avilable page types,block types but i am preparing one dashbaord where we can see the available types and their usage.