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

learn more… | top users | synonyms

0
votes
1answer
146 views

How to identify if the list field come from web or site col?

I have a following task in sharepoint 2007 to identify if the list fields come from the parent web or site col, this i'm planning to do with a powershell script. So what I want to do is to iterate ...
0
votes
1answer
209 views

How to get rid of a broken SPField? Field is not updatable / deletable

I have a broken field in my site collection that is not updatable / deletable. Every change that I try to make on the field does nothing - the field is in the same state as before. I tried it via UI, ...
0
votes
1answer
345 views

SharePoint OM wont' read item property

I have a list item with one field Classes which is a multiple choice lookup. I want to implement an ASPX page which contains a ListBox which is filled with values from the Classes field. The following ...
0
votes
1answer
2k views

BaseFieldControl in SPControlMode.Display not display correct values

I'm creating my own Display Form based on a view in a webpart. I'm getting the list (Document Library), and view, and then iterating through the fields, and creating a BaseFieldControl and then adding ...
0
votes
1answer
426 views

Changing SPField cause no changes

I try to change an SPField after SPList creation, but I'm not getting any results of that change. using this code: SPField oSPField = oSPList.Fields[new Guid("MyFieldGuid")]; ...
0
votes
1answer
549 views

Custom Field value not visible on a view

I have created a custom field based on SPFieldUrl. What I want, is basically just a normal Url field functionality, but I don't want it to be visible when new item is added to the list (a webpart is ...
0
votes
0answers
19 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
14 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
0
votes
1answer
21 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
0answers
12 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
32 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
1answer
18 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
19 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
0answers
65 views

Programmatically Use List Field Data in Custom Display Form: Sharepoint Designer 2010

So this should be simple, I just can't seem to find the solution, I created a custom action for a 2010 Sharepoint Sign Up Event, I have created a custom display form so that the users can press the ...
0
votes
2answers
34 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?
0
votes
0answers
90 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
0answers
133 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
0answers
131 views

How to create SP list programatically with localized titles and description

I'm trying to create a list programatically, but I need to have internal names of fields english and then change the field titles to localized ones. I've already tried many options, but still it does ...
0
votes
0answers
19 views

OnUpdated is not called on field when called with powershell

I have a custom type field, called MyCustomField, this field has some action to perform on the "OnUpdated". So when I go and update field in the UI throught the sharepoint site, and I jump into the ...
0
votes
0answers
68 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 = ...
0
votes
1answer
87 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
44 views

Execute Custom Code Or Code Behind on DataFormWebPart submit

I want to create custom form that submits entered data to a custom list and do some Extra Logic with the entered data. I also want to add some extra custom controls like Captcha etc. and be able to ...
0
votes
0answers
62 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
0answers
23 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
126 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
1answer
307 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
125 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
327 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
92 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
1answer
291 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
232 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
34 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
376 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
196 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
195 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
2answers
951 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
291 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 ...