Skip to main content

Questions tagged [column]

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

Filter by
Sorted by
Tagged with
40 votes
4 answers
136k 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 ...
Carel's user avatar
  • 1,000
19 votes
3 answers
6k views

set column order of fields using CSOM/REST javascript

I am creting list fields using CSOM ecma script. How do I set the column order of the fields to be displayed in the form programmatically? For eg: I have created the following fields programmatically :...
Jinxed's user avatar
  • 1,244
18 votes
4 answers
94k 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 ...
ninel's user avatar
  • 653
17 votes
3 answers
24k 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 ...
Meyer Denney's user avatar
  • 2,864
15 votes
10 answers
69k 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 ...
liron's user avatar
  • 657
13 votes
6 answers
22k 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. ...
Jalali Shakib's user avatar
11 votes
2 answers
53k 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 (...
aydinch's user avatar
  • 113
11 votes
5 answers
9k views

Can I add a start workflow link to a column in a list view?

I would like to add a link directly to a start workflow page in a column so that users don't have to go through several clicks to start a workflow. The link needs to change based on the item ID for ...
James11's user avatar
  • 473
10 votes
4 answers
12k 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 Guid("fa564e0f-0c70-4ab9-...
Dennis G's user avatar
  • 4,775
10 votes
4 answers
5k 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 ...
neo269's user avatar
  • 3,185
10 votes
1 answer
32k 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 code:...
Alex C's user avatar
  • 4,405
9 votes
1 answer
4k views

How many columns we can add in a SharePoint list

I have client, who has a SharePoint List with 360 columns(including default columns). My questions are How many column we can add in a SharePoint list? If is there any limit, why didn't it throw any ...
P S's user avatar
  • 4,817
8 votes
3 answers
46k 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 ...
Pete's user avatar
  • 639
7 votes
3 answers
12k 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?
Abe Miessler's user avatar
  • 6,755
7 votes
1 answer
9k views

If custom field exists or not

I got one custom boolean column/field which I want to check if it exists or not before checking its value, currently I am using this code but it ain't working like it should, using (SPWeb web = ...
Muhammad Raja's user avatar
7 votes
3 answers
2k views

Searching by a site column

I am in a SharePoint online environment. I have created a site column as part of a content type. That content type is assigned to a document library. The site column has been added as a refinement. ...
Cosmo Dev's user avatar
7 votes
1 answer
3k views

Multi line text field with unlimited length in document libraries allowed

What I am doing: Migrating Documents to SharePoint Online using PowerShell Script. Once document is uploaded I am simultaneously setting property values. Case: In a Document Library, I have a field ...
Asad Refai's user avatar
  • 5,981
7 votes
2 answers
4k 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 ...
Luka's user avatar
  • 71
6 votes
2 answers
3k views

Is there a tool that helps with Modern UI column formatting?

It seems like the new column formatting JSON-based solution is much more inferior in comparison to the old client-side rendering with JSLink. I am mostly talking about dev experience. For example, ...
Denis Molodtsov's user avatar
6 votes
3 answers
5k 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 ...
Perrin255's user avatar
  • 193
6 votes
4 answers
1k views

Soap + Rest: Trying to understand differences for selecting fields between the two

I'm working on a Java-Application that integrates with SharePoint. The different SharePoint services are currently requested via the SOAP API. I am now working on an abstraction layer to also ...
Dave's user avatar
  • 191
6 votes
3 answers
69k views

SharePoint Online, Change Column Widths On Custom List

I have created a Custom List via Importing Excel Spreadsheet. How do I adjust the column widths? I tried to follow the below link, (my view is AllItems.aspx) and it never shows me the menu outlined ...
EnigmaMatter's user avatar
5 votes
5 answers
3k views

How to make a Column hidden in SP List Item View?

I have a column called "Employee Email" in a custom list. Is there any option to make the column hidden while viewing the item?
riz123's user avatar
  • 145
5 votes
3 answers
22k 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. ...
motionpotion's user avatar
  • 2,247
5 votes
4 answers
10k 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 ...
Jeff's user avatar
  • 242
5 votes
3 answers
15k 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 ...
user avatar
5 votes
2 answers
8k views

Hide "add column" in Sharepoint 2013 List

Is there a way to hide the last column which is always the "add column" (with a little "+" sign in it)? I have changed the "management of content types" to "no". I cannot (do not have access to) use ...
Tricia Schooling's user avatar
5 votes
3 answers
34k views

How to increase the number of characters limit in hyperlink column type

I am using sharepoint 2013. I have column type Hyperlink in a list. It is not taking more than 255 characters for the url. Can I increase the limit? How can I do this using js?
Rupa's user avatar
  • 51
5 votes
2 answers
16k views

Validate a SharePoint list column with regular expression

I have a list. I want add a column for list with this format : XX-XXXX How to set this Validate for column? i use this link , but don't work for me.
ar.gorgin's user avatar
  • 1,238
5 votes
1 answer
13k views

Check if a Date field is greater than another Date field

I am working on an issue tracking list and I added two custom fields of type Date/Time which allows date only, as follow: Plan start date. Plan end date. How can I check that the start date is ...
John John's user avatar
5 votes
2 answers
35k views

Get other field value in JSON column formatting

I've been looking into the new nice JSON column formatting functionality in SharePoint Online. I cannot find a way to include values from other columns in my display result. This should be a very ...
Gil Roitto's user avatar
5 votes
2 answers
10k 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 ...
NoMoreMrNiceGaius's user avatar
5 votes
1 answer
8k views

What does the "Copy Source" column mean in a document library/list?

Pretty basic one here. Google borks out. I have a document library, and one of the columns is named "Copy Source". What does the data in the column mean?
sennett's user avatar
  • 175
5 votes
1 answer
6k views

Can I prevent duplicates to a SP2013 list with a validation formula?

I have a SharePoint 2013 list and want to use 2 columns as sort of a natural key on the list, so when a user enters a new entry, if these 2 columns combined match an entry already in the list, it won'...
gev125's user avatar
  • 183
5 votes
4 answers
8k 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 ...
Modery's user avatar
  • 547
5 votes
2 answers
10k views

JSLink Client-Side Rendering Not Functioning on Custom List

I tested out the use of JSlink on the homepage with a demo list & it worked fine. I then used the same JSLink on the Demo List itself but images did not render. Any ideas on what I'm missing? ~...
Becki's user avatar
  • 61
5 votes
7 answers
10k 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 ...
Xavin's user avatar
  • 63
5 votes
2 answers
11k views

Create auto generate sequence number column

How do I change the default "Title" column in SharePoint 2013 into a column which have sequence number generate automatically? Example as below: PO-15-2001 PO-15-2002 PO-15-2003
Yuges's user avatar
  • 453
5 votes
1 answer
911 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 ...
Dylan Cristy's user avatar
  • 12.7k
5 votes
1 answer
1k views

SharePoint Bug? Conflict Error when saving a Page with a "Required" DateTime field in the page layout

I've just recently encountered a weird error / bug in SharePoint. Here is the scenario: I have a custom column "Test Date" that is of DateTime field type. The field is configured as required. It is ...
bloodfire1004's user avatar
5 votes
0 answers
131 views

Multiple validations in a single column in 2013

I have been working on something I feel should be very simple for far too long. I have a single line text column in a list and would like to employee multiple validations to the column. The ...
Damon's user avatar
  • 51
5 votes
1 answer
4k views

Phone number column validation

I want to add phone number column with below format: 1-121-343-6917, 434-5503 & 60-12-444 444 Used below method =TEXT(123456 ,CHOOSE( LEN(123456) ,"0" ...
Yuges's user avatar
  • 453
4 votes
2 answers
11k views

Rest API - Get list items by column value

Assuming there is a list of Students with their zip-codes in one of the columns, what is the query string needed to get only students with a certain zip-code? So far here is what I've got: site.com/...
pzirkind's user avatar
  • 345
4 votes
1 answer
2k views

Giving description to Name column Document Library

I have observed that while inside a document library we can provide descriptions to columns, which shows up under the input next to the specific field. But as 'Name' column is a system column in ...
mohd tahir's user avatar
  • 2,406
4 votes
3 answers
11k views

Field Modified shows date, but no time

In a view of a document library I have the field "Modified" and this is showing only dates but no time. I would like to display the time aswell. From my understanding it is ill advised to alter this ...
user3463093's user avatar
4 votes
3 answers
2k views

Set default value of Article Start Date to [Today] with CSOM

I'm struggeling with setting the default value of ArticleStartDate date-time column using PowerShell and CSOM. Bakground: I have a content type, used by a page layout, inheriting from Article Page ...
Robert Lindgren's user avatar
4 votes
4 answers
3k 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 ...
Ievgen's user avatar
  • 360
4 votes
1 answer
14k 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 ...
Joe's user avatar
  • 41
4 votes
4 answers
266 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 ...
Abe Miessler's user avatar
  • 6,755
4 votes
1 answer
451 views

Column Formatting using JSON: Get value of the column "CheckoutUser"

I´m trying to check the value of the column "CheckoutUser" with json. ""style": { "min-height": "35px", "margin-top": "6px", "display": "=if([$CheckoutUser] != null, 'block', 'none')" }" ...
Perka's user avatar
  • 153

1
2 3 4 5
23