content type
4 Topicspopup appear when create new document after Enable content type in document library
I have created document library and enable content type in that document library. But, after this when I create any document this kind of pop up appears. is there any way to get rid of it. Plus, I want default excel,notebook,etc.. Menu's back.1KViews0likes2CommentsIn SharePoint; When not to use Content Types | When Content Types are unnecessary?
As a developer/architect, I am using SharePoint for a few years and always created Content Types when creating lists. Do we always have to use a content type? What are the scenarios a content type is not necessary to be created?807Views0likes0CommentsRetrieving list data from multiple sub-sites using same site content type with JavaScript
Dear all, I'm running a SharePoint site for projects where every project is created as a sub-site with a number of lists. Each sub-site has a list with one list item including the most important project data. This list is using a Site Content Type. I'd like to pull the data from all those lists and write it to one list on the parent site, e.g. by a weekly run of a workflow or manually. Can this task be done by using JavaScript, Rest API, etc.? Has anybody done something similar? Thanks for your tips.1.9KViews0likes2CommentsAdd two content types via REST
Hello, I am trying to add two content types to a library via REST. I am sending two REST requests. For each content type, my code looks like this: fetch(SiteURL + "/_api/web/lists/getbytitle('" + libName + "')/ContentTypes/AddAvailableContentType", { method: "POST", body: JSON.stringify({ "contentTypeId": "xxxxxx" }) }) When I run the code, only one of the two content types gets added. Separately, both work. What am I missing? Side question: does PnP js core have a method for adding content types?1.2KViews0likes0Comments