• Moss/Sharepoint 为特定用户组设置特定视图以及可见视图,自定义列表新建页,修改页和显示页(无代码法)


    首先介绍一个简单的方法:

    SharePoint不提供视图权限的直接控制方法。
    不过可以采用另一种方式实现:
    这里先假设有两种权限的用户组;
    首先,在你希望设置权限的Custom List 或 Document Library所在页面中,编辑该页面,并添加相同的webpart,这样在这个页面中就有两个相同的webpart出现了;
    接着,为这两个不同的webpart配置不同的视图,并且在Modify Shared WebPart中输入Target Audience,即你希望哪个用户组可以看到该视图;
    最后,用SharePoint Designer打开该页面,并分别右击选中两个webpart,将它们转化为data view,然后将右边选择View的那一块删除。
    这样就可以实现不同的用户看到不同的视图了。

    下面介绍一个全面的方案:

    How to manage default view and available views for each SharePoint group in each list ? SharePoint Services 3.0 and MOSS offer a simple answer to this question : You cannot do that !
    This new feature will allow you to do this job ! How ?

    here is the solution,click  here


    First, install the setup and after, restart IIS !
    After IIS restart, go to the "Site settings" of you SharePoint site. In the "Site Collection Features", you should see an new feature name "SPViewPermissionSetting" as show as the following sceenshot. Activate it !

    SPViewPermissionSetting0.gif

    Now, select a list and go to the "List Settings". In the "General Settings" section, you should see a new menu item : "View Permission Setting (Powered ...)"

    SPViewPermissionSetting1.gif

    If you select this option, a new specific forms able you to define permissions for views. You can define, for each group :
    - the default view
    - availables views (you must check one view at least)
    - mask or display the options "Create or Modify view" in view selector menu

    SPViewPermissionSetting5.gif

    Now, if you connect to your SharePoint site with a user in one of the view customized group and you go to the list, you should arrived to the default view define for this group and see only available views.

    SPViewPermissionSetting3.gif
    ...
    SPViewPermissionSetting4.gif


    Now, let's have fun and don't hesitate to send me feedback at laurent.cotton@bewise.fr

    Requirements : The .wsp must be deploy directly on the SharePoint Server (WSS 3.0 or MOSS) with administrator's rights by stsadm command : stsadm -o installsolution (...) and stsadm -o deploysolution (...).

     

    自定义列表显示(在新建页,修改页和显示页)

    SPListDisplaySetting 解决方案地址,自己去研究。

    http://splistdisplaysetting.codeplex.com/

    这里我还找到了一篇文章关于修改这些页面请见自定义SharePoint列表新增、编辑、查看页面(NewForm、EditForm、DispForm)

    另外一些相关的页面视图权限问题请见MOSS/Sharepoint 控制视图页面访问权限开发的问题(代码法)

  • 相关阅读:
    Tsinghua dsa mooc pa1
    sctf pwn400
    sctf pwn300
    Calendar的add()方法介绍
    SQL语句基础知识
    oracle数据库中的表设置主键自增
    SQL to_char,to_date日期字符串转换问题
    SQL where 1=1的作用
    SVN使用教程总结
    由多次使用Statement实例引起的Result set already closed异常的解决方案
  • 原文地址:https://www.cnblogs.com/Creator/p/1920823.html
Copyright © 2020-2023  润新知