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

learn more… | top users | synonyms (1)

2
votes
1answer
333 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
878 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
357 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 ...
1
vote
2answers
697 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 ...
1
vote
0answers
309 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 ...
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; ...
0
votes
2answers
2k 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
2answers
483 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!
2
votes
2answers
1k views

Can an event receiver update a list item before the alert email is sent?

I have a requirement to expose a list item's ID value on the "DispForm.aspx" form and all alert emails for a particular list. SharePoint is very "protective" of its IDs (or counter fields) and it ...
3
votes
1answer
2k 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
640 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 ...
3
votes
3answers
403 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> ...
1
vote
1answer
750 views

How to add columns to the User Tasks Web Part?

I want to add some columns to the User Tasks Web Part. I use WSS 3.0. Is it possible to add them?
1
vote
1answer
191 views

Can I promote a column from plain text to rich text?

If I have an existing list with a multiple-lines-of-text column, with data, can I promote that column to be rich text? I had a look in powershell and see that there's a richtext = false flag but it ...
1
vote
1answer
552 views

Add numbering to a standard list view

We're displaying a SharePoint 2010 list using a Standard View created via the browser. The items are shown in a table and the users would like a number shown for each row. The numbers column would be ...
2
votes
2answers
1k views

Is there a way to see GUID for a metadata column in a list without using a SharePoint Designer?

Is there a way to see GUID for a metadata column in a list without using a SharePoint Designer? I could have used SharePoint Designer but I can't because the customer has turned it off for some ...
0
votes
3answers
344 views

Sharepoint contenttype columns -> types

Does anybody have a list of all internal "type" names of contenttype - columns in SP2010? I am creating a custom contenttype in VS and really don't have an idea where to get them from. I already ...
1
vote
3answers
1k views

URL type column issue in SharePoint List

I am using SharePiont Server 2007 Enterprise with Windows Server 2008 Enterprise. I have a list on a page, and one column in the list is URL type. Currently, when I click the link, the URL pointed ...
0
votes
1answer
307 views

How to remove a column of a list on SharePoint

I am using SharePoint 2007 + Windows Server 2008 with SharePoint 2007's publishing portal template. I have created a list with datasheet view on a page (I add the list by adding a Web Part -> then ...
7
votes
3answers
4k views

Possible to format how numeric columns display?

I have a numeric column in a list that displays like so: 16,090 I would like it to display without the comma: 16090 Can this be done?
1
vote
1answer
341 views

Cannot cast to clientContext.CastTo<T> (Managed Client Object Model)

I am writing a method that is supposed to create a SharePoint list field. I want to be able to make my method return the newly created field. The problem that I am facing is that ...
3
votes
1answer
2k views

How to get Column Level permission in SharePoint 2010?

I require column level permissions in SharePoint 2010. In MOSS 2007 I was using SPListDisplaySetting. However, it does not work for SP2010. Anybody has an alternative solution?
0
votes
2answers
507 views

Sharepoint 2010 - Related fields in dropdowns. How to?

In my UI I have a dropdown which contains some values: A, B, C. There is also another dropdown in the page whose values depend on the selected value in the first combo. If I select A in the first ...
0
votes
2answers
452 views

Categorise an announcement and display a consistent image for that category type

This is a follow up to this question. I have created an announcements list (built in type). I want to be able to categories an announcement. i.e. Soccer, Football, Golf. I also want to display an ...
0
votes
2answers
2k views

How to add a file to a custom list

How do you add a column to a list that will allow you to upload a file? I know you can attach to a list item but you can not display this as a lookup in another list.
2
votes
1answer
3k views

How do I unhide hidden column in SharePoint 2010?

I've upgraded a SP2007 to a SP2010 and now some settings have been lost. In some CQWP I need the Created column to group items etc. How do I unhide it so it is selectable in dropdownlists and displays ...
0
votes
1answer
2k views

Column width with jQuery

ms-vh2 exists by verifying "view source" but I cant get the following code to do the tricks for me. any idea?? <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" ...
1
vote
1answer
1k views

GridView CommandField issue

I have a small problem with a GridView in my web part. I bind a DataTable to the SourceData of my GridView and check if the current user is an administrator. If he is, I will add additional ...
1
vote
0answers
78 views

Document List Indexed Column goes missing

We are currently trying to troubleshoot a problem in Sharepoint 2007 where a custom column loses the "indexed column" setting. We are trying to track this down, but has been mostly a reactive ...
0
votes
3answers
387 views

Enforce a default value AFTER creating a list item

I have a Managed metadata list column which does not have a default value. The list has a couple of items for which these columns are currently set to empty. I have set a default value to the column ...
0
votes
1answer
42 views

Use column info in another column

I am using a standard web part wich relies on html code to render an animated image. The data to create this image is stored in a column of a custom list, so i have a column with html format. What i ...
1
vote
1answer
595 views

Xml defintion of Field and FieldRef elements and the precedence of attributes

Anybody out there with a good understanding or a good reference of how the attributes that make up a custom list definition apply to the list columns when you define Fields and FieldRefs in multiple ...
1
vote
1answer
576 views

SharePoint 2007 List column of type number to have 0s prefix

May I know if there is any settings that I can set such that my column (which is of type - number) will auto insert 0s in front of the number that a user enter? Scenario A SharePoint 2007 List have a ...
3
votes
2answers
215 views

Why are some of my content type columns grayed off?

Here's what my content looks like, currently. Some of the columns are grayed off for some reason, and I can't change their visible/hidden/required status. It only happens with Integer columns. If I ...
2
votes
2answers
2k views

How to make SharePoint fields mandatory conditioned on other fields?

For example, in a workflow task, I might have a master field called "Approve" which, if set to "No", makes it unnecessary to complete the rest of the form (and thus makes them non-mandatory). Is there ...
4
votes
1answer
13k views

More than 255 characters in multiple lines of text?

I have an InfoPath Form which submits the text of a textbox and saves it in a SharePoint list. Whenever a user types in more than 255 characters and I want to edit the element in the SharePoint list ...
1
vote
1answer
568 views

Sharepoint 2010 : How to set a default value for a “image” type List column

I have a Sharepoint List column named "Thumbnail". Type: Publishing Image Status: Optional. How to set a default image value for this column ?
0
votes
1answer
129 views

How to set variable with list's metadata (like customerID)?

How do I set a metadata (say CustomerID or Skills) with PowerShell? I am trying to fill CustID. Edited. This is the working version of the final powershell code. Here is the working code.... ...
0
votes
1answer
1k views

Using page properties as web part properties

Specifically in the content query web part, can I filter by a column whose value is passed in based on a particular page property (the pages have some custom columns to aid in SEO and indexing, one of ...
1
vote
2answers
222 views

SharePoint List Check whether Value is Checked

I am using Windows SharePoint Server 2007. In a custom list, if I have two columns. One has a list of Categories, and the second has a list of Products. So in my Categories Column its a Choice with ...
1
vote
1answer
2k views

Created/Modify columns don't appear when creating view

I have a SharePoint 2010 instance and am trying to create a view for a document library. I want to include the Created and Modified columns so I can do some filtering on dates, however neither the ...
2
votes
6answers
4k views

How can I auto-increment a column?

I am working on a solution where I have a list with a column named LogIDNumber. For each new entry in the list, I would like to increment the LogIDNumber by one. I could use the ID generated by ...
1
vote
1answer
734 views

Can I change a calculated column to a Yes/No column?

I currently have a list created with multiple column and column types. One column is a formula based on the answer of another....I need to change the column to a Yes or No choice instead of relying ...
1
vote
1answer
428 views

Why are there extra fields in the content of an alert e-mail?

I've got an immediate alert set up on a custom list, the list has multiple content types attached. If I create a new item on the list for a specific content type, the alert e-mail contains fields from ...
3
votes
1answer
5k views

Referencing SharePoint list columns with spaces in names

I'm running into issues referencing column names in SharePoint Designer 2010 when the names have spaces in them. This is discussed in this blog post. For example, I've tried using the following ...
1
vote
3answers
2k views

Email validation in SharePoint 2010

We have a column of type "E-Mail" and we'd like to attach validation to it so it conforms to the normal regular expression email validations at a specific domain. Is this possible without writing a ...
2
votes
2answers
986 views

Custom column that renders a link and opens modal dialog

I want to create a custom column in sharepoint 2010. When it is added to a list view I need it to render a link that when clicked opens a sharepoint modal dialog using the client ui. I need to pass ...
1
vote
3answers
3k views

Making field required due to selection of previous field

Is it possible to make a field required due to the selection of a previous field? So, if I have a dropdown with options (a, b, c, d) and if the user selects "d" then notes are required, but if they ...
0
votes
1answer
2k views

Always display Comment field

I have a Comment field (multi-line plain text; append changes) on a SharePoint list. In "All Items" view it displays the Comment field with comments. However, for some items that has no comments I ...
2
votes
2answers
2k views

How do you create a multi-select people-picker field programatically in SP 2007?

I would like to create a people-picker user field where more than one user can be chosen. Currently, this is what I'm doing: SPField field = new SPField(contentType.Fields, "User", "Users"); ...