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

learn more… | top users | synonyms

1
vote
2answers
69 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
58 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
32 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
19 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
25 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
25 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
0answers
19 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
42 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
24 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
25 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
34 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
0answers
104 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
44 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
146 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
201 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, ...
1
vote
0answers
904 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 ...
0
votes
0answers
211 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 ...
1
vote
1answer
202 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 ...
1
vote
1answer
862 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 ...
1
vote
1answer
229 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
79 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
149 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
71 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
37 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 ...
2
votes
2answers
450 views

How to programmatically get questions from a Survey

The question is quite simple: how can I get the list of questions from a Survey?
1
vote
0answers
331 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
101 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 ...
2
votes
1answer
342 views

Modified vs Last_x0020_Modified

Which is the difference between the fields: Modified and Last_x0020_Modified in a SharePoint list item ?
2
votes
1answer
161 views

executeQueryAsync fail on Chrome

I am using SP.ClientContext (JS library) to update some item's fields. It is working fine on IE but on Chrome I get this error (displayed as alert): Request Failed, status code 0 text '' The ...
0
votes
2answers
97 views

How retrieve custom fields only when using SPListItemCollection?

Hi with following code I am retrieving a DataTable from a List: using (SPSite site = new SPSite("http:...")) { using(SPWeb web = site.OpenWeb()) { ...
3
votes
1answer
66 views

NewFormUrl stops user field from saving data

I have a custom content type inheriting from document set. The content type has various # of fields, including two user (e.g. Person or Group) fields. <Field ...
0
votes
1answer
147 views

get all possible value for lookup field

I've a site column define in choice and with two possibles values. FR NL I'd like to retrieve this two values. i've tested this to get the spfieldlookup but now i'm blocked to get all values: ...
0
votes
2answers
273 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 ...
1
vote
1answer
28 views

remove column from showing up in document properties

Which property in the object model do I use to tell an SPField not to show up in the document properties in Office integration? I tried ShowInEditForm but that didn't work. i want my Status column to ...
1
vote
2answers
374 views

New field is not accessible via Powershell

I have a list "Orders" in SP, where I have some data. The list definition and instance were previously created in Visual Studio and then successfully deployed. Today I've opened VS again and added ...
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
145 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 ...
2
votes
0answers
232 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
46 views

Retrieving columns created by user not built in columns

I want to retrieve columns in SPList which are created in the UI not the built in columns, I tried with the !field.FromBaseType but it's not working, I tried with the ...
0
votes
1answer
1k views

How can I set/select a field in the display form?

I'm in a SharePoint Display form and want to do some calculations on the client's side to populate a blank single line of text field. In an edit form, to set and select my value I have something ...
3
votes
3answers
2k views

How can I get the status of a Workflow in C#

I need to get the status of a Workflow programatically. Things i tried: item[workflowName] - gave me a "8" altough the workflow is completed (seems to always return 8, I don't know why) (was not ...
1
vote
1answer
775 views

How to get username through REST

I am currently working with a task where you have a SPList in one farm that holds some data that we need to aggregate into a view on another farm. Therefore I am working on a Visual Web Part that ...
4
votes
2answers
244 views

Get field values from SiteMapNode when getting Items from PortalSiteMapProvider

I'm trying to query my list using PortalSiteMapProvider. Here is my Code: public List<string> GetChachedItems(string webUrl, SPQuery query) { SiteMapNodeCollection nodeCollection = ...
2
votes
0answers
212 views

Custom field XSLT Rendering Issue in SP 2007, Works on 2010

I have created a VS 2008 WSP builder solution. IN that i have a custom field which has a XSL for list item view rendering using XSLT. This Solution does not render the image or hyperlink in SharePoint ...
1
vote
1answer
1k views

How to set the default value to sharepoint date time field programmatically?

I want to set the default value for the sharepoint's built-in field ArticleStartDate programmatically. But I am unable to do so. My code is as follows: SPField articleDate = ...
0
votes
1answer
349 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
131 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
363 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 ...