Represents a field in a list on a SharePoint Foundation Web site.

learn more… | top users | synonyms

1
vote
1answer
2k views

Uncaught TypeError: Cannot read property 'toString' of undefined

I have implemented the jQuery UI autocomplete functionality on a input field using JSLink. It works like a charm when I test it using Internet Explorer 9, 10, 11 and Chrome. Some users are however ...
1
vote
1answer
698 views

The object has been updated by another user since it was last fetched

I am trying to update a site column on my content. When I save the changes, I get the error "The object has been updated by another user since it was last fetched." When I searched the issue, I found ...
0
votes
1answer
40 views

Allow multiple selections on Person or Group field

In SharePoint 2013 on-premise I am trying to create a Person or Group field to use it in a content type. My problem with the field is that I cannot select more than 1 person. I have been googling a ...
0
votes
0answers
14 views

How to solve a wrong webId SchemaXml property issue for aWeb/Field

Using the following Schema to provision a Field to currCtx.get_web().get_fields() via webFieldCollection.addFieldAsXml(schemaXML, false, SP.AddFieldOptions.AddToNoContentType) I've made a mistake in ...
1
vote
1answer
30 views

How to handle currency values correctly in CSOM?

I have a currency field inside a SharePoint List. When I retrieve that field the result type is "double". As it should be according to the documentation. But we all learned that double is a bad ...
4
votes
1answer
428 views

Field's TitleResource.SetValueForUICulture() does not work for the web's default language

I have a site column in my site collection whose title I change / translate with following PowerShell statement: $w = Get-SPWeb "URL to the site collection" $f = ...
0
votes
1answer
554 views

How can I make sure that if linebreaks is inserted inside a multiline textbox it gets displayed like it

I have a field that looks like this in my schema: <Field ID="{7662cd2c-f069-4dba-9e35-082cf976e170}" Type="Note" RestrictedMode="TRUE" NumLines="15" Name="Body" ...
7
votes
4answers
45k views

How to set ListItem Lookup Field value

How do I set a ListItem's Lookup field using code? SPFile file = list.RootFolder.Files.Add(destUrl, iStream, true); SPListItem item = file.Item; item["DocumentID"] = DocID.ToString(); ...
0
votes
0answers
13 views

Restrict people and groups to search for in “Assigned To” field

I have a list with an "Assigned To" field which allows to select one user or group. Since I can only choose my restriction between "All Users" or only 1 "Sharepoint Group", I have the following ...
2
votes
1answer
548 views

Copy list item field value to newly created custom column

I have the necessity to switch from using a default field to using a custom one in a number of list. I have also to "copy" the value contained in the old to-be-deleted column to the new created one. ...
2
votes
2answers
51 views

Required Field Color

How do you change the colour of either the field or the label of a required field when uploading/editing the properties of a document. The user says it is hard to see the little * ?
10
votes
1answer
288 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 ...
1
vote
3answers
2k views

Field level permission development

I am aware that there already are some questions regarding on how to implement field level permissions customization in SharePoint, such as: SP 2010: column permission Permissions for List or ...
3
votes
2answers
94 views

Calculated field based on a field in another list

I would like to create a calculated field which requires a digit. This digit must be between a Max and Min value which are two ListItems in another list. How can I create a formula for this calucated ...
1
vote
0answers
17 views

MOSS 2007 SPItemEventProperties values of fields accessed via display name or internal name

I need to access the before and after field values for the list item corresponding to an event receiver in MOSS 2007. The name of the field is Annual Salary and the InternalName is ...
0
votes
1answer
61 views

Efficient way to get all the field (column) values in an array from SharePoint List

I have to get all the field (column) values in an array from a SharePoint list. Right now I am looping through all the items in the list and creating an array. But it is very inefficient if I have ...
0
votes
0answers
50 views

Update List Fields SchemaXML

Hello maybe this is a stupid question but nevertheless I hope you can help me. I try to update the field type of a list field by modifying the fields SchemaXML. This worked for me but now something ...
3
votes
2answers
98 views

How to seen all JSOM internal fieldnames not DisplayName of Column of the list?

I know to get the Internal Fieldname from URL. But that takes long time and status bar is not always full with the url, so you have to open ze field and see in the top url what the internalfield name ...
4
votes
3answers
8k views

SetFieldValue for a TaxonomyField

I'm on a solution where I create a term with some subterms in the termstore. After that I create a sitecolumn and a listcolumn. When setting a value to the listcolumns with ...
0
votes
0answers
12 views

do i need two ways to read user fields?

trouble is, the list i'm working with has multiple user fields: one is a Type="User" field the others are Type="UserMulti" with Mult="TRUE". i'm wondering if there is a way to get a ...
0
votes
1answer
136 views

Restore a deleted field (site column)

I had to add a Content Type to a list. The Content Type contained Site Column Priority which was a drop down, and the list already had. After I added the content type I removed the old Priority column ...
0
votes
0answers
58 views

Unable to update RichTextMode from Compatible to FullHtml

As the title says, I am unable to update the RichTextMode property of the Description field on a Calendar List. I am trying to update the field so that it supports "Enhanced Rich Text". Snipp: ...
1
vote
2answers
148 views

SharePoint get field value as text

For JSOM we have a great method called get_fieldValuesAsText that returns formatted field value. The same value as user can see it in the list. I am really supprised that I can't find anything like ...
0
votes
0answers
62 views

List field manipulation based on rules

he following situation: I have got list (List A) with the following fields. Field A ->String Field B-> String Field C →LookUp to another list Field D → Calculated field Field E On creating or ...
2
votes
1answer
31 views

What is PreviousID

I have a field in my list and not sure why it has PreviousID attribute. I have the same list in the same farm but in the different web application and does not have this attribute. <Field ...
3
votes
4answers
1k views

Why does the ReadOnlyField hide the field in forms?

I have a field that I want to make not editable for the users. It's a field of type Text. I have read about doing it with javascript and content editor webbpart, but I want to do it programmatically ...
0
votes
0answers
98 views

Update Custom property of Custom Field Type

I have three custom properties in my custom field. I need to update one of the custom properties during item adding. So what i did was, in the field Control class inside the UpdateFieldValueInItem() ...
0
votes
1answer
27 views

Want to create a navigation bar from list item which redirects to another page or document

Navigation bar should get populated from List items(Hyperlink items) that maps to pages or another document. Share Point 2010
12
votes
3answers
16k 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 ...
0
votes
1answer
49 views

Create multi user selection field

how could i create a multi user field? <Field ID="{6ec181bb-e64c-40cf-9a77-48c98108e981}" Name="Field" DisplayName="MyUserField" Type="UserMulti" Required="FALSE" ...
0
votes
1answer
56 views

set field internal name with list.updatelist webservice

Is it possible to set a field's internal name in the List.UpdateList webservice? I can set the DisplayName but no matter what I try for Name it does not work. <Field DisplayName="this gets set" ...
0
votes
1answer
97 views

URL in multiline column

I've got a List and a Document Library. Both have their own content types. In those content types is a site column, a multiline one with Rich Text. In this column, I'm coding a simple link with html ...
0
votes
0answers
48 views

Auto increment Custom Field with Reset

I have a requirement to implement a auto increment field. The field has 3 components. a String Date Number The format would be something like "SampleString-YYYYMMDD-NUMBER" Based on a condition ...
0
votes
1answer
65 views

How to find the lists which are using custom columns in MOSS 2007 environment at web app level using powershell?

I have deployed a solution which creates a custom column/field to the entire web app. But the solution doesn't contain any features. Now I want to find the lists where that custom column is used. ...
0
votes
0answers
41 views

How to render a field from javascript

If I know the internal name of the field and I know the type of field, how can I render the field using the same structure Sharepoint uses to render that kind of field? For example to render a X ...
0
votes
2answers
52 views

Fields not filled with DefaultValues

As of a previous question, whenever an item is added in a list, I create a document library based on a template, and set defaultvalues for some of its fields. In Sharepoint Manager I see defaultvalues ...
0
votes
2answers
186 views

Check if required fields are filled or not in SPList programmatically

I want to check if required field in SharePoint list is filled with data or not? Which method or property should i use?
1
vote
0answers
351 views

Unable to locate the xml-definition for FieldName with FieldId

On a site collection of SP2013 on-premise farm, I found there are many similar log occur every minute. The logs are like: Unable to locate the xml-definition for FieldName with FieldId '', ...
0
votes
1answer
734 views

Yes/No Field Default value problem!

I have tried following script to set default value of Yes/No Field to Yes which is by default set to No in list Yes/No column, i get false result at last line. I have tried these values: 1 , $true, ...
0
votes
1answer
165 views

webprovisioned activatedfeature save conflict

I am having an issue when creating a WebProvisioned eventreceiver that activates a feature. However I am getting the "Save conflict - Your changes conflict with those made concurrently by another ...
0
votes
0answers
458 views

Sharepoint COM: Field or property * does not exist after type conversion

I am working on a visual web part of SP 2013 Server that allow user to change the list column properties. Everything goes fine. The error is: when I change the column type, it was successfully ...
0
votes
1answer
420 views

error when saving custom user field in a custom Page Layout

I have created a custom user field as follows <Field ID="{9B49F1A5-7FFB-400B-9B0E-0FC4D6C1417C}" Name="AMtalatFieldEditors" DisplayName="My Editors" Type="UserMulti" Mult="TRUE" ...
1
vote
1answer
535 views

How to set a UserMulti field via a UserField Control?

I have a list similar to the usual Tasks Sharepoint List and I introduced the field assigned to as a multi user field like this (I have read somewhere that with Mult option should always be set to ...
6
votes
2answers
6k views

UserMulti Field not allowing multiple inputs

I am trying to add a muliiple user site column using the following: <Field ID="{FC2612C2-1C60-45C1-949A-A49BECD8DB02}" Name="test" DisplayName="test" Group="test" Type="UserMulti" ...
1
vote
1answer
492 views

Field name already exists

All I have backed up a sharepoint site and restored to another environment. I have a specific list which I want to update the default value of a hidden field in powershell I found the field, set ...
2
votes
1answer
2k views

Create Hyperlink or Picture Column with C# (Format URL as Picture)

I am creating a SharePoint list with C# and have created a "Hyperlink or Picture" field like so: myList.Fields.add("Icon", SPFieldType.URL, true); when I add an item to the list in SharePoint this ...
2
votes
1answer
385 views

Setting the default value for a taxonomy field

I have been creating a load of site columns with powershell from a .csv file. I am now trying to create new taxonomy or metadata field: $spField = ...
1
vote
0answers
110 views

Can the hover/active borders of form fields be customized and/or disabled?

I'm really not crazy about field borders in forms. In InfoPath, you can get rid of the borders, but then the row heights jump in the browser once the form is published to SharePoint. ...
0
votes
0answers
97 views

Creating a Calculated Date Field with embedded double quotes

I have been provisioning a load of Site Colummns with PowerShell . I am however, having a lot grief with a calculated field spField.Formula = "=TEXT(DATE([Created],"mmyyyy"))" spField.OutputType = ...
1
vote
0answers
42 views

Sharepoint 2010 Adjusting lists limits to recomendations

I have huge list, which has too much fields of same type (e.g., Date and Time fields limit in list is 8, of that type I have way more). If those those limits are exceeded, list item data will be saved ...