0
votes
2answers
23 views

How can I find out if a column is unused powershell

I have noticed in some of my document libraries that I have a column that is unused. Is there a bit of code in powershell that will tell me which document libraries have the column in question but it ...
0
votes
1answer
62 views

Force use of Document Template in 2013?

How do you force SharePoint 2013 to use the default Document Template that is defined in Advanced Settings? In SharePoint 2013, the default menu that appears when you click "new document" is the ...
2
votes
1answer
34 views

Content type eventhandlers gets bound to list

I have a custom parent content-type on which I apply 6 event-handlers. I then have 24 content-types based off of the parent content-type - thus inheriting the 6 event-handlers. - All defined in XML I ...
0
votes
1answer
205 views

'New document' behaviour SharePoint 2013

I know this is something that is discussed a lot since previous versions of SharePoint, but I hope this is also something that can be easily solved since SharePoint 2013, but even with a lot of ...
1
vote
1answer
72 views

Metadata Assigned to a Folder

Working in SP13. Is there a way to assign metadata if a document is moved into a folder in a document library? I already have folders with documents inside. If a user uploads a new document to the ...
1
vote
2answers
1k views

SharePoint 2010 - Create link to document library content type

Have a document library with multiple content types, each using a template. Example, user click on 'New Document' > 'Content A' and a Excel form will open. I'm trying to create links (buttons to be ...
0
votes
1answer
389 views

Hide Ribbon button for specific content type

I want to remove ribbon entry for one the content type. OOTB if you add any content type it will create a button entry in "New Document" Ribbon. I don't want this entry for one specific content type. ...
0
votes
1answer
47 views

For Images document library, set the default content type to Image

Is there any way to have the default content type set to Image when uploading the Images document library? It would be nice to remove the extra step of changing Document to Image
0
votes
1answer
195 views

A document library with custom content type displays the different icon while creating new document

I have created a document library declaratively with document based content type. But when I click on new document the icon is displayed of item instead of word. Below is the example: List ...
0
votes
1answer
117 views

Document Library and Content Type issue. Getting set as Folder for few files

I have a Document Library with Content Type enabled. I have few custom columns. I have not used any Custom content type.By default content type is Document. Issue is when i add some files i do not ...
1
vote
0answers
40 views

New Document button

I have a document library with both my own content type and the default one (Document). When I click the "New Document" button, only one item appears in the drop-down - Document. This happens despite ...
2
votes
2answers
336 views

Custom Content Type always results in ArgumentException

I created a custom content type and provisioned it as a solution for SharePoint 2013 (PU March). When I create a new page in a list, bam yellow page of death. To rule out an error I created a custom ...
0
votes
0answers
151 views

Show/hide custom fields from ListFieldIterator based on value from DropDownList

Preface, this solution cannot use InfoPath. I have a Document Library with several custom fields that I've created. I have 50 Content Types that are mapped to the Document Library. I have a list ...
1
vote
1answer
93 views

CQWP for set of libraries (instead of items)

I have a Team Collaboration site which has multiple document libraries. I have created a custom content type, so the team members can add more libraries in future. Since the set of document libraries ...
0
votes
1answer
55 views

Subclassed Content Type in Site Template / Document Library Template

What I'm trying to do is effectively have a document library content type defined at the site collection level, I then want sites within the Site Collection to be able to edit the defaults for the ...
0
votes
1answer
68 views

Default content type for files uploaded to a specific folder

In SharePoint 2007, I am trying to create a Document Library containing a special folder where the files within that special folder can have some extra meta-data. I've been following these ...
0
votes
1answer
184 views

Document Set - sort by Content Type?

I have a SharePoint site where we use document sets. I would like to sort the inner view by content type. Is this possible? (i know through the GUI it is not possible) thanks I am able to create a ...
1
vote
4answers
425 views

How to remove Default “Document” CT from custom document Library

I have created document Library programmatically and add some custom Content Types to it. But I want to Delete/remove default "Document" content type from my document library. How i do that ? ...
0
votes
1answer
104 views

Adding “Link to Document” to all document libraries in SharePoint 2010

Is there a way to add the "Link to Document" content type to all existing document libraries in a site/site collection other than editing each one manually? I'm fine to do it with PowerShell if there ...
4
votes
1answer
153 views

Sharepoint Workflows and Managed Term Sets

Platform: Sharepoint 2010 with Sharepoint Designer 2010 Are there any explanations out there on how to create a workflow with an email template that is sent to certain people based on a taxonomy term ...
0
votes
2answers
791 views

How to open a file using Item Id in SharePoint document library?

I am working on SharePoint Foundation 2010. I want to open file from a link. I found a solution "Link To Document" content type. But in "Link To Document" content type we need filename of original ...
0
votes
1answer
168 views

Centrally managing or updating the content types of all document libraries in SharePoint 2010

So I have read articles on Managed Metadata, Content Type Publishing and Editing Document Library templates and while related none of these seem to do what I want to do. I want to add the "Link to ...
1
vote
1answer
1k views

How to enforce metadata in document information panel in SP2010

My document library supports several custom content types. When "Add new document" is clicked, the Browse dialog for uploading the file is followed by the Document Information Panel which is properly ...
5
votes
2answers
4k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
0
votes
1answer
318 views

Document Library - Content Type selection ignored!

Not sure yet if something wrong on my Foundation installation or a new SP2013 bug. On SP2013 (didn't happen on SP2010!) - create new Document Library app and use Advanced Settings to set it to Manage ...
2
votes
2answers
574 views

Get content Type order in C#

I am building a web part that would be added to the bottom of every library view and would display the folder content types making it easy to create a new folder (rather than having to go to documents ...
2
votes
1answer
107 views

Ghost Column in Sharepoint by FieldRef deletion

Let me explain my situation. I have some Document Libaries that derives from some content type some columns. In some of these columns I have (by mistake) add two times the same columns with different ...
2
votes
1answer
235 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
1
vote
2answers
325 views

Matching value from single line of text column to lookup column

I have a library containing a large amount of items. The library contains a column of type 'Single line of text' with a code in it. The code was taken from an external system and entered manually. ...
4
votes
3answers
454 views

Add new Content Type to Multiple Document Libraries in SharePoint online(Office 365)

I have one Sample Document Library on SharePoint Online (office 365). this Library has 5 different document content type. And using this Library as a template i have created 300 new Document Libraries ...
3
votes
1answer
92 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
2answers
213 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 ...
2
votes
1answer
106 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
213 views

Uploading a document of given content type invokes wrong workflow

Problem summary: Given 2 content types and a different workflow associated with each CT, one workflow works properly for it's CT but when the other CT is uploaded the wrong workflow is invoked. I have ...
0
votes
1answer
141 views

add field directly to a Document library or via a Content Type

What is differents between adding a field (Site column) directly to a document library or via adding the field to a content type and then add this content type to the list? Because fields directly ...
0
votes
1answer
473 views

Cannot delete duplicate content types where more than one type is duplicated

We have a strange situation where we have managed to get two copies of a custom content type referenced in a document library. The content types had the same name and content type ID, and this ID was ...
0
votes
1answer
105 views

A column is not appearing in GroupBy option when editing view

I have a document library created from a custom content type (which inherits from Document type). The Document Libraries are created via feature activation using CAML in the Elements and a List ...
3
votes
1answer
625 views

How to restrict/hide OOTB document libraries creation

Is there a way to restrict the out of the box document libraries like "Document Library" "Picture Library" etc and just have custom document libraries being shown in the pop-up below?
1
vote
1answer
631 views

Library ECB shows “Change New Button Order” for all users

We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set. We also have a custom action attached to ...
1
vote
0answers
143 views

applying a managed meta-data column to a content type vs adding it to a view

Hello this is my first question on here so please be gentle. i have just provisioned a new document content type called GCDocument (whose parent is document) along with some new fields, such as a ...
3
votes
1answer
242 views

Assigning Icons to Content types

I have added a couple of content types that inherit from "folder" and some other from "item" (and each other, but they're not the issue). How can I, if that's possible at all, set another icon for my ...
2
votes
3answers
4k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
0
votes
1answer
258 views

Custom File Type on Upload Menu

I have a custom Content type called Deliverable and it has been inherited from Document content type. but when I go to document library and click on Upload Document button on the toolbar, I only See ...
0
votes
1answer
485 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
1
vote
3answers
674 views

Issue with External Data Columns on Document Libraries with Content Types

I have site content type called ContractBase that has a bunch of fields that are used in contracts. I created some other site content types (ContractType1 and ContractType2) that inherit from ...
1
vote
3answers
352 views

How to access documents with in a custom content type of Document Set

I have a Library, which stores document sets (the content type here is a documentset which contains more than one word document). Currently I can to get the items from the library using the below code ...
1
vote
2answers
2k views

Why is the icon for my custom document template broken?

Before I get to the meat of it here's some background information (and an apology for the wall of text...). I'm running SharePoint 2010. I have created a content type called E-mail, using Document ...
1
vote
1answer
1k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
7
votes
1answer
1k views

Create a Document Library Item base on a ContentType with JavaScript Object Model (JSOM)

I'm trying to create a new item in my Entreprise Wiki Pages Document Library. It's associated with a News Content type. I was able to retrieve the SP.List object (myList), the SP.ContentType object ...
0
votes
2answers
2k views

Find if content type is hidden (Visible is not checked) on the list level using SharePoint web services

I am trying to know if a content type is hidden (Visible not checked in Change new button order and default content type section) on a SharePoint list using SharePoint web services. I have tried the ...