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

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Validate a SharePoint list column with regular expression

I have a list. I want add a column for list with this format : XX-XXXX How to set this Validate for column? i use this link , but don't work for me.
0
votes
2answers
301 views

Additional column settings missing for comments column under core document columns

I have 3-4 columns with "multiple lines of text" field type in the "core document columns" group. While all of them have the full range of options available for setting the number of lines or the type ...
0
votes
2answers
755 views

Add a new column to all existing views

Is it possible to add a new column to all existing views of a list or I have to do manually for each view?
1
vote
1answer
949 views

GetListItems - viewFields null vs. empty XmlNode

I noticed that for a particular list, calling GetListItems and passing null for the viewFields argument, I wasn't getting back all of the columns. Just a few were missing. After some trial and ...
1
vote
2answers
657 views

How to add a browse button to the image column?

I have an image column in a list and I would like to add a browse button in the EditForm.aspx or NewForm.aspx so that user can browse for an image in their local computer. I have set up a picture ...
4
votes
3answers
20k views

Can I create some sort of Attachment column in a list?

User needs a list to track issues. They also want to be able to attach a document to this issue. If this attachment was mandatory I would be able to create a document library, but since it is not I ...
0
votes
1answer
64 views

Unable to find a column which is displayed in the Custom List

I have a custom list in which one column named "Status" (A look up field which is referenced in this list). is displayed with out any data. However, if I go to the menu option "Settings -> Document ...
0
votes
1answer
2k views

make custom list item column unrequired (non-required)

I have a custom content type with many required columns. The UI does not allow me to change a column from required to non-required (at least, I can't find a way to do it). Is there a way to achieve ...
3
votes
2answers
4k 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 ...
0
votes
1answer
334 views

Changing “In this Column” property of Custom Lookup field Programmatically

I am creating a LookUp Column Programmatically for a custom list which is already there, and trying to change the property shown in attached picture using C#, but I couldn't figure out whats the name ...
2
votes
2answers
2k views

Sharepoint External Data field with multiple values

I need to create a list column which contains external data (from BDC). The field has to contain multiple values. But I haven't found a way how to make a external-data-field take multiple values. ...
2
votes
1answer
5k views

Change Field's DisplayName in a List

I'm trying to change the DisplayName for a field that belongs to a list. Below is the code that I'm using. using (SPSite site = new SPSite("http://sp10dev/sites/demo")) { using (SPWeb web = ...
1
vote
0answers
277 views

Updated = calculated field based on Modified shows 1899 last update

Working with SP 2010 and had to remove the time stamp from modified. Tried at system level - no joy. Used a calculated field (=TEXT(Modified,"mm/dd/yyyy")). This works well but occasionally shows the ...
0
votes
1answer
661 views

Avoid metadata columns in SOAP response

I searched around the internet (and on this stackexchange site), but didnt find any answer. I wrote a small C# application that should retrieve some data via the SOAP webservice of a sharepoint ...
1
vote
0answers
431 views

How to create HTML column in Sharepoint?

Today one of are lab tech deleted the Java Script that would take the HTML in a list and display it. Dose anyone know what script it is? What im trying to display: <span ...
2
votes
1answer
2k views

What does the “Copy Source” column mean in a document library/list?

Pretty basic one here. Google borks out. I have a document library, and one of the columns is named "Copy Source". What does the data in the column mean?
1
vote
1answer
364 views

How Do I Rename a List Instance's Field's StaticName in FeatureUpdating?

I am creating a custom WSP in Visual Studio. This solution has several custom content types with custom fields as well as a list instance with content types enabled. Unfortunately, i need to change ...
1
vote
0answers
294 views

Rules for Transforming List Column Names into XML Element Names

I am using the ListData.svc service to pull data from several lists. Many of the column names have punctuation and spaces, so their names are transformed as they're rendered as Atom in the ListData ...
1
vote
3answers
3k views

How to add a Custom Column to a Site programmatically

I'm programmatically creating Site Collections. The only thing I'd like to add to the newly created Site Collection are some Custom Columns that I've added manually in other examples.. The code I'm ...
4
votes
2answers
2k views

Add custom field to blog post.aspx page (SP 2010)

I have changed the default look of the post.aspx and default.aspx page for the OOB SharePoint Blog 2010 by using custom XSL file based on the OOB one only changed the option to show custom logo in the ...
1
vote
2answers
720 views

Remove Select column in xslt web part

I have an xslt web part that I want to connect to another list. When I connect it to another list I get the select column that I don't want to see. How can I remove it? More info Originally I was ...
1
vote
1answer
252 views

Create a new column in a calendar programatically

When a new item is added to the event list, I would like to: Verify if the new column already exists If not create a new hyperlink column. I am not sure how to do this by code using SharePoint ...
0
votes
3answers
2k views

Custom Sharepoint List (XML Field “TimeOnly”)

Trying to Make a XML field that displays DateTime in "TimeOnly" format but for some reason, I can't work it how to use it, as there isn't no "TimeOnly" property shown in Intellisense when i type the ...
1
vote
3answers
355 views

Looking for code that will make certain columns read only

I have 4 date columns in a list that need to be read only after the record is created. Does any one have code to do this?
0
votes
1answer
2k views

Retrieving and displaying custom list column names (which have spaces in them)

I have been to Jan Tiernans blog, and figured out how to grab column names using Soap and jquery/jscript. I can't figure out how to grab custom columns with special chars though. I have read about ...
1
vote
3answers
818 views

Encrypt SSN column in a list

I need to encrypt social security column in a list. What are my options? ps: Did not find Encryption in the Tags. Actually, looking for something like this (Column Level Security, but non ...
1
vote
0answers
70 views

Using resx file in Calculated Field

Is it possible to use resource file (.resx) in tag? I made a calculated field and want to show the result in some different languages.
1
vote
1answer
426 views

Mandatory fields in discussion board comments

The whole idea behind a discussion board is that it should work as a forum I suppose. Lets say that I created a new column in the discussionbard called category and that its mandatory. Then when ...
2
votes
3answers
3k views

Page layout not showing Content type fields

I'll try my best to describe this problem as it is quite tedious. We have a sharepoint solution, in where we create Columns that are deployed through a feature. I added my custom columns to a custom ...
0
votes
1answer
612 views

Differences between a fields DisplayName and Title

What are the main differences between a fields DisplayName and a fields Title? Why are they sometimes different and sometimes the same? What is the best practice regarding naming the DisplayName and ...
2
votes
1answer
396 views

List settings > adding Columns > Yes/No or drop down

I created an InfoPath form for policy acceptance. Initially I set a column in the list as boolean (Yes/No) whether users accept or denied the policy. But now the business unit wants a third category ...
2
votes
1answer
880 views

Managed Metadata field full path

I've added a custom Managed Metadata field in my custom contenttype but need to show the full path. Anyone knows how to do this? (if possible with xml, else with c#) XML so far: <Field ...
2
votes
2answers
255 views

Problem retracting custom fields

I have this project with custom field for a content type. When I deploy the first time after creating the new field everything is fine. Once i retract the solution my field is the only one left on ...
1
vote
2answers
4k views

Why isn't “Column ordering” available in my list settings?

I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
2
votes
1answer
306 views

Have different column title in Edit View form and view itself

I'm using C# code to automatically create a read-only Note column that is a truncated version of an existing Note column. list.Fields.Add(field.Title + " (truncated)", SPFieldType.Note, false); At ...
0
votes
3answers
740 views

How do I create a sequential workflow in visual studio to update a list column?

I have list in SharePoint with a field that I want to auto-populate based on values of other fields in the row. I would normally use a calculated field but the calculated field doesn't have ...
0
votes
1answer
300 views

Change Identifier for BDC field in use

UPDATE: After searching around, it seems what I am looking to change is the identifier for a given entity. Is this done simply by exporting the application definition, changing it and then importing ...
3
votes
2answers
1k views

Show Modified and Created columns with Date only

I'm looking for the best way (if there is one) to show the Modified and Created columns in a list/library with the date only, so without the time. For example, instead of 1/12/2011 8:37 PM it should ...
1
vote
0answers
272 views

Change the default “Name” column in a Form Library

Is it possible to change the default "Name" column that is created in a form library. One method I saw is creating a content type that inherits from this column. Could someone provide instructions on ...
1
vote
2answers
656 views

Adding a conditional column broke the entire page

I added a conditional column to a list, it had a complicated algorithm to determine the value. I'm sure I had a syntax error in it, however now I can't even access it. When I try to view the list, I ...
2
votes
1answer
1k views

Multiple File Columns on a list

A client of mine need a list where each item can have 3 attachments. Each attachment would be tied to a column. For example, if the list is called "Meetings", it would have two file columns; ...
2
votes
1answer
1k views

External list with friendly display names for columns

I have an external content type that I'm accessing through a .NET assembly. So I created a BDC model with Type="DotNetAssembly" (for now with just finder and specific finder operations). It works, ...
0
votes
2answers
1k views

Changing the order of columns in dataview webpart sharepoint 2010

I have a dataview webpart (of a sharepoint custom list), with 4 columns(I want the 4th column to appear first). How can I change the order of the columns in the dataview webpart?
2
votes
1answer
3k views

How can I remove Category from the SharePoint 2010 blog posting form?

How can I remove Category from the SharePoint 2010 blog posting form? Apparently Category is a protected field cause I can't delete it, which I don't want to anyway. I just don't want Category to be ...
2
votes
3answers
474 views

Column Level Security Products

I am looking for recommendations on products that handle column level security. What is the best product out there? Any input will be greatly appreciated. Thanks!
4
votes
5answers
3k views

Update read-only field (“completed”) in listitem programmatically

I want programmatically update (change) a read-only field (the "Completed" column) of a listitem in a survey, but on everthing I do, I get the message that it's not possible to update a ready only ...
3
votes
1answer
1k views

Converting number field to text field results in data loss

I have the following scenario: A standard generic list with a number column. There is a large number of list items in the list - 200000. All list items have an integer number value (no floating ...
2
votes
1answer
581 views

How to reference a column in another content type?

In simplified form: I have two content types representing documents and folders. Thus, content type MyFolder has parent type Folder, content type MyDocument has parent type Document. What I want to ...
8
votes
4answers
2k views

List Validation does not show Error when Conditions are not met

I am using List Validation feature for a list which is working fine i.e. doesn't save the item when condition not met. However, it is not showing the error message which helps to rectify the inputs in ...
3
votes
3answers
343 views

The CHOICE element contains the value within its body. What gives?

As stated on MSDN, the CHOICE element contains the value within its body. That means that in a field, if I have: <CHOICES> <CHOICE>foo</CHOICE> ...