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

learn more… | top users | synonyms (1)

1
vote
1answer
156 views

Non-global fields for custom content types?

I've been tasked with creating a fairly complex system in sharepoint 2010. Coming from a background of from-scratch .NET applications, I'm used to defining tables with their own "local" columns. My ...
0
votes
1answer
1k views

Update column in document library

I am using this to upload documents to sharepoint library. Is it possible to update managed metadata type columns after adding files to document library. if yes, how. I am using SP 2010 and ...
1
vote
1answer
2k views

How can I add a hyperlink to a field contaning plain text?

I'm using SP Foundation 2010, with severly limited development permissions. I'm operating as a site Owner in a user area, so access to Designer, Visual Studio, etc. is limited and I'm looking for ...
1
vote
0answers
215 views

Week number formula for date and time column

What calculated field formula would show me the week number for a date and time like this: 5/27/2012 6:00 AM All the formulas I found are only for dates.
0
votes
1answer
208 views

How to use a hyperlink column in a workflow email

I'm creating a workflow "Send an Email" action in SharePoint Designer that needs to use a "Hyperlink or Picture" column from the Current Item. Whenever I select the "Hyperlink or Picture" column ...
1
vote
2answers
2k views

How to validate if entered text for a column is in Upper Case

I need to validate if the text entered in a text column is written in UPPER CASE.
2
votes
1answer
440 views

Problems adding Date & Time values to a comparison using IF in a calculated column

I'm trying to compare a date by using =if([Modified]<DATE(2012,2,8),"Outdated","Updated") and it works just fine, but I have a problem with trying to add time to the comparison. What I need is to ...
0
votes
1answer
320 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 ...
2
votes
1answer
4k views

Make a list's column searchable

I have a normal custom list, I want somehow to enable the end user to do search on one of the list's columns I've found this, but im looking for something simpler than this Sharepoint server 2010
1
vote
2answers
696 views

Include Column Values in Content Editor WebPart

We want to create sites based on a site template that we're defining. We are planning on including a hidden list (containing only 1 row) with structured metadata related to that site i.e. a columns ...
2
votes
1answer
231 views

why updating formula, title in large list/library programmatically takes really long time

I have to update formula of calculated field. I wrote method for that, it is working fine and is updating formula as well. But it takes really long time to update formula in large library ie library ...
0
votes
4answers
786 views

How to fix width of column in SpGridView?

I have a spgridview with dynamic column. I want fix width and if the content is a part of it is displayed. I use this code but don't work for me . BoundField col = new BoundField(); col.HeaderText ...
1
vote
1answer
1k views

How to set anchor tags href value using SharePointWebControls:FieldValue column?

I am trying to set the value for href attribute of an anchor tag in one of my SharePoint Publishing Site layout pages. I need to set the value to the value stored in one of the columns in page's ...
3
votes
1answer
9k views

2010 Column Validation Formula

This formula works fine when adding a new list item: =[Class Date]>=TODAY()+3 Basically ensuring the user selects a date greater than two days away from current date. I don't want the formula to be ...
0
votes
0answers
509 views

Show/Hide Fields (as in “add more”)

To no avail, I have tried to use jquery to show and hide fields based on the value of a calculated field. It works on NewForm, EditForm, but on DisplayForm. I used ...
2
votes
2answers
4k 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
348 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
1k 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?
2
votes
1answer
1k 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
1k 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 ...
6
votes
3answers
32k 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
71 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
3k 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
6k 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
417 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
7k 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
352 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 ...
1
vote
1answer
903 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
468 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
3k 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
407 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
306 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
895 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
266 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
395 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
3k 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
1k 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
76 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
641 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
4k 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
778 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
476 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
1k 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
263 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 ...
2
votes
2answers
8k 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
339 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 ...