Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Hide Documents from CMSDesk View modes: 
User avatar
Member
Member
Blasty - 7/16/2010 3:08:02 PM
   
Hide Documents from CMSDesk
I've got 980,000 documents of a particular type that are not something I want to see when working in CMS Desk.

How do I make it so these 980,000 documents don't show up in CMS Desk anymore?

Right now I have to click List...wait for that to load a bunch of stuff I never want to see, then Change the filter to say not like the document type I don't want to see. Then I can see the pages I want to edit.

It would be nice if there was a Move node to top feature...is there? So far all I see is the move node up one spot. Which isn't gonna fly with 980,000 documents.

User avatar
Member
Member
kentico_michal - 7/22/2010 6:15:09 AM
   
RE:Hide Documents from CMSDesk
Hi,

I would recommend you to find following code in ~\KenticoCMS_55\CMSModules\Content\CMSDesk\View\Listing.aspx.cs file :

if (!dataLoaded)
{
gridDocuments.ReloadData();
}

and replace it with:

if (Page.IsPostBack)
{
gridDocuments.ReloadData();
}

If you do so, you avoid displaying documents after loading page on List tab. Then you can use displayed filter to get documents you want to see.

Best Regards,
Michal Legen