zoukankan      html  css  js  c++  java
  • Column & View Permission For SharePoint List

    Project Description:
    As you already know, there is no possibility in SharePoint 2010/SharePoint 2007 to setup Columns and View permission for Lists or Document Libraries. I was told by Microsoft, that there will be a big performance issue if they create something similar to this...Hmm...:) I have worked on many projects in SharePoint 2010/SharePoint 2007 and everytime I have experienced same request from customers "We need the column and view permission". Sometimes we have created the custom forms and the problem was solved and when we needed something more complex we bought it from third party companies, however their software never works the way we (customer) want. Therefore I have tried to create something for everyone. 

    First I must to say, my solution is not perfect and I will be working on improvements, but from now on You don't need to pay third party companies for this because it's for free. 

    This Solution is only for SharePoint 2010!

    Features:
    Column Permission

    - Hide or Read Only Columns in a List Forms (New/Edit/Display)
    - Hide Columns in Views
    - Hide Columns in DataSheet Views
    - Hide Columns in Alert Me Emails
    - Specify the permission for Users, SharePoint Groups or Active Directory Groups

    View Permission
    - Disable Views
    - Hide Views in Context Menus
    - Automatically Disable Views in Custom WebPart Zones
    - Specify the permission for Users, SharePoint Groups or Active Directory Groups

    Installation:
    0. It will be better if you disable any other solutions which you use for column & view permission
    1. 
    Download the wsp file. 
    2. Everything needed is included in wsp file so you just only need to Install it.
    Management Shell:
       - Add-SPSolution c:SPGuysCustomFieldPermission.wsp
    3. After Successful Installation Deploy it from Central Administration to your Site Collection or from
    Management Shell:
       - Install-SPSolution –Identity SPGuysCustomFieldPermission.wsp –WebApplication http://intranet –GACDeployment
    4. Activate it on Site Collection.
    5. Done.


    What Need to be Done in future:
    Column Permission
    - Hide or Read Only Attachments
    Hide Created By or Modified By and maybe other Internal Columns
    - Hide columns in Export to Excel
    - Read Only columns in Edit in DataSheet or Access 

    View Permission
    - Create Settings page for Views which are used in Manually Created WebPart Zones

    Codeplex download address: http://spcolumnpermission.codeplex.com/

  • 相关阅读:
    c#web中定义全局变量,传递变量
    关于Dropdownlist 与 autopostBack 问题多级联动 例 省/市/区
    发布附件应用小研究
    dell更换同型号的主板注意
    dotnet文本编辑器控件的应用
    小结解决双网卡网关问题(route add p) 关于静态路由
    读取数据表中符合条件的记录和数目
    密码最短长度为 7,其中必须包含以下非字母数字字符: 1(转)
    Hibernate 中的核心接口与类
    什么是整洁的代码(Clean Code)?
  • 原文地址:https://www.cnblogs.com/batter152/p/4126191.html
Copyright © 2011-2022 走看看