Tag Info

New answers tagged

0

What you are referring too are called "Call Outs", and they have their own API and is loaded from callout.js. These are done separately from content types, but you could create a solution that checks for a specific content type and activates them if present. Example of using the callouts (you could load this on a script part on the page to test). ...


1

This isn't set at the library level, it's set at the site level. Site Settings > Page layouts and site templates and add the layout to the page layouts list and seperately set the New Page Default Settings to your template.


0

When you click on the 'new document' link just above the list of items, it will open a fly-out that includes the 4 typical Office documents (Word, Excel, PowerPoint, OneNote) as well as a folder and 'upload' option. I believe the OP wants to also include custom types in this fly-out as well. However, it doesn't seem possible without adding your own custom ...


0

You can use the ContentType.Add() method, as shown in this example from Microsoft: https://msdn.microsoft.com/library/office/microsoft.sharepoint.client.contenttypecollection.add.aspx Unfortunately, this method doesn't take xml, so you will have to use something like XDocument or XPathDocument to parse the xml, and then set the relevant fields of the ...


0

Not by out of the box functionality. Your best approach would be an Event Receiver which would control the creation of sites from within a List. E.g. you add an item to the list with the website information, event receiver creates the site and sets the title. Hope this helps.


1

The reasons to use content types rather than adding columns: If you have two disparate types of information in one list/library. ex: A list that has purchase requests for new employees and for new equipment. If you are going to use the same type of information on multiple sites/lists/libraries. ex: You have a content type that inherits from document that ...


0

I think Content Type hub is best solution because even you can create content types using features across site collections, however any updates made to the content types cannot be easily propogated to different site collections. Only CTH will give you this functionality. Content Types Synchronization across Site Collections


2

You would need to create a site collection scoped feature that would create them and add them to the content type gallery if you are not going to use a content type hub. This makes upkeep much more complex, so I'd encourage the use of a hub if possible.


0

users1100 answer is correct. Just want to reffer a good series of blog posts about SharePoint document management, starting from creation of content types, which will be helpfull for you to know not only how to do it but and why it is important to do in this way.


1

To define multiple document templates you have to implement multiple content types. I assume that you want keep the New Document which comes OOTB and additionally your custom document template. If yes, then you should create a separate content type (inherited from Document content type) in which your custom columns should be added and in the Advanced ...


1

There's a simple No code solution there. Just change the order of the columns in the content type. Task Status should come before Priority for e.g. If Priority is at 8 and Task Status is at 9, just switch the column order value so in the end it would be Priority at 9 and Task status at 8.


0

Once content type is deployed and if we are finding difficulty in setting it to inherit it's parent's column, then this PowerShell function using client object model to add columns in content type from it's parent content type is helpful. Try{ Add-Type -Path 'C:\Program Files\Common Files\Microsoft Shared\Web Server ...


0

Did it! There was no Content Type for folders. After I added this one to the library, I was able to sync.


1

As far as I know, that property isn't mapped to an actual member on the SPContentType object. Setting the Inherits flag in a CAML content type declaration only result in a different set of fields begin added to the content type field link during the initial creation process. This means that you cannot modify that property at a later time. What you can do, ...


0

You should update your content type using $cttype.Update() in your foreach sequense after field link deletion



Top 50 recent answers are included