Tag Info

New answers tagged

0

The only way I now of is by manipulate the XmlDocuments property. The tag to insert looks like this: <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/2006/metadata/customXsn"><ntns:customXsn xmlns:ntns="http://schemas.microsoft.com/of ...


0

I have resolved this by setting the content type at item creation by adding a properties Hashtable to my Add call, and setting the ContentTyeID in said properties. I think there is still some underlying issue with not being able to change content types of documents that is also affecting the out of the box edit form.


0

I've recently created a "Project Center" with a main site collection as the portal and each project in the company having it's own subsite. To access each of the project sites, I have a custom list running on the main site and use audience targeting on the list so people can only see projects they are involved with. These links are displayed on the site ...


0

You might not have selected Parent Content Type Source properly, Do select Parent content Source and then select Item from the list.


0

For a user to trigger an "on create" workflow, they have to have edit permissions to workflows. Are you concatenating any fields? Specifically in the title field. Duplicate title names in the list or concatenating fields that aren't generated until after an item is created could be your culprit. Can you specify the condition and action for your workflow ...


0

I setup a content Type hub for my client last week without any issues. 1) have you set up the Term Store Service App settings to indicate the urls of sc which is the content type hub i. e the one with the sc ct hub feature enabled There are 4 check boxes to potentially check in the same dialog. 2) sites don't subscribe as such but Web apps do.. HNSCs ...


1

For pushing changes to the children you should specify as $ct.update($true) See the function signature http://msdn.microsoft.com/en-us/library/office/ms475130%28v=office.15%29.aspx


0

I had the same challenge and first I tried to solve it on Client side with SPServices and JQuery. This worked fine but I had some Problems with the User and Groups Field (Could not get the SPUserID... strange, because I could get in on my test-System but not on the live-System). Then I thought about a much simpler solution with an Event Receiver. I created ...


0

If both content types are attached to the list, then the default editform will automatically have an option to toggle the content type on edit. Set the default content type on the list to ContentType1 so any Add Item links will default to that. Then when user 2 comes along, he or she can toggle the Content Type field on the editform and switch to ...


1

There is a unique query string parameter on the newform url that tells Sharepoint what form to render. You can put a content type field on a custom html or aspx page, then use web services to submit the item otherwise, you can't get that on the newform. If you go to the list and use the ribbon to create each content type, you can snatch the URLs and then ...


0

SharePoint 2010 link to new Word Doc: I extracted the "createNewDocumentWithRedirect2" function out of the _initTRAWebPartWPQ2() function created by SharePoint. _initTRAWebPartWPQ2() may be named something else (WPQ2) may be web part relevant. I got this by browsing to my document library, viewing page source, and searching for "createNewDocument". You ...


1

Instead of lookup use a Managed Metadata Term field. A Managed Metadata column is a can be added to content types to enable site users to select values from a specific term set of managed terms and apply these values to their content. You can create and configure a Managed Metadata column to map to an existing term set or term, or you can create a new term ...


1

EnableContentTypes="TRUE" instead of EnableContentType="TRUE" (note the s)


1

Yet another approach that demonstrates how to customize task forms in order to display fields without 'Show more' option Create rendering template to display all the fields in New & Edit forms Update Task web part in New & Edit forms pages Template file The following example demonstrates how to display all the fields of Task form: (function () ...


1

You should add two separate site columns, one for each derived content type. You could name first site column "computer asset type" for use in "computer" content type with lookup or choice values "desktop,lptop,tablet". Similarly, you could name second site column "furniture asset type" for use in "furniture" content type with lookup or choice values ...


0

Try this $ct = @() $spWebApp = $Site.WebApplication foreach($allSites in $spWebApp.Sites) { foreach($Web in $allSites.AllWebs) { foreach($list in $Web.Lists) { if($list.BaseTemplate -eq "DocumentLibrary" -and $list.AllowContentTypes -eq $true) { if(-not ($systemlibs -Contains ...


0

Use this: Get-SPWeb http://intranet.site.net | Select -ExpandProperty Lists | Where { $_.BaseTemplate -eq "DocumentLibrary" -and $_.Hidden -eq $false -and $_.ContentTypesEnabled -eq $true}| Select Title, RootFolder Also note that there is no property called Urlin SPList. Use RootFolder of SPList along with SPWeb.Url to get the Url of the list.



Top 50 recent answers are included