Tagged Questions
0
votes
0answers
34 views
Formula Equation to effect drop down selection
I was curious if an equation like this can be done in SharePoint.
Three Columns
Status
Denied Date
Completed Date
The Status column has three drop down selections: Pending (Default), Denied and ...
0
votes
2answers
285 views
Sharepoint 2007 Powershell: $item.update() gives error that file has been modified
I am trying to programmatically update some metadata for a sharepoint item using powershell. Here is my code:
$web = getWebByURL("http://test-site/spadmin/")
$itm = $web.lists["Documents"].items[0]
...
1
vote
1answer
159 views
Adding a content type to a list gives me a duplicate field error
I have the following code:
list.ContentTypes.Add(contentType);
It works on my dev environment, but on test fails with the following error:
A duplicate field name "[GUID]" was found.
I've had ...
0
votes
1answer
33 views
Number field on custom content type working inconsistently amongst items
In a document library, I've included a field of type 'Number' in my custom content type.
At a particular point in my solution I increment this field by 1.
On certain items it will work, on certain ...
1
vote
1answer
153 views
Can't find a site column that DOES apparently exist
Well I've deployed a site column from my xml definition and upto now it's been fine. I then checked my content type (after some unexpected errors) and it's removed itself from the content type and is ...
0
votes
1answer
59 views
Pro grammatically adding choice field with another field relation
sorry about the title am not sure how i should name it.
I want to be able to create two columns for a list that have a division - subdivision relation.
If in the first field if i choose People the ...
1
vote
1answer
133 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 ...
2
votes
1answer
143 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 ...
2
votes
2answers
1k 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.
...
0
votes
1answer
377 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
1answer
207 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 ...
6
votes
2answers
2k views
How to rename title column in Document Library using code?
Everybody loves renaming columns. The title column is a favorite of mine and I can't seem to rename it via code:
SPList list = web.Lists.TryGetList("MyList");
Guid guid = new ...
1
vote
2answers
2k 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 ...
0
votes
1answer
353 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 ...