cancel
Showing results for 
Search instead for 
Did you mean: 

KM Navigation iView: how to remove the context menu

Former Member
0 Kudos

Hi SDN,

I created a KM Navigation iView by duplicating the standard ConsumerTableProfile.

Everything is working fine and the documents are displayed in a tabular format. But the problem is a context menu is displayed beside the documents. Can any one suggest me how to remove the context menu (Containg: Create link, clipboard, details etc)beside the document. I have given the read permission to that user.

Regards

Basha

Accepted Solutions (1)

Accepted Solutions (1)

former_member206159
Active Contributor
0 Kudos

you need to do the changes in your layoutset.

Find out the layoutset that you are using from the KM Navigation iview properties.

Then navigate to System administrator -> System Configuration -> Knowledge Management -> Content Management

in that go to User interface -> Settings-> Layoutset

Search for your layout set and then click on the Resource Renderer List, Find the Resource or Folder or Link Command Group and disable them by setting the Command Display to OFF.

If your layout set is Standard one, then my suggestion is make a duplicate of it and do the changes. Finally use that Layoutset in your KM Navigation iview.

Raghu

Former Member
0 Kudos

Hi Raghu,

Thanks for your quick reply. I am using the duplicates only. When i set the Command Display to OFF the context menu disappers for all the sub folders and the documents in it, but for the root folder to which the KM Navigation iView is set have the context menu. Can you tell me what more to me set.

Regards

Basha

former_member206159
Active Contributor
0 Kudos

You can do that in the iview properties itself

open your KM Navigation iview as object and in the propery Editor .. select Appearance - Tray

then deselect all the context menu properties you want. Set all as no.

Raghu

Former Member
0 Kudos

Hi Raghu,

I hope you have mistaken me. I am not talking about the iView properties.

Actually i have KM Folder which consits of subfolders. I created KM Navigation iView pointing to the root folder. So previously the context menu appears beside the documents and the sub folders. But now the context menu appears for the root folder but not for the subfolders and all the documents. so how to remove that context menu to that root folder also.

I am using duplicated(z_consumertable) of standard Consumer Table. With the following properties

Show write-protect notice: checked

Enabled for presentation settings: unchecked

Screen Reader enabled: unchecked

Fallback Layout Set for Screen Reader: z_consumertable

Layout Controller: Not set

Collection Renderer: AppDocumentCollectionRender

Resource Renderer: z_LinklistResourceRender (Where Command dispaly is off)

Thanks in Advance

Regards

Basha

Former Member
0 Kudos

Hello Basha,

The context menu you are trying to remove is part of the breadcrumb, there's no standard way

to toogle the context menu on/off on breadcrumbs, however it's possible to have an empty command

group for the context menu.

In order to do so go to your layout set zConsumerTable, check its Collection Renderer settings,

I've noticed your collection renderer is AppDocumentCollectionRender, but could be any other,

I am using the standard ConsumerTableCollectionRenderer, anyways my point is, have a custom

collection renderer for it.

On the collection renderer settings you have two options:

- make breadcrumbs invisible (not a good idea since would kill navigation)

- change the collection command group (pick this one)

Hint: if you change Collection Command Group to Not Set portal will use some default command group and you will still have the context menu there, instead change to AppEmpty

Hint2: in Displayed Properties if you remove the rnd:action parameter you won't need to have a custom Resource Renderer

since this would remove the context menu for the collection items

For Eg.:

default entry:

rnd:icon,rnd:displayname(contentLink)+rnd:action,contentlength,col:rating,rnd:collaborationstatus,modified

modified entry:

rnd:icon,rnd:displayname(contentLink),contentlength,col:rating,rnd:collaborationstatus,modified

good luck!

regards,

Rafael

Former Member
0 Kudos

Hi Rafael,

Thanks for your support. As said by you i have changed the following properties.

in Z_AdminColletionTreeRender :

Mass Command Group: AppEmpty

and in Z_LinkListResourceRenderer

visibility properties(default value is this) : rnd:icon+rnd:displayname(contentLink) , i made it blank.

But still the context menu is displaying.

Please suggest me what more need to be done.

Regards

Basha

Former Member
0 Kudos

Hi Basha,

you need to change the Collection Command Group property not Mass Command Group

regards,

Rafael

Former Member
0 Kudos

Hi Rafel,

I don't find Collection Command Group property in my Z_AdminCollectionTreeRenderer.

Regards

Basha

Former Member
0 Kudos

Hi Rafel,

I have changed Collection Command Group of Collection Renderer: Z_AppDocumentCollectionRender to AppEmpty. But still it doesn't work.

Regards

Basha

Former Member
0 Kudos

It should work, could you please provide me the following data:

1. LayoutSet name

1a. Layout Controller name

1b. Collection Renderer name

1c. Resource Renderer name

2. Into Collection Renderer

2a. Flavor

2b. Base Settings+

2c. Mass Command Group

2d. Collection Renderer

2e. Collection Command Group

2f. Displayed Properties

3. The KM Navigation iView

3a. Layout Set

3b. Layout Set for Root Collection

it's probably one of the items above

regards,

Rafael

Former Member
0 Kudos

Hi Rafel,

Thanks for your support. Please find below the parameter values.

1. LayoutSet name : Z__ConsumerTable

1a. Layout Controller name : Not set

1b. Collection Renderer name : Z_AppDocumentCollectionRenderer

1c. Resource Renderer name : Z_LinkListResourceRenderer

2. Into Collection Renderer

2a. Flavor : List

2b. Base Settings+ : Not set

2c. Mass Command Group : AppEmpty

2d. Collection Renderer : CollectionListRender

2e. Collection Command Group : AppEmpty

2f. Displayed Properties : it is blank

3. The KM Navigation iView

3a. Layout Set : Z__ConsumerTable

3b. Layout Set for Root Collection : it is blank

Thanks&Regards

Basha

Former Member
0 Kudos

Hi Rafel,

After changing the flavor property of Z_AppDocumentCollectionRenderer to Not set. The context menu disappeared.

Thanks for your heartful support. Points have been awarded.

Regards

Basha

Answers (0)