set of columns and behaviour applied to lists
2
votes
1answer
581 views
How to associate a list workflow to list-specific (not site) content type
I am trying to make a workflow for a specific list content type. Unfortunately, there seems to be no option to do so. I can create a list workflow in SP Designer but can't find an option to associate ...
2
votes
1answer
117 views
How to rename a Content Type associated to a List
I'm tring to change the content type name of a specified List.
I have a Content Type called (for example) ExampleCT that I change from Site Settings in "Example CT" pushing down changes to childer.
...
1
vote
1answer
265 views
Set Enforce Unique Values for Title Field in Custom List Definition
I have custom content type, custom list definition from this content type, and list instance in my visual studio project. I could not set Enforce Unique Values for Title Field. How can i achieve this.
...
1
vote
0answers
71 views
SP2010: Value of the 'Title' field is not stored when saving from pagelayout
I've created a pagelayout associated with a specific content type that contains the standard Title field.
In my aspx file, I have an EditModePanel with attribute PageDisplayMode set to Edit, and ...
2
votes
2answers
208 views
How to use one page layout for few content types
I have elements.xml with module:
<Elements>
<Module Name="IntranetNewsPageLayout" Url="_catalogs/masterpage">
<File Path="IntranetNewsPageLayout\IntranetNewsPageLayout.aspx" ...
8
votes
3answers
723 views
Add “New document” button to home page
I have a fairly simple SharePoint subsite that has two elements:
the home page
a document library
The document library has two content types associated with it. What I would like to do is add a ...
3
votes
1answer
46 views
Hide SPContenType in use
I'm trying to hide (or remove it from the new button drop) a SPContentType that is already in use via Powershell scripting.
Even if before:
$SPContentType.Hidden = $true
$SPContentType.Update()
I ...
2
votes
1answer
418 views
Event Receivers not added when installing wsp
I have a set of event receivers for a SharePoint 2010 content type and Library. Previously, these would install and automatically be activated when I ran a script to install the wsp solution. I dug ...
3
votes
1answer
50 views
Workflow and Page Content Types
In 2007 I am trying to understand the use of workflows added to page based content types that will eventually live in a page library.
If I add a workflow to such a content type then use that content ...
1
vote
1answer
45 views
Customactions not binding to content type
Facing a strange and frustrating issue just before Christmas :-(
Heres the scenario:
I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
0answers
238 views
Modify “Edit this Task” Outlook button for SharePoint 2010 workflow task custom content type
I have created a custom content type based off of workflow task content type by following along with this article http://fmuntean.wordpress.com/2009/11/27/infopath-task-forms-made-easy-part-2/
...
0
votes
0answers
22 views
CustomRibbon not displaying in inbuilt List created
I have created my CustomRibbon button in my project.
When I deploy it, it is showing me in the CustomList which is created from Site, but not displaying in the List which is created from VisualStudio ...
2
votes
1answer
163 views
ContentTypes and Site Columns via Visual Studio / CAML Query Updates broken
I've been using CAML queries to do list updates for quite some time, but recently they've stopped working, and I have no idea why. Even an extremely simple query seems to be failing. For example the ...
0
votes
2answers
548 views
Error “duplicate field name” while adding content type programmatically
Judging by the stack trace, one of the following lines of code is giving me an error:
private void AddcontentTypesToDocumentLibrary(SPWeb web, SPList list)
{
SPSite site = ...
0
votes
0answers
36 views
Content Type change won't save
I have a list with 2 list content types. When the content type is changed and then saved the old file retains the old content type. We are on SharePoint 2007
Our process is the users upload a file as ...
1
vote
3answers
398 views
How to set columns visible only in Display Form on a Column used by a Content Type
I have a column that we will call C. This Column is associated to a Content Type (CT).
If I go to the properties of the CT -> Column C I can set the column to be Facoltative or Hidden:
If I put it ...
0
votes
1answer
304 views
Problem with save conflict when adding content type to list
I have a feature receiver with the following code:
public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
SPSite site = (SPSite)properties.Feature.Parent;
...
0
votes
0answers
73 views
Projected Fields on Site Column not added to Document Library when Content Type Added
I have Site Column called PropertyDirectory that is a lookup on a List and I have checked several fields under the "Add a column to show each of these additional fields" section.
I also have a ...
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
172 views
Error While Creating Site Collection
I am creating Site Collection with Team Site Template. When I tried to create it shows me error that
The parent content type specified by content type identifier 0x0101
does not exist.
Note : ...
0
votes
1answer
36 views
How to Create a View of a Particular Content Type when there are Mulitple Content Types?
Salvete! I have a forms-library with two content-types that appear in the "New Document" menu. How can I create a view and choose which content-type to use?
Let me explain. I have two ...
2
votes
1answer
2k views
How to update a deployed content-type?
I created a content-type and applied it inside a document library. Now, if I go to the conent-type gallery and delete one of the fields, and then go back to the library and view the available ...
1
vote
2answers
164 views
What are the Differences between These Content-type Properties?
In my portal, I have created a few infopath forms, and promoted properties in them. When I view the content-types in the site-collection's content-type library, I see that some of the fields are in ...
2
votes
1answer
173 views
Add content type from sandboxed solution to list definition (farm solution) does not work
I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type.
I want to add this content type to my document library definition in CAML.
But when I ...
1
vote
2answers
97 views
How can I create a subfolder in a documentset of a custom contenttype?
I have a custom contenttype which inherits from documentset. Further for the custom contenttype exists a custom docsethomepage.aspx (WelcomePage). Now the problem is, if I create a subfolder ...
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
311 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
64 views
Updating SharePoint 2010 list content types from a content hub.
Suppose I have a SP content type of "Project document". I also have several project sites, with document libraries containing this content type. Now I have created a subtype, "Extended Project ...
2
votes
2answers
164 views
All columns getting added to Document content type in migrated site
I migrated a SPS 2003 site collection to MOSS 2007 using database migration. There are already some document libraries in the SPWebs of the site collection. Some of the libraries are just the standard ...
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 ...
0
votes
0answers
30 views
No Content type available on site collection, even though they appear on subsites
Accessing content types on sharepoint foundation 2010 using /_layouts/mngctype.aspx (site settings>site content types) and nothing appears. When I goto a subsite within the same site collection all ...
1
vote
2answers
54 views
Use media content types on a publishing page
I'm trying to make a new publishing page that can use either Images, Video or Audio.
I'we already made one that uses the PublishingWebControls:RichImageField but cant find equivalents for video and ...
0
votes
0answers
23 views
How can I use variable in url of contetn organizer rule?
I created a Records Center site. With the button to send a record of the organization's rules content can choose to send the document library.
Target Path content organizer rule starts from the top ...
0
votes
0answers
55 views
Empty taxonomy fields in OOTB SharePoint alert e-mail
When subscribed to a document library - and a document is uploaded - the subscribed user is successfully sent an e-mail including details of the uploaded document. But it's a custom content type and ...
1
vote
1answer
363 views
Bind custom content type to Pages library
I have developed a custom content type and a custom page layout that is inheritted, in visual studio for my publishing site. I am setting the default page layout of the site programmatically, in event ...
1
vote
1answer
368 views
Parent content type Page or Page Layout?
When to develop custom page layout via Visual Studio, which parent content type must be chosen for content type?
From different articles i see both Page and Page Layout selected as base Content type.
...
2
votes
1answer
344 views
Managed metadata vs lookup for column
I have a property content type. I'm wanting to add a property code column which will look up the codes from somewhere else on a SharePoint Online site, where it can easily be managed by end users.
I ...
1
vote
1answer
215 views
how to add a BISM content type
I'm using Microsoft SharePoint Server 2010. I want to create a BI Semantic Model Connection file but no BISM content type exists. According to these technet instructions ...
1
vote
0answers
56 views
Why isn't my content type drop-down selection available on my custom list form?
Please forgive my SharePoint ignorance. I needed to make a field read-only on the edit form which required me to use a custom list form. Now another roadblock...the content type selector is gone. Is ...
2
votes
1answer
96 views
Programatically update field/column name in a list on all sub sites [Powershell]
What I want to do is with a Powershell script programatically go through all subsites in a site collection and change a column name in a list from "Web" to "Site".
So in easier words:
Go through ...
2
votes
1answer
64 views
Duplicate Save and Cancel buttons Document Library Edit Properties
I have duplicate edit and save buttons when I edit properties of a document in a document library.
I copied this site from another using Manage Content and Structure.
The original site did not have ...
0
votes
1answer
28 views
synchronization of fieldlinks accross sites. (deleting a fieldlink will remove the data?)
We have a corrupted sitecollection where lists are behaving strange in production, but they are working fine on acceptance and test with the exact same deployment steps and scripts.
Our best guess is ...
0
votes
1answer
297 views
External content type from SQL stored procedure with EXEC
I'm trying to create an external content type from a stored procedure. I'm hitting one problem, when creating a Read List Operation, though:
The wizard is not able to find any return parameters (see ...
1
vote
0answers
378 views
Missing my custom content type in UI List instance
In visual studio I defined some content types. In addition I added each content type to a list definition and created a list instance from each list definition.
When I install my solution in ...
1
vote
0answers
39 views
Listdefinitions use Listname as Contenttype
I have a Sharepoint 2010 Foundation, VS2010 and
i use the Sharepointfactory(spsf.codeplex.com), if this is important.
My typical approach are:
I create first some fields, then i use these in a ...
1
vote
2answers
346 views
Removing Content Type: already in use even if removed from all lists
I'm facing a problem with content Types. I added a content type to thousands of lists, added items that uses that CT and now I want to remove it..
The steps I followed are theese:
Removed every ...
0
votes
0answers
33 views
Comments fieldlink not visibile
Here my code to add a field link of comments field to a content type
SPField field = site.RootWeb.Fields["Comments"]
if (field != null)
{
SPFieldLink spFieldLink = new SPFieldLink(field);
...
3
votes
3answers
2k views
How to Submit an InfoPath Form to its Own Library?
Salvete! I have an InfoPath-based content-type. I also created a forms library in several subsites that each use this content-type.
Now, I need to fix my InfoPath content-type form so that it gets ...
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
424 views
Create a folder structure in a discussion board
How can I create a folder structure in a discussion board? I have already tried this solution:
1) Create a new Site Content Type say called 'Thread Folder' based on the Folder Content Type with ...