Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [column]

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

1
vote
1answer
23 views

Hide columns in spreadsheet/edit view (JS/jQuery/Cisar)

Hiding columns in normal view is ok using either of the functions: function hideColumn() { var header = document.querySelectorAll("[displayname="Column Name"]")[0].parentNode; var index = [].slice....
1
vote
1answer
20 views

Entering N/A into People and Group Column

I created a required People and Group column. Is there a way to enter "N/A" or a sample name instead of entering a active name from the AD? Its a required field can't leave it blank.
0
votes
1answer
138 views

Invalid Field Name error when creating Sharepoint page

I'm trying to create a new Sharepoint page but I am getting the following error: Invalid field name. {50631c24-1371-4ecf-a5ae-ed41b03f4499} .../Pages TECHNICAL DETAILS Troubleshoot issues ...
3
votes
5answers
13k 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 ...
1
vote
2answers
481 views

2010: Hide list column in display form if it is empty

How can a list column be hidden in the display form if it is blank?
0
votes
1answer
209 views

Filter Document Libraries based on a column name

Get-SPWeb http://sharepoint/sites/training | Select -ExpandProperty Lists | Where { $_.GetType().Name -eq "SPDocumentLibrary" } | Select Title I have this code which outputs all of the document ...
0
votes
1answer
35 views

Cannot Remove Field from Sharepoint AddIn

I have a provider-hosted SharePoint Online add-in project. In this project I have added a lookup field with name CaseLawyer and deployed the app in the site. After that, I have deleted this field form ...
0
votes
3answers
812 views

Show a document library's single column as multiple columns

I have a growing SP2013 document library. In home page, I'm showing only the Name column. Now this results in just one long column on the left side of web part and an empty expanse on the right. Is ...
0
votes
1answer
45 views

Verify Date Selected Is atleast 3 Business Days Away

We have a SharePoint site that we use to schedule customer appointments. These appointments need to be scheduled on a weekday and need to be at least three business days away, but no more than 45 ...
2
votes
1answer
20 views

Person or group column type won't allow manually typing name

I have a document that was created by someone that left the company so his name no longer appears in the pick list. (I assume this is fed from Active Directory). Is there a way to enter a name that ...
0
votes
2answers
17 views

SP Folder Status Indicator

Would it be possible to create a column on a SP folder as a status indicator i.e. review completed. Thank you.
0
votes
1answer
243 views

Using JSON data bars Column formatting for text (stages)

I am looking at using column formatting to allow us to easily identify which stage a project is in. In SharePoint online using modern views. We have 4 stages and would like to have a 25%, 50% 75%, ...
0
votes
1answer
22 views

Bring list Column headers back

Following a great tip from How can I get rid of the columns header when the style 'Boxed' was selected? I was able to hide all the column headers and everyone was happy! Until of course ...
1
vote
1answer
38 views

how do i add a column that shows what people/groups have access to that file?

I have many documents that have different permissions, I would like to have my users be able to see who else can see/edit the documents. I don't want them to be able to change the permissions just be ...
1
vote
0answers
68 views

Make column locked for editing by users in Sharepoint list

I currently have a SharePoint list that track open tickets for specific events. I have a flow that runs on this when an item is added. The flow creates an automatic due date (+5 days from when ...
0
votes
1answer
28 views

Code customizing

I have a document library with a deadline column and a status column. If the deadline expires, the date will be red (see code). Now, additionally, when the task status is closed, the date should turn ...
0
votes
1answer
2k views

Sharepoint List Calculation #Div/0!

I have a Sharepoint list which contains a field which is calculated based on two other columns. However when the two other columns both contain zeroes the result comes out as #DIV/0!. The actual ...
1
vote
3answers
3k views

Column Width in Quick Edit or Datasheet View

Is there a way to adjust the column widths or enable text wrapping in the Quick Edit or Datasheet view in SharePoint 2013? I have seen ways to set widths in the standard list view (using CSS), but ...
1
vote
0answers
15 views

Multillingual column name becomes internal name

I have a problem where a column used by a couple of content types is correctly named Document version when the user views the page in Swedish, but the display names becomes the internal name ...
0
votes
2answers
17 views

What validation code should I use such that if any Column entry is changed it shows an error ?

I'm basically trying to keep 5 columns of my list locked(uneditable) while the last column editable. I'm a beginner and thought this would be the easiest way to achieve this. Do kindly suggest any ...
2
votes
2answers
2k views

Sharepoint 2013: no attachment column available

I am having the same issue as here, but I have no "list" option in the ribbon, and therefore no "list settings" option. I am working on a list, but I am baffled by why there is no "attachment" column ...
3
votes
1answer
686 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 ...
1
vote
0answers
26 views

SharePoint 2016: filter on managed metadata column with AND operator

We are using SharePoint 2016 and have a document library with a multiple managed metadata column. In this document library we try sometimes to filter on this column. We can select 1 or more terms in ...
0
votes
1answer
14 views

Truncate with a twist

I've been browsing this site for two days now with no avail to my problem. I have a SharePoint 2013 on premise site with Designer Workflows only. This site for reasons I cannot go into is very ...
0
votes
3answers
71 views

Check SharePoint lists are identical

Is it possible to check two SharePoint lists are identical in terms of list columns(Column names and types) programmatically?
0
votes
1answer
4k views

Number formatting in Sharepoint list

I have several large Sharepoint lists that I imported from Excel, the first column of each of these lists is "Customer Number" these numbers uploaded in the form 1,000,000 and so on. I want to ...
1
vote
2answers
99 views

Set list column permission in different views of the same list - sharepoint 2016

In sharepoint 2016 I have a list with several views each targeting different audience. I need some solution to manage column permission in new/edit/display forms. I tried https://archive.codeplex.com/?...
0
votes
0answers
630 views

Formatting column making the column text to disappear in latest Sharepoint online

Formatting column with JSON makes the column text to disappear in latest Sharepoint online. E.g. if I try to use something like that: { "elmType": "div", "txtContent": "@currentField" } saddenly I ...
0
votes
1answer
112 views

Disable fields based on choice *that may have multiple choices*

Is the title weird-sounding? It is to me. But, here's my situation: I would like to disable (in some way, greying out, or whatever) certain fields in a list based upon a CHOICE field I've got at the ...
1
vote
1answer
67 views

How to create columns that pull 'Authors' and 'Last saved by' metadata from a word document

In a document library, is it possible to create a new column that pulls this data from the files properties? I’ve tried adding 'Author' from existing site columns and creating my own single line of ...
0
votes
2answers
146 views

sharepoint API rest custom column http 400

I have a list in sharepoint, where I have put the totals of the columns I am interested in. ID Count=50 Certification Count=9 I want to display these counts on another page. I have found a code to ...
0
votes
1answer
81 views

Unable to hide custom columns in Discussion Board

I have added some custom fields to a Discussion Board list in SP 2013 that are populated using Workflow. I do not want these to appear in any of the create or edit item views. I have marked the items ...
0
votes
1answer
36 views

Update existing tasks with new column and value

We want to create a new column called "Year" (Tasks > Settings > Create Column) and set a default value to "2016". Default value is already displayed when we create new task, but we have a lot of ...
3
votes
2answers
3k views

Column formatting with json

On a standard Date field that is inputted, can I display a full data format (example Friday, 23 March 2018 instead of 23/03/18) with Json to place in the column settings? Please advise
0
votes
1answer
163 views
2
votes
2answers
5k views

Calculating Fiscal Year

I am creating a document library in SharePoint 2013, where I want to have a column which shows the fiscal year (= not the date, only the year). It has to be a choice menu, since people in the ...
0
votes
2answers
33 views

Creating fields that are automatically populated based on the value in a Lookup column

I have two SharePoint lists. List #1 contains "static" information such as project number, geographic location, region, and planned inspection type. List #2 is a list that I want to use as a way to ...
5
votes
3answers
14k 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 ...
1
vote
3answers
332 views

Sharepoint traffic light

My boss wants me to make a traffic light system inside a list, which changes colour depinding on the values of a column, using javascript(has to be javascript!) in sharepoint 2013. I found a guide ...
1
vote
3answers
59 views

Sharepoint 'content type' not available as a column

I would like to quickly filter by content type (on sharepoint online) in my document library, but I can not find the column 'content type' anywhere.
1
vote
1answer
55 views

How do I edit colum in SharePoint Online using JavaScript?

Hope you're well; What is javaScript code to add on SharePoint list for showing a few lines of text per row so they all the same size where reams of text have been written this is via scroll or ...
1
vote
2answers
3k views

How to add a choice type column as a lookup in another custom list

I'm trying to add a lookup column in List A that would show Status column in List B. But the status column in List B is a "choice" and SharePoint 2010 does not allow choice as lookup. I'd prefer not ...
0
votes
3answers
49 views

SharePoint: Can’t display custom column value in Search Results

Good Day! I have the List on SharePoint Site. It’s enabled for showing in search results. I see its elements in Search Results Page. I would like to show my custom column values in Search Results. The ...
2
votes
1answer
82 views

Need assistance: JavaScript Code

Code work whell before i add to code: items[i].get_item("SITE") I can take ID from code, but not a column element. What have I do bad. Here is a code: <input type='button' id='123' value='Pokaż ...
-1
votes
1answer
37 views

JavaScript code on working on SharePoint Online list

Hope you're well; I am adding JavaScript code into content web part. However it is not working. I'm i mising something out.
0
votes
1answer
1k views

Auto-populate an existing column based on another column using data from different list

I have two lists filled with data (listA and listB). A is a list of people with column 'DepartmentName' in it. B is a list of departments with columns 'DepartmentName' and 'Building'. I want to ...
0
votes
3answers
305 views

CSS: Hide empty column on SharePoint List

How do you delete or make hidden this additional column that sticks out from the header row? Can this be done using the HTML or Content editor? See attachments below. Content Editor: <style ...
0
votes
3answers
71 views

List Column autoincrementing Identifier

I want to create sequential ID for transactions under a specific account. So, lets say I have an account XYZ. The first transaction ID should be XYZ-1. The second XYZ-2 and so on. I have a two lists. ...
0
votes
1answer
62 views

JavaScript on SharePoint list

hope you're well; What is javaScript code to add on SharePoint list for showing a few lines of text per row so they all the same size where reams of text have been written this is via scroll or ...
1
vote
0answers
84 views

New site columns not available to check in list view

I’m experiencing an extremely annoying issue with SharePoint. This is what I’ve done on our SharePoint Online tenant: Created a new modern SharePoint team site. I want to track client invoices. -...