columns (fields) created using out-of-the-box column types

learn more… | top users | synonyms (1)

9
votes
4answers
23k views

Change Title (linked to item with edit menu) to different column

How can I change the column in a SharePoint list that has the link to the item and the link to the item with edit menu eg: Title (linked to item) Title (linked to item with edit menu) I want to have ...
9
votes
2answers
10k views

How do I convert SPUser to SPFieldUser?

I have a field in a list that accepts an SPFieldUser object. I have an SPUser object that I would like to populate that field with, but I cannot implicitly convert from one to the other. How would I ...
8
votes
9answers
27k views

Read-only column in a SharePoint list

I want to create a read-only column in my "Request Approval" Nintex workflow task that I sent to the user. I did the following: Created a column in my list. Field name: “Guideline” In the default ...
8
votes
4answers
2k views

List Validation does not show Error when Conditions are not met

I am using List Validation feature for a list which is working fine i.e. doesn't save the item when condition not met. However, it is not showing the error message which helps to rectify the inputs in ...
7
votes
3answers
4k views

Possible to format how numeric columns display?

I have a numeric column in a list that displays like so: 16,090 I would like it to display without the comma: 16090 Can this be done?
7
votes
4answers
4k views

How to rename title column in Document Library using code?

Everybody loves renaming columns. The title column is a favorite of mine and I can't seem to rename it via code: SPList list = web.Lists.TryGetList("MyList"); Guid guid = new ...
6
votes
3answers
26k views

Can I create some sort of Attachment column in a list?

User needs a list to track issues. They also want to be able to attach a document to this issue. If this attachment was mandatory I would be able to create a document library, but since it is not I ...
5
votes
3answers
10k views

Display the Sharepoint context menu in list items on another column instead of Title column?

In SharePoint Lists, we can define new View and select the columns that we want to show. I don't want to show the Title column but I also want to show the default Context Menu for the0 items on List. ...
5
votes
5answers
4k views

Update read-only field (“completed”) in listitem programmatically

I want programmatically update (change) a read-only field (the "Completed" column) of a listitem in a survey, but on everthing I do, I get the message that it's not possible to update a ready only ...
4
votes
1answer
12k views

More than 255 characters in multiple lines of text?

I have an InfoPath Form which submits the text of a textbox and saves it in a SharePoint list. Whenever a user types in more than 255 characters and I want to edit the element in the SharePoint list ...
4
votes
4answers
4k views

How to assign metadata to a Site Collection

In SharePoint 2010 we want to create several different Information Architecture views of our Site Collections. One idea is to use Term Store from the Managed Metadata Service as a way of creating an ...
4
votes
7answers
202 views

Permissions for List or Library Columns

Is there any way to give permission to a specific field of a list or library? I want one of my users for example cannot add or edit data in a specific column. Can I set permissions to the form and its ...
4
votes
2answers
2k views

List View Filtering on Managed Metadata Fields issue

Our client asked us to change list view filtering to not show all terms from taxonomy in managed metadata, but only those from documents in library. Currently we have two columns: We have a managed ...
4
votes
3answers
2k views

Show Modified and Created columns with Date only

I'm looking for the best way (if there is one) to show the Modified and Created columns in a list/library with the date only, so without the time. For example, instead of 1/12/2011 8:37 PM it should ...
4
votes
2answers
2k views

Add custom field to blog post.aspx page (SP 2010)

I have changed the default look of the post.aspx and default.aspx page for the OOB SharePoint Blog 2010 by using custom XSL file based on the OOB one only changed the option to show custom logo in the ...
3
votes
1answer
2k views

How to get Column Level permission in SharePoint 2010?

I require column level permissions in SharePoint 2010. In MOSS 2007 I was using SPListDisplaySetting. However, it does not work for SP2010. Anybody has an alternative solution?
3
votes
3answers
380 views

The CHOICE element contains the value within its body. What gives?

As stated on MSDN, the CHOICE element contains the value within its body. That means that in a field, if I have: <CHOICES> <CHOICE>foo</CHOICE> ...
3
votes
3answers
1k views

How to create web-related lookup field to 'pages' list?

I have SharePoint site collection 'http://microsoft.com/' with few child webs ex: http://microsoft.com/news/ I want to create lookup field to 'Pages' list. On each child web lookup field should ...
3
votes
2answers
5k views

How can I provision a list with a calculated field?

I am trying to create some fields, a content type, a list definition and a list instance in Visual Studio. All of my fields are working, showing up in the list etc. except for calculated fields. What ...
3
votes
4answers
214 views

Possible to create a column that users can upload an image to?

I'm trying to create a column in a list that users can upload a picture to. I found the Hyperlink or Picture, but this requires that users specify a URL for the image. Is there way to create a ...
3
votes
2answers
212 views

Why are some of my content type columns grayed off?

Here's what my content looks like, currently. Some of the columns are grayed off for some reason, and I can't change their visible/hidden/required status. It only happens with Integer columns. If I ...
3
votes
1answer
5k views

Referencing SharePoint list columns with spaces in names

I'm running into issues referencing column names in SharePoint Designer 2010 when the names have spaces in them. This is discussed in this blog post. For example, I've tried using the following ...
3
votes
1answer
8k views

2010 Column Validation Formula

This formula works fine when adding a new list item: =[Class Date]>=TODAY()+3 Basically ensuring the user selects a date greater than two days away from current date. I don't want the formula to be ...
3
votes
2answers
107 views

How can I identify columns independent from language?

I've got a webpart which reads several values from a list, while developing local I've got a column "Due Date", but when I upload my webpart to SharePoint online (Office 365) we have a German version ...
3
votes
1answer
2k views

Converting number field to text field results in data loss

I have the following scenario: A standard generic list with a number column. There is a large number of list items in the list - 200000. All list items have an integer number value (no floating ...
3
votes
2answers
179 views

Is it possible to copy the default value setting of a folder and its subfolders to a new folder?

I configured the column default values for one folder and all its subfolder in a Document library. I would like to repeat the same setting for a new folder in the same library. I tried to copy/paste ...
3
votes
1answer
179 views

Convert Field To FieldLookup using ClientContext

I need to get a FieldLookup from a list (already queried). First line in the below code errors out "Unable to cast Field to FieldLookup". Yes, the field I am trying to retrieve is a lookup field only. ...
3
votes
1answer
79 views

Add a user profile property as a library column

I have a few properties stored against user profiles (both standard and custom properties) that I would like to show, based on the user that created an item, in library views. For example, if the ...
3
votes
1answer
83 views

Where does SPFolder store it's “Created By” information?

Here's an odd one: I have a content type derived from SPFolder, that I am creating through code. As part of the creation process, I am trying to set the "Created By" information to be the user who ...
3
votes
0answers
93 views

How to send email to people from choice column with multiple selections

I would like to choice people from choice column with multiple selections and then send email to these people by using workflow SPD. Can I do it? I use SharePoint Foundation Best regards, Andrzej
3
votes
1answer
375 views

SharePoint Framework for Programmatically creating Fields, ContentTypes etc

I am looking for a SharePoint Framework/API which can be used to programmatically create Artifacts like Fields, Lists, ContentTypes etc using SP 2010 Object Model. The objectives are: Provide ...
2
votes
4answers
3k views

How to set columns visible only in Display Form on a Column used by a Content Type

I have a column that we will call C. This Column is associated to a Content Type (CT). If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden: If I put it ...
2
votes
3answers
3k views

Retrieve All Lists With Specific Name Using Powershell

I have a powershell script that I am trying to use to add a column (Created) to a specific view in a specific list in multiple webs. The list exists in every sub web. The view exists in every list. ...
2
votes
1answer
3k views

How do I unhide hidden column in SharePoint 2010?

I've upgraded a SP2007 to a SP2010 and now some settings have been lost. In some CQWP I need the Created column to group items etc. How do I unhide it so it is selectable in dropdownlists and displays ...
2
votes
6answers
4k views

How can I auto-increment a column?

I am working on a solution where I have a list with a column named LogIDNumber. For each new entry in the list, I would like to increment the LogIDNumber by one. I could use the ID generated by ...
2
votes
1answer
218 views

Weird behaviour when renaming “Title” column in german site collection

Today I experienced a some what weird behaviour when renaming the default "Title" column of a custom list. Note that im on a german site collection with english as selected menu language. The ...
2
votes
2answers
480 views

Column Level Security Products

I am looking for recommendations on products that handle column level security. What is the best product out there? Any input will be greatly appreciated. Thanks!
2
votes
2answers
928 views

Hide header row for specific list view

Is it possible to hide the header row, displaying column headers, for a specific view on a SharePoint 2010 publishing page? We've used this CSS to hide the column headings, but this is all or nothing; ...
2
votes
2answers
2k views

How do you create a multi-select people-picker field programatically in SP 2007?

I would like to create a people-picker user field where more than one user can be chosen. Currently, this is what I'm doing: SPField field = new SPField(contentType.Fields, "User", "Users"); ...
2
votes
3answers
792 views

Sharepoint2010 Lists Lookup

I'm creating 3 lists using Sharepoint 2010 UI. The lists and relationship are as follows: Training (parent) -> Training Instance (child, look up Training ) -> Training Session (grandchild,lookup ...
2
votes
1answer
220 views

Can't find a site column that DOES apparently exist

Well I've deployed a site column from my xml definition and upto now it's been fine. I then checked my content type (after some unexpected errors) and it's removed itself from the content type and is ...
2
votes
1answer
1k views

GetListItems - viewFields null vs. empty XmlNode

I noticed that for a particular list, calling GetListItems and passing null for the viewFields argument, I wasn't getting back all of the columns. Just a few were missing. After some trial and ...
2
votes
2answers
2k views

Sharepoint External Data field with multiple values

I need to create a list column which contains external data (from BDC). The field has to contain multiple values. But I haven't found a way how to make a external-data-field take multiple values. ...
2
votes
1answer
6k views

Change Field's DisplayName in a List

I'm trying to change the DisplayName for a field that belongs to a list. Below is the code that I'm using. using (SPSite site = new SPSite("http://sp10dev/sites/demo")) { using (SPWeb web = ...
2
votes
1answer
1k views

Managed Metadata field full path

I've added a custom Managed Metadata field in my custom contenttype but need to show the full path. Anyone knows how to do this? (if possible with xml, else with c#) XML so far: <Field ...
2
votes
2answers
6k views

Why isn't “Column ordering” available in my list settings?

I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
2
votes
1answer
3k views

How can I remove Category from the SharePoint 2010 blog posting form?

How can I remove Category from the SharePoint 2010 blog posting form? Apparently Category is a protected field cause I can't delete it, which I don't want to anyway. I just don't want Category to be ...
2
votes
1answer
42 views

Use calculated column to add target“_blank” at the end of a Web field URL

It appears I cannot configure a hyperlink column to open in a new window. I read in this post that you can concatenate a hard coded url with the title field of an item to achieve this. However, that ...
2
votes
1answer
107 views

Popup confirmation on 'status' column change

I'm looking to create a popup dialogue box when a column called 'Status' is set to 'Complete'. I want a popup box to ask "Confirm Complete?" with Yes or Cancel choices. Obviously Yes will update the ...
2
votes
1answer
1k views

Sort “Assigned To” field containing multiple values

Have assigned default column "Assigned To" for new list "Issue Tracking" with following settings: Require that this column contains information: No Allow multiple selections: Yes Allow selection of: ...