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

learn more… | top users | synonyms

0
votes
0answers
44 views

Title field is reset when I create a template (list, site, etc.)

In a rush, I changed the "Title" field within my custom list on the "item" content type. I had done this previously and clicking "title" on the content type had let me edit it at the list level. But ...
0
votes
2answers
46 views

powershell : create column in a group

Like described in the title, i'm writing a powershell script that create a content type and some column. The issue is that my columns are not in the specified group but in group "custom column" Here ...
0
votes
0answers
21 views

Changing Field Type of a column

Is it possible to change Field Type of a column from TaxonomyField to Single Line of Text? It is a SharePoint online solution.
0
votes
2answers
53 views

Is there a way to find a unique internal name in a SPFieldCollection without a try catch?

The method SPFieldCollection.GetFieldByInternalName throws an error if it can't find the field with the given the internal name. Is there a way to determine if a field with an internal name exists ...
0
votes
0answers
73 views

Cannot Get custom properties in BaseFieldControl

A have a custom field for cross site lookup. At the creation, i have to save the webId the ListId and FieldId, right now everything works. But in the Field Class i cannot save this properties and at ...
0
votes
1answer
191 views

Change Display name for a Site Column

Following is my script to change display name for a Site Column. However when I look at display name it still remaining unchanged(in Schema). It only updated title not display name. $w = Get-SPWeb ...
0
votes
0answers
99 views

Adding custom PublishingRollUpImage to pagelayout

Is it possible to create your own PublishingRollUpImage. Do I need to map Crawl properties with new Managed Properties to make the new one act like a PublishingRollUpImage when it comes to search ...
0
votes
1answer
202 views

adding link to SummaryLink field using Powershell not working

I have created a Summary Link field and added it to a page layout and created a page based on this page layout. I have tried to add links to the summary link using powershell but the links do not ...
0
votes
1answer
66 views

How to add clickable and filterable user field for users not in site

I have users in string like "Mikhail Pushin" and I want to add clickable links to users in a column of list item. Also I should be able to use filtering on this user column. Unfortunately, I can't do ...
0
votes
0answers
6 views

showing ModifiedBy field on Page Layout [duplicate]

I have created page layout using VS 2012 for publising pages. Ho do I add a field to the Page Layout which shows who has modified the page last time.
0
votes
1answer
179 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" ...
0
votes
1answer
140 views

Saving values of multiple TextFields in one SPField

I've written a custom SPField which extends SPFieldText. This Field allows the admin to create a column with a cloze-text, where a user has to fill the missing words. The admin marks the positions for ...
0
votes
0answers
30 views

Hide Field on Specific SPListItems

I am trying to figure out if I can hide/show a field for specific list items using the SP object model. I am aware that you can set the SPField.Hidden property however it appears as though this does ...
0
votes
1answer
191 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" ...
0
votes
1answer
154 views

Editing SPFieldMultiColumn and saving updated value

I can get a reference to my SPFieldMultiColumn var documentLinkFieldValue = listItems[i]["DocumentLink"] as SPFieldMultiColumnValue; var oField = listItems[i].Fields["Document Link"] as ...
0
votes
2answers
1k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
0
votes
1answer
159 views

Set SPBuiltInFieldId.WorkflowInstanceID value

I start worklfow programmaticaly on SPListItem (custom ContentType). When i try to save all fields but "WorkflowInstanceID", its ok. But, item[SPBuiltInFieldId.WorkflowInstanceID] = ...
0
votes
1answer
310 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 ...
0
votes
2answers
838 views

Using the FieldRendingControl for a given content type

I'm creating a webpart that acts like a new form. Based on a view I'm getting on fields and rendering them in my webpart using spfield.FieldRenderingControl. My columns are site columns, at this ...
0
votes
2answers
260 views

FieldRenderingControl of SPField throws an exception for Survey List

I have created a Survey List in MOSS 2007. The field used in the survey is of 'Choice' type. While getting the field value in a custom web part program on another page, the FieldRenderingControl of ...
-1
votes
0answers
14 views

SPFieldLookUpValue Issue

I have a class in which there is a string KeyName variable: [Serializable] public abstract class BaseItem { public Nullable<int> ID { get; set; } public string Title { ...