Tuesday, January 6, 2009

Hiding List form fields by user rights in Moss 2007

Limiting presentation of data based on user rights (NOT the same as roles --
that may be trickier).

There are Codeplex projects that offer some field-by-field visibility and editability controls; see

http://www.codeplex.com/SPListDisplaySetting

And

http://www.codeplex.com/sptoolbasket

and possibly others.

-- Joshua

------ Forwarded Message
From: Laura Laura <laura.rogers@healthsouth.com>
Reply-To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Date: Wed, 24 Dec 2008 19:47:51 -0000
To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Subject: [sharepointdiscussions] Re: Hiding List form fields by user rights
in Moss 2007


I did something similar, and to hide and show rows (fields) of the
custom form according to certain permissions, you can use the
Conditional Formatting feature!

After you've inserted your custom form into the page in SharePoint
Designer, here's what you do.
In this example, I want to only show this field to people who have
"Approval" rights on the list:

1. Select the whole row that contains the field that you want to hide.
2. In Conditional Formatting, click <Create> and choose <show content>
3. Click <Advanced...>
4. In the expression box, put:
ddwrt:IfHasRights(16)

5. Click OK twice
6. Where did I get this mysterious "16" number?

http://www.wssdemo.com/blog/archive/2007/08.aspx
<http://www.wssdemo.com/blog/archive/2007/08.aspx>

Someone named Ian has listed all of the types of rights, and the
associated number. For example, "edit" is equal to 4.

Laura Rogers



--- In sharepointdiscussions@yahoogroups.com, "Tom" <tomsrig@...> wrote:
>
> Is there any way, using SharePoint Designer, to make a standard lists
> form field visible or invisible by user rights?
>
> I have the following Example list:
>
> Name
> Address
> Phone Number
>
> I want to make the phone number field in the form invisible to some
> users and visible to others.
>
> I want to do the same in the Edit Item form.
>
> Any ideas?
>
> Why did MS leave out the capability to make fields in forms
> invisible/visible per user access rights?
>




[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sharepointdiscussions/

<*> Your email settings:
Individual Email Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/sharepointdiscussions/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:sharepointdiscussions-digest@yahoogroups.com
mailto:sharepointdiscussions-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
sharepointdiscussions-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/


------ End of Forwarded Message

Can folder metadata be displayed in columns?

This should be an FAQ...

Adding custom columns to a folder type makes it possible (e.g.) to post status on a folder of documents.

-- Joshua

------ Forwarded Message
From: boomer4d <boomer4d@yahoo.com>
Reply-To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Date: Thu, 18 Dec 2008 16:41:01 -0000
To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Subject: [sharepointdiscussions] Re: Can folder metadata be displayed in
columns?

You can do this by creating a custom site content type.

Go to Site Settings and the under Galleries select Site Content Type.

Click Create

Give your new content type a name and description

For the parent content type form select Folder Content Types

For the Parent Content Type select Folder

Select a content type group to put your new content type in. I
usually use Custom for this.

To add columns to your new content type click the "Select from
existing site columns"

Select columns from Core Contact and Calendar columns

Add the contact columns you want to see for your employees.

I haven't done exactly this but it should work. As with anything
custom I strongly recommend you try this in a development environment
first and see if it fits your needs and doesn't break anything. I
believe that would be a YMMV kind of thing ya know?

Hope that points you in the right direction.


--- In sharepointdiscussions@yahoogroups.com, "robtbenz"
<robtbenz@...> wrote:
>
> I am owner of a sharepoint 7 document library consisting of one
folder
> per company employee. In each employee's folder, the employee's
> resume, job description, and other documents reside. Only the
employee
> can edit them.
>
> I want to display contact info on each employee, in columns, next
to
> the folders. (call it 'folder metadata'.)
>
> But I can't figure out how to get folder metadata into those
columns.
> When I choose Actions\Edit in Datasheet, all the column cells are
> locked as read only. There's no way to enter any folder metadata.
>
> Whereas, if I open any folder and view the documents inside it, the
> columns become editable.
>
> What am i missing? How do I set up columns that can contain folder
> metadata?
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sharepointdiscussions/

<*> Your email settings:
Individual Email Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/sharepointdiscussions/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:sharepointdiscussions-digest@yahoogroups.com
mailto:sharepointdiscussions-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
sharepointdiscussions-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/


------ End of Forwarded Message

Add a customized column in Blog List

This is a great tip on extending the Blog (and perhaps other lists?) It appears to require MOSS, not just WSS.

-- Joshua

------ Forwarded Message
From: Laura Laura <laura.rogers@healthsouth.com>
Reply-To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Date: Fri, 19 Dec 2008 22:10:25 -0000
To: "sharepointdiscussions@yahoogroups.com"
<sharepointdiscussions@yahoogroups.com>
Subject: [sharepointdiscussions] Re: Add one more customize column in Blog
List......

Create a new site column (instead of on the list level). For column
type, select "Image with formatting and constraints for publishing".

Then, add that new column to your blog. See if this gives you the
results you're looking for.

Laura Rogers
Come see me at the SharePoint Best Practices conference
(www.sharepointbestpractices.com)

--- In sharepointdiscussions@yahoogroups.com, santhosh babu
<santhmon@...> wrote:
>
> Dear all,
> Â
> Â Â Â
> I have added a one more column in my blog list.
> The column Type is a picture.
> Â
> I have added a new post, the picture column show as a web address.
> I need to display like an attachment field.
> Ho w to change the column.
> (I need to upload a image in local system to server)
> Â
> Regards,
> Santhosh
>
>
> Bollywood news, movie reviews, film trailers and more! Go to
http://in.movies.yahoo.com/
>
> [Non-text portions of this message have been removed]
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sharepointdiscussions/

<*> Your email settings:
Individual Email Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/sharepointdiscussions/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:sharepointdiscussions-digest@yahoogroups.com
mailto:sharepointdiscussions-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
sharepointdiscussions-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/


------ End of Forwarded Message