Questions tagged [column]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
6k 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
3k 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" type="...
1
vote
1answer
2k 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
122 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
965 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
46 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
1k 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
1k 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
868 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 ...
1
vote
1answer
896 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
133 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
2k 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
304 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
5k 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
5k 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
2k 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
727 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 ...
10
votes
1answer
19k 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 code:...
1
vote
3answers
3k 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
1k 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 ...
2
votes
3answers
6k 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 ...
2
votes
2answers
4k 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"); ...
1
vote
2answers
950 views

How to determine the correct (case sensitive) URL for a SharePoint site

Problem: Creating a site column using the SharePoint API (Object Model) with incorrect case in the URL for the SPSite or SPWeb object will cause the new column to throw an exception if an attempt to ...
1
vote
1answer
260 views

How do I edit a custom text field on multiple documents all at once?

I have a custom text field that I use for all of my library documents (poor man's tagging). I wish to modify a group in a batch. How do insert a string directly into the text field for all the ...
1
vote
3answers
4k views

How to change type of information for a Title column in SharePoint MOSS 2007 List?

I created a calendar in SharePoint MOSS 2007 that is connected to my Outlook. I added a custom column “Person” to this list and the type of information in this column is: Person or Group. In ...
1
vote
1answer
219 views

Section header in a list

I have received a request for inserting a logical section header in a SharePoint List. The list contains some 15 fields and the customer would like to display 10 if the fields in one section and the ...
1
vote
3answers
9k views

Customize inline edit form Column width and ControlMode

I have a custom list that I am using as a Frequently asked questions list for a number of subsites. I have 3 columns, Question, Answer and category. I want to make the question field readonly as well ...
1
vote
2answers
6k views

How to have a column contain multiple users

I have a list with various columns. One of those columns is to store users. However, when I use the code configurationListFields.Add("Limit_Access_To", SPFieldType.User); I am only allowed to enter ...
1
vote
2answers
2k views

update choice-radio button column, within workflow

I’m having a SharePoint list, the list contains the following column Column name: initiator outcome, Column type: choice, radio buttons First options(button):Cancel Request. Second options(button): ...
0
votes
1answer
285 views

How would I set permissions when column = *?

I need to set permissions where only certain users have access to view an item when the column equals a certain value. For example: User1 can't see item TV when Vendor = "Walmart". User2 is able to ...
0
votes
1answer
444 views

infopath 2007 field count

Is there a menu option in InfoPath 2007 that would give me the total number of fields? The reason that I am doing this is because I have a form that I developed that cannot be uploaded to a ...