Tagged Questions
0
votes
1answer
190 views
Sharepoint how to add field to list where field with such name already exists?
I have sharepoint list 'Events' with field Location.
I am trying to add from web existing field with same internal name from other package.
var fields = contentType.ParentWeb.Fields;
SPField ...
0
votes
1answer
316 views
Error occurred in deployment step 'Activate Features': Invalid field name
SharePoint Error message Error occurred in deployment step 'Activate Features': Invalid field name.{guid}
0
votes
0answers
17 views
Field derived from content type switches to mandatory automatically
We have a content type, "Tasks", that have a number of fields, one of which was mandatory when it was created. We have a list that makes use of this content type, and now we want the field to be ...
0
votes
1answer
90 views
Help to understand content type
Given the below definition of a content type:
<List xmlns:ows="Microsoft SharePoint" Title="Algorithm Types List Definition" EnableContentTypes="TRUE" FolderCreation="FALSE" ...
0
votes
2answers
363 views
Define contenttype with list
I have defined my list definition as following:
<List xmlns:ows="Microsoft SharePoint" Title="Requests List Definition" FolderCreation="FALSE" Direction="$Resources:Direction;" ...
0
votes
1answer
235 views
Problem tying textfield to a content type field
I have a SharePointWebControls:TextField control on the page. It's tied to a field that has been defined as normal in the xml (I've gone through this with a fine tooth comb so I'm 99.999% sure the ...
0
votes
1answer
164 views
How do I make Title property mandatory on a custom content type?
As title says, I want to use the standard SharePoint Title property, but I need to make it mandatory. It's not an option to do this through the 'Documents' settings of the UI, I need to define it as ...
1
vote
1answer
494 views
Custom Inerited Note Field 255 character limit and no HTML for Editing?
Two issues I have with the same column type.
Using Sharepoint 2010.
I created a custom Content Type (for use as news articles content Type) and added a couple of custom columns. I have a issue ...
3
votes
1answer
3k views
Adding a site column and add it to a content type from PowerShell issue
Within a PS script, I'm trying to add a site column and add this column to a custom content type.
Here is my script :
add-pssnapin Microsoft.SharePoint.PowerShell -EA 0
function ...
2
votes
1answer
108 views
Custom content type throwing errors?
I have created a custom content type that uses several custom fields that I created in the same project.
When I deploy the content type for the first time it works fine. When I try to deploy ...
1
vote
1answer
627 views
How to update choice field options with a feature upgrade?
I created a feature with a field definition with choices. These choices are bound to language dependent resources using the $Resources:file:key system. Resource files are included.
As the feature is ...