Tag Info

Hot answers tagged

7

Terms are the basic unit or smallest item in Managed Metadata or Taxonomy. TermSet is just a collection of Terms.Like say if you want to create a taxonomy for countries and their cities. Country will become the TermSet (eg:England) and cities will be Terms inside respective termsets ie London will be term inside England. Tags are special terms , they are ...


6

It is true that InfoPath 2010 does not support Managed MetaData controls, such as the Managed MetaData Picker. A workaround is proposed here: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/632190d9-663b-4ea6-82e8-5c1e7f2f57c5/ Scroll down and look at Jinchun Chen's answer. I haven't tested it myself but it sounds like a good ...


5

Well, I am not absolutely sure, but I think the answer is: there is no way to skip metadata property. You may of course create a kind of proxy by implementing a custom web service which itself consumes listdata.svc and truncates the "__metadata" property? But it doesn't sound good to me. You can of couse skip all other unnecessary properties by defining the ...


4

It is still not supported to upload multiple files with managed metadata or simple metadata.


4

Search should do this for recognised file types out of the box. Note that does not include PDF - you will have to install the PDF iFilter to enable SharePoint to search the content of PDFs.


4

The big difference between Keywords and Terms are that Terms are controlled by you (normally) and Keywords are controlled by the users. Sometimes Keywords are referred to as Folksonomy whereas Terms are referred to as Taxonomy. To use Terms to tag a document, create a custom Site Column and map that to a TermSet (which is a collection/hierarchy of Terms), ...


3

Office 2010 document store their SharePoint metadata inside the file (which is in fact a zipped XML document). Document Information Panel and Document Properties in SharePoint Server 2010 (ECM) Document Properties and Content Types in SharePoint Server 2010 (ECM) If you move the document from one site to another, if the same columns exist in the new site ...


3

Jup, there is a way - with calling Method GetListAndView


3

Your question implies that you already know the specific item. That makes it easier to isolate the data you want. Each of the lines shown will return a text response as shown below assuming that these are not "special" fields like choice, lookup, etc. This URL will return christophe http:/.../_vti_bin/listdata.svc/Contacts(2988)/Contact/$value This URL ...


3

I think an eventreceiver should handle this pretty well. Here's some code that I haven't tested but looks pretty sound: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/18dcb996-5352-4856-b526-b69ccc71180e/ If you wanted more flexible solution, you could implement the event receiver to read from a property bag or some ...


3

Values for SPFieldCalculated field are stored in the following format: FieldType;#FieldValue For calculated column with DateTime type field has the following format: "datetime;#DateValue" When field value is rendered (GetFieldValueAsHtml and GetFieldValueAsText) its value is extracted, but it is displayed as raw value when used in search results ...


3

Create SPQuery object and set its Folder property and then call GetItems on List and finally loop through the item collection. $spQuery = New-Object Microsoft.SharePoint.SPQuery $spQuery.Folder = $folder; $items = $list.GetItems($spQuery);


3

Try the following script: $web = Get-SPWeb http://YourServer/ListLocation $list = $web.Lists["TheList"] foreach ($item in $list.Items) { if( $list.Fields.ContainsField("ddlTest") -eq $true) { $item["Number"] = Get-Random -Min 0 -Max 100; $item.Update(); } }


2

The shared fields are set by an itemeventreceiver, so won't be filled till the document is actually added and saved to the document set.


2

If you want to use a tool that exposes various properties of the SP object model (basically allows you explore all of the sites' fields, lists, content types, and other nitty gritty) and you don't want to have to return to sites like this to discover the next magical method, you really ought to try installing SharePoint Manager 2010 http://spm.codeplex.com/ ...


2

As it seems this is a limitation of the managed metadata columns in SharePoint 2010. Let's hope a future SharePoint version will improve this behaviour.


2

You can use ScriptBlock attribute to add custom javascript using a CustomAaction. <CustomAction Location="ScriptLink" ScriptBlock="alert('hello');" Sequence="100"> Notice ~site token inside ScriptBlock. It will be replaced with the server relative url of the current site (SPWeb). Another available token is ~sitecollection, which gives ...


2

In SP2007 the best you can do is setting the queryOptions of the GetListItems to: <QueryOptions> <IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> </QueryOptions> But it'll remove the fields you listed, but only other required fields. In SP2010 you can set it to <QueryOptions> ...


2

SPFile file = oListItem.File; StreamReader fsReader = new StreamReader(file.OpenBinaryStream()); byte[] contents = null; using (Stream fStream = fsReader.BaseStream) { contents = new byte[fStream.Length]; fStream.Read(contents, 0, (int)fStream.Length); ...


2

My advice would be for you to answer "No" to this and go on with your life. However, if the customer is requiring that this information be included in the alert then prepare yourself to enter the world of pain known as SharePoint Custom Alerts. This article should get you started on understanding what is involved in custom alerts. The article is for ...


2

There are two ways to do this assuming your question is specific to page properties and nothing else. Firstly - You can add a single line text column named "Customer" to the document library where your page resides. Second - Managed Metadata Service (recommended way) - Using managed metadata SharePoint will give multitude of options with metadata and ...


2

The legacy SOAP Web Services include methods to work with Web Part pages and Web Parts. See for example: http://msdn.microsoft.com/en-us/library/ms774788(v=office.12).aspx They work in SharePoint 2007, 2010, and also 2013 (but deprecated).


2

I wouldn't use metadata to do a workaround on permission when you already have item level permission built in. By default your documents inherit site permission and those with sufficient permission can read, update and delete documents. But if you want specific permission on a document, edit sharing the following way. Select Shared With Click Advanced ...


2

Found this: Created a new column in the library with the name "_Author" (mind the _ sign) and the data type single line of text. This will show the Word Author property. Good enough for me. I also found this on the Technet forums but I don't see a custom property "Author0" in the Word properties, so could not recreate that solution.


2

Key filters are primarily used by columns of type managed metadata. They cannot be used for single line of text, multiple line of text, ect. they can sometimes be used on a choice column if the column only has 1 choice available. they can also be used on columns for which the values are managed by sharepoint such as Created, Created by, Modified, and ...


2

Many SharePoint objects have a Property collection. Lists do not directly, but you can use list.RootFolder.Properties and there are methods for Add, Delete, Get, and SetProperty. There's an example here: http://www.novolocus.com/2012/07/23/getting-and-setting-properties-in-sharepoint/


2

The best way I can see to do it is to add event receivers onto ItemAdding and ItemUpdating which checks to see if at least one of the three fields is populated, and if they are not, refuses to continue to add/update the item in question. You will probably want to implement some kind of warning in the form of a pop-up box or, if you want to be really fancy, ...


2

Use following code to get the creation date of folder: item.Folder.Item["Created"]


2

If there are things that will need to be permissioned, then use folders in conjunction with metadata. Views can be created to recurse through folders to show information to users. This will automatically security trim the results. Managing item level permissions in a flat lisst of documents is a nightmare and can cause performance issues. So don't think ...


2

The Modified By property is updated automatically by SharePoint each time a version is created with the current logged in user. Looking at the version history will show who edited the document and when.



Only top voted, non community-wiki answers of a minimum length are eligible