• 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 控制视图页面访问权限开发的问题(代码法)


    博客地址:Zealot Yin

    欢迎转载,转载请注明出处[http://creator.cnblogs.com/]

  • 相关阅读:
    tomcat启动Publishing failed with multiple errors
    oracle中merge into用法解析
    ORACLE数据库导出表,字段名,长度,类型,字段注释,表注释语句
    orcale的to_number方法
    Git删除无效远程分支
    .net core文件系统简介
    PowerShell的一些资料整理
    Jetbrains推出了一款新的编程字体Mono
    .net core程序强制以管理员权限启动
    在Asp.net Razor Pages/MVC程序中集成Blazor
  • 原文地址:https://www.cnblogs.com/Creator/p/1898097.html
Copyright © 2020-2023  润新知