cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Portal deactivate "Edit locally"

Former Member
0 Kudos
63

Hallo together,

in our Portal (7.01) we have integtrated iViews in the detailed navigation, which are iViews for Navigation in Collaboration Room.

Well, the target is no collaboration room yet, but folders (which contain workbooks) that are integrated in a FSDB-Repository in KM-Content.

We use this function to enable the locking function of workbooks (to avoid that two users can check out a workbook at the same time) and also

to keep the original data on a file system.

Now here`s the question: Is there a possibilty to deactivte the edit locally for some folders? A user shouldn`t be able to select the "Edit locally"-function over the context menu of a workbook (see screenshot).

Thanks for your help!

Best regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hallo together,

first of all let me thank you all for your great help and support.

We`ll try out your suggestions and I`ll let you know if we succeeded to remove "Edit locally" from the context menu.

Best regards,

Christian

anja_engelhardt2
Active Contributor
tanushsingh_parihar
Contributor
0 Kudos

Hi Christian,

You need to do the following to remove Edit Locally command from the context group if you are using the default settings:

1.Go to System Administration -> System Configuration -> KM -> CM -> (Enable Advance Mode)User Interface -> Settings -> Default Layout Profile

2.Click on the layout profile (default:ConsumerListProfile) -> Click on the layout Set(default:ConsumerExplorer) -> Click on the Resource Renderer (default:ConsumerResourceRenderer) -> Click on the Resource Command Group (default:DefaultResourceCommandGroup)

3.In the command list parameter you will find either the 'EditResourceGroup' command group(by default) or the 'edit_locally' command.If only 'edit_locally' command is present,then you can simply remove it.

4.If you are using the default settings,you can make a copy of the 'EditResourceGroup' command group and remove edit_locally command from it.

5.Then remove the 'EditResourceGroup' command group from the command list of the Resource Command Group and add the command group you created in 4 to it.

Former Member
0 Kudos

Hi Tanushsingh,

as so often you have the correct solution for me. I tried it out and it worked very well.

Thank you for your detailed description.

Another question: Is there also a possibilty to only deactivate the Edit locally button on specific folders or can I change it only for the whole portal?

Best regards,

Christian

tanushsingh_parihar
Contributor
0 Kudos

Hi Christian,

You can change the ResourceRenderer command group for the specific folder.

Open the Details Menu of the folder > Settings > Presentation > Click on the Additional Parameters tab and add the parameter along with the value.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Christian

Going through the above discussion, i guess every body tried their best to sugges you the solution.

So I thought why not me also give you the suggestion

Ok .. here we go.........

Knowledge Management provides a flexible user interface for navigating in repositories. You can influence the layout of the user interface and the commands to be displayed with the use of Layout Sets, Collection Renderer, Resource Renderer and Commands for the details menu.

 

Pls refer the following link

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c08cd729-9706-2d10-27b2-f68e0f619...

Hope this helps you.. Let me know .

Rgds

Pravesh

HuseyinBilgen
Active Contributor
0 Kudos

Hi

Will the same user (who will not see the Edit Locally link) have read&write access to that folder/file?

Former Member
0 Kudos

Hi,

yes the same user has read&write access to the folder.

Is there a way to give a user read&write access to the folder itself, but he cannot edit locally a workbook of the folder?

Thank you so far!

HuseyinBilgen
Active Contributor
0 Kudos

AFAIK not possible. Because there is no settings on Frontend and Administration backend.

Steffi_Warnecke
Active Contributor
0 Kudos

Hello Christian,

you could change the permissions of the workbook to read. This way, the user would still have the normal read/write permission for the rest of the folder content, but for this file it would be just the read permission and that way "edit locally" would be disabled.

Or am I missing something?

Regards,

Steffi.

Former Member
0 Kudos

Hallo Steffi,

thank you very much for your help.

The problem is that the workbooks are broadcasted daily. I think the permission will be overwritten every day and we had to adapt the permissions daily for every user?

By the way, you could answer in German, cause I´m from Germany, too.

Best regards/Vielen Dank

Christian

Steffi_Warnecke
Active Contributor
0 Kudos

I could, but then others wouldn't understand. ^^  Aber immer gern geschehen.

Hmm, well I thought something like that, because everyone was ignoring this simple solution. You don't work with user-groups on this? That would be easier than adding all the users and their permission seperatly.

HuseyinBilgen
Active Contributor
0 Kudos

Thanx to the Deutsch lessons in High School and Google Translate

Sprache Deutsch

Former Member
0 Kudos

You`re absolutly right, it`s more social to write in English, so that everybody and even without Google Translate can understand

To work with groups would be a great idea, but I thought maybe there is a way to hide/deactivate the Edit Locally entry in the context menu of workbooks in specific folders. This would save time and mo... well, it would save a lot of work

Best regards,

Christian

Steffi_Warnecke
Active Contributor
0 Kudos

I think, if you want to have that kind of special behaviour, you have to develop it.

Since I have not yet done any development for portal, I don't know, if this helps, but this is the java class for the command:

com.sapportals.wcm.rendering.uicommand.cm.UIEditCommand

I found it here: Content Management -> User Interface -> Commands -> edit_locally

Maybe there is even a chance to manipulate it through the parameters in that command. Though I have absolutly no idea, what kind of parameters are available.

Former Member
0 Kudos

Hi Christian,

Have you looked at modifying the Commands available in that layout? As mentions in her reply to you you can probably create your own layout set variant that removes that 'Edit Locally" command from that context menu.

It has been a few years since I have had the pleasure of looking at this in much detail, here is a link to some help guide to get you started.

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/98/dd48a9b4a197489a54187c99372bce/frameset.htm

Hth,

Simon