New answers tagged

0

If I understand your question correctly, you want to access content type created in one site collection in another site collection. If this is the case, you would have to use Content Type Hub feature of SharePoint. Please find below links to get idea of what is Content Type Hub and how it can be used: Steps to create Content Type Hub Content Type Hub ...


1

The workflow will run for each item that meets the retention policy. When the timer jobs process the information and finds an item that is to expire, it will do what ever is specified as per the policy. If is to move it to the recycle bin, it moves all matching items to the recycle bin. If it is run a workflow, it runs a workflow on each item. This process ...


0

Try to set correct ContentTypeId at the ItemAdding event reciever. Also please note that You should set content type id from the list schema.


0

I see the same behavior in my environment - if I have a hyperlink field, search seems to return the link but not the description. The easiest way to approach this I think is to create a new display template. Copy the Item_TwoLines.html that resides in your Master Page Gallery > Display Templates > Content Web Parts. Be sure to change the ...


0

A little late, but if it can be useful to others: To change the name of a list / library columns ([Content Type], [ID] ...): View Format: Quick Edit Rename Column (Content Type exemple) Stop editing this list No change, however, in EditForm.aspx


2

SharePoint API has class and function SPContentTypeUsage.GetUsages that returns all content type usages in site collection. Is MSDN article there is an C# sample too. Also look at the accepted answer in this question . The answer is in PowerShell.


0

You need to carefully examine the ulslogs. And post back here with findings, otherwise it is total guess work.


0

For the list that you want to add the column to: List Settings --> Title, description and navigation Select the option to use this calendar for Resource Reservations. (If you do not see this option, then you need to go to Site Settings --> Manage Site Features and turn on Group Work Lists. If you do not see that feature, your admin needs to turn it on in the ...


1

Did you follow the below step(see image) mentioned in the article, https://blogs.technet.microsoft.com/tothesharepoint/2013/09/06/how-to-display-values-from-custom-managed-properties-in-search-results-option-1/


0

This script will add folder to any library: var list = ctx.Web.Lists.GetByTitle(listName); var folder = list.RootFolder; ctx.Load(folder); ctx.ExecuteQuery(); folder = folder.Folders.Add(folderName); ctx.ExecuteQuery();


1

Content Types work in that way and propagating changes is a good way to apply changes to all inheriting objects (List/Libraries). You should not afraid because it requires higher privileges to do so, so only responsible person would be doing that. You should wisely set up permission that will ensure only responsible persons can make necessary changes. ...


1

I've just worked through your scenario in SharePoint online. Did 1. through to 4. Description is hidden in my custom Issue list form. Then I edited the native Issue CT and made the Description field required. clicked "Yes" to update all content types inheriting from this type opened a new issue in my custom Issue list The previously hidden Description ...


0

You can create a New Item workflow that will set the field Type to the value of Content Type when the item is initially created.


0

you are specifying a contenttype in the xml which is inheriting from another, but the parent content type is not provisioned at that moment your feature is activated. see this msdn page for help understanding content type ids https://msdn.microsoft.com/en-us/library/office/aa543822%28v=office.14%29.aspx?f=255&MSPPError=-2147217396 there a lot of ways ...


3

You want to do it the other way. Content types created on a subsite is not inherited by the parent site. Create the content types on the parent site and they will be available on all the sub sites below it. Or create a content type hub and manage all your content types from there and publish them to all your sites. Publish a content type from a content ...


1

You could have a list with all of the information you need and also have a document library for the documents. In the document library have a column that is a lookup to the Sharepoint List so that you can relate the documents to the list item (or to multiple items if you use a multi picker). The benefit of using this method over Eric Alexander's is that you ...


5

That isn't the way SharePoint works. Lists and libraries are the 2 basic storage mechanisms for things. You either create an entry (list) or upload a file (library). If you want to upload files to a list, it has to be as an attachment to a list item. You can't upload a file to a list in any other way. Otherwise, you need to upload the file to a document ...


0

This is one of those maddening "stupid SharePoint" moments. Try starting by creating custom Display forms and use the "Create link in List Item Menu" option, double-check those in the browser, THEN it should let you create new/edit forms based on your content types. However, whichever form is marked as default in Designer will still be what's used when you ...


0

I was stuck with this today. I set the Content Type to optional and then tried to edit an existing item, but I kept getting the message: You must specify a value for this field But there was no " * " (mandatory sign) indicating the field is required. I had to change the column setting that is normally set at creation. The option is "Require that this ...


2

Declaratively (with elements.xml), you can attach an event receiver (ER) to a content type (CT), meaning all items in all lists of the site based on this CT will have the ER. This can be done from the CT declaration XML itself, see for instance Event receiver attached to content type via XmlDocuments ignored? or the XML block in this MSDN article. But my ...


0

You have to recreate the Calculated Column in other ContentTypes. It is a nuisance, not a bug Just image all the possible things that could go wrong if a DocumentSet ContentType could 'stamp' its Calculated Formula on all ContentTypes used in the Document Set. Columns with same DisplayName but different content Non-existing Columns


0

You can manually add a new column "Rating (0-5)" to Wiki Page Library (via Library settings). However you cannot add the fields to the layouts. This means users would have to edit the content of the page, then separately edit the Rating (0-5) at View All Pages view of the library. Wiki Page Library doesn't support Page Layout. So we cannot amend the layout ...



Top 50 recent answers are included