Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos
Introduction
This weblog is a step by step guide to creating a namespace filter for your KM repostiory.
Step 1

Create a empty portal project using wizard inside NWDS



Step 2

Select the project that was created above and using KM wizard to create the KM namespace filter.


Step 3

Open up your java file for filter. In my case it is ExcludeTemp.java. It should look following.


Step 4

Now, you need to modify the method filter(). This is where you code to hide certain files/folder by looking at their name. In my case i am hiding files with certain file extension (.back, .tmp, ... )


Step 5

Deploy your component to your portal and assign it the repository that needs to be filtered



Step 6

The changes in above step should affect the KM immediately but if it doesn't then restart your portal.
BAM!!! You got yourself a namespace filter

3 Comments