Tagged Questions
0
votes
2answers
32 views
How to display and get the value chosen in an User field?
I'm very new at Sharepoint and I faced to a trick issue.
Here is the situation :
in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
1
vote
2answers
322 views
How to retrieve Users and Groups seperately from a “Person or Group” column via C# code?
I have a field in the discussion list, which allows the initiator of the discussion to specify the people to share the discussion with.
This field is typed as 'Person or Group' that allows selection ...
1
vote
0answers
46 views
SPListItem.Update Not working
So I have this really simple function which updates a couple of fields on two different lists (one is a document library)
The thing is on the document library does not updates any of the fields I need ...
1
vote
2answers
1k views
Try Get Field with client object model without error
Question regarding the client object model. I wrote some client script for a procedure, but i don't know, how can I determine if the list or item has the field available or not?
For example:
...
0
votes
1answer
133 views
ContentType.FieldLinks.Add() issue with hidden and required
I have a feature that does the following in the feature activation Code :
Creates a new SiteColumn (Type=Text, Hidden=False and Required =True)
Set the french version of the Name (using ...
0
votes
1answer
121 views
Custom Field PropertySchema Type=User
I have a custom field in my SP Project. In my .xml file, I have a propertySchema and a user field inside it. Currently the field does not accept multiple users/groups. How can I change that?
I ...
1
vote
1answer
842 views
UserMulti Field not allowing multiple inputs
I am trying to add a muliiple user site column using the following:
<Field
ID="{FC2612C2-1C60-45C1-949A-A49BECD8DB02}"
Name="test"
DisplayName="test"
Group="test"
Type="UserMulti"
...
2
votes
1answer
509 views
Updating a SPFieldMultiLineText field
I have an SPListItem. I have a field on the item of type SPFieldMultiLineText. How can update the value of that field?
1
vote
0answers
121 views
using calculated field in calculated field
I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1
Calcfield1, Calcfield2 uses field1, field2 and field3 for its values.
ComplexCalcField1 uses Calcfield1 and Calcfield2 for its ...
2
votes
1answer
141 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 ...
1
vote
1answer
127 views
Custom field type - how inherit attributes from base field type
I need to create custom field type which must inherit ATTRIBUTES from inherited field type (e.g. Note).
I know how to add custom attribute on my custom type (using fldtypes...xml, custom ascx,...) ...
1
vote
6answers
2k views
ArgumentException when trying to access SPListItem value
I have a tool to update all items in SP (link replacement). The tool works most of the time but sometimes it throws me an ArgumentException ("Value does not fall within the expected range.").
Here is ...
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 ...
2
votes
2answers
1k views
SetCustomProperty within OnSaveChange
Saving Custom Field Type properties using SPField.SetCustomProperty within the IFieldEditor.OnSaveChange event does not seem to work, for reasons explained elsewhere.
I've seen all kinds of bodges ...
