on 2012 Oct 11 1:26 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
moved to SAP NetWeaver Portal: Content and Knowledge Management by moderator
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.
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
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
Hope this helps you.. Let me know .
Rgds
Pravesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Will the same user (who will not see the Edit Locally link) have read&write access to that folder/file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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
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.
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
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.