.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How to implement metadata based navigation/search to the documents

Posted By:      Posted Date: September 07, 2010    Points: 0   Category :SharePoint
I have document library full of documents and each of items have managed metadata. I would like to create intuitive user interface where end-users can find documents based on managed metadata. I don't want to offer document library view as a first step interface. Which webpart suites to followings. Please suggest alternatives if my idea cannot be done. Case: End user select "personnel " metadata from treeview and press "OK/Search" and all documents which have the metadata personnel are listed.Kenny_I

View Complete Post

More Related Resource Links

Filter out documents from search based on metadata value



I currently have a document library that contains over 1,800 records in it. Each document has a metadata column called "Archived" associated with it. This property can either be True or False. Currently, every document in the document library gets indexed by the Search Engine Crawling service. I would like to filter out the documents that have the archived property set to True, so that they don't appear in the search result. Is there a way to create a crawl rule that would be specific to a particular Document Library, and that could filter documents out based on metadata?


My alternative is to create and event handler that would move the document out into another document library that won't get indexed whenever the property gets set to true. However, I would prefer to use a cleaner out-of-the-box way to achieve this. Anybody knows if it is feasible?



Nikolas Charlebois-Laprade Microsoft Certified Professional Software Engineer and Project Manager

Is it possible to move documents to folder based on metadata by workflow?

We have a document library, which have several folders. We need a process so that documents are stored to the right place based on metadatas. Is this possible? Any better method for this? 1. User uploads a document and defines it as a "personnel" document in the metadata field. 2. Workflow(or another method) moves the document automatically under Folder "Personnel".Kenny_I

Is it possible move documents based on managed metadata to Document sets

I would like to all documents who have managed metadata "personnel" to the Document Set "HR". Is this possible with workflow?Kenny_I

How to Configure search for meta-data based retrieval of documents into Document Libraries?


I need to crawl update of newly created/updated documents within document libraries. My understanding says i need to create the new content source and associate the crawls.. and newly created and updated documents would be crawled in the next sceduled incremental crawl. But my question is how i can create the dadicated content source for document libraries as the content as there is no such content source type.

Any suggestion or workaround would be greatly appreciated.



"Oslo" Basics: Build Metadata-Based Applications With The "Oslo" Platform


We introduce you to "Oslo" and demonstrate how MSchema and MGraph enable you to build metadata-driven apps. We'll define types and values in "M" and deploy them to the repository.

Chris Sells

MSDN Magazine February 2009

Code Name WinFS: Revolutionary File Storage System Lets Users Search and Manage Files Based on Conte


One of the monumental problems organizations face today is aggregating information that's stored in disparate formats. Knowledge workers have long wanted to be able to search for content independent of format. The next version of the Windows operating system, code-named "Longhorn," boasts a new storage subsystem that makes that task easier. That subsystem, code-named "WinFS," allows the user to perform searches based on the metadata of the stored item, regardless of what type of file it is or which application created it. This article covers the basic architecture of WinFS and explains how to use the WinFS managed API.

Richard Grimes

MSDN Magazine January 2004

Search and Navigation Tips/Tricks with Visual Studio


This is the twenty-seventh in a series of blog posts I'm doing on the VS 2010 and .NET 4 release.

Today's blog post continues on from the Debugging Tips post I did last week, and covers some useful searching and navigation tips/tricks you can take advantage of within Visual Studio.  These tips were ones that my friend Scott Cate (who has blogged dozens of great VS tips and tricks here) recently recommended to me as good tips that most developers using Visual Studio don't seem to know about (even though most have been in the product for awhile). 

Hopefully this post will help you discover them if you aren't already taking advantage of them.  They are all easy to learn, and can help save you a bunch of time.

Ctrl + i - Incremental Search

Most developers using Visual Studio are familiar with the "Find dialog" that you can launch by pressing the "Ctrl + F" key within the IDE.  A surprisingly large number of developers, though, aren't familiar with the "Incremental Search"

How can I prioritise search results to show where document metadata has a hit first and then where t


When my users run a search against a site with a bunch of document libraries they will often search for terms that are in the title of the doc, if they do know the title they will put that in. What I would like to do is have the results ordered such that if any hits are on the document metadata (eg Title) then they are presented first and any results that are from hits on the content of the documents are presented later.

So, if they get the title spot on in their search query that document will appear first .... if they don't get it right then the likelyhood is that the title is something like what they entered so similar titled docs are presented first and then those with matching content ....

How can I achieve this?


How to filter the search result based on a column value?

I do have search scope scoped at a list which contains attachment. I will use this scope to search (full text search) on this list then I need to filter the result based on a column which is in the same list. How do I do that? Thank you.

Can I search Office Documents (Excel, Word etc) in WSS 3.0 without having to install MS Office?



Does WSS 3.0 come with the filters for searching MS Office Documents or do you have to have MS Office installed on WSS 3.0 Server?



sharepoint search pdf files using metadata and also the content inside pdf

I am a novice to sharepoint search can anyone give some ideas on how to integrate search at a subsite level (only to that subsite) which has pdf documents with metadata associated with it the search should also search the content within the pdf and libraries and list metatdata in Moss 2007

Location-Based Metadata #sp2010plaintalk

This is the first post in a series of SharePoint 2010 plaintalk (#sp2010plaintalk) aimed at SharePoint professionals who are exploring features of the platform, typically to do feasibility assessments for applying platform features in projects. With every new version of the platform I tend to spend a lot of time digging through the marketing and technical content of the new features to understand what a new feature *really* does. We'll start out with a small one on Location-Based Metadata (sounds...(read more)

How to use metadata for permission to access Documents?

I have document library with 100-200 documents. Not all users are allowed to open all documents. So far I know that user permission can be defined by a document or library level. And permision are granted for user or groups. I wonder if it possible define permissions by metadata level. For example "Personnel department security group" have access to the documents with metadata personnel.    Kenny_I

how implement run time search

here I have 2 sample table and their data, CREATE TABLE TempData(Employee_ID INT, Timesheet_ID INT, Employee_Name VARCHAR(50)) INSERT INTO TempData VALUES(1, 20, 'YAZD') --SELECT * FROM TempData CREATE TABLE ColData(ColName VARCHAR(50)) INSERT INTO ColData VALUES('Employee_ID') INSERT INTO ColData VALUES('Timesheet_ID') --SELECT * FROM ColData below "SELECT" returns from below query, --SELECT * FROM TempData WHERE Employee_ID = 1 AND Timesheet_ID = 20 DECLARE @Employee_ID INT DECLARE @Timesheet_ID INT SELECT @Employee_ID = Employee_ID, @Timesheet_ID = Timesheet_ID FROM TempData DECLARE @STRSQL NVARCHAR(MAX) SET @STRSQL = N'SELECT * FROM TempData WHERE Employee_ID = ' + CAST (@Employee_ID AS VARCHAR) + ' AND Timesheet_ID = ' + CAST (@Timesheet_ID AS VARCHAR) + ' ' PRINT @STRSQL now I prepare dynamic search creteria from table "coldata" and now "SELECT" is below, --SELECT * FROM TempData WHERE [Employee_ID] = CAST (@Employee_ID AS VARCHAR) AND [Timesheet_ID] = CAST (@Timesheet_ID AS VARCHAR) DECLARE @ColName NVARCHAR(MAX) SET @ColName = STUFF( (SELECT ' AND [' + ColName + '] = CAST (@' + ColName + ' AS VARCHAR)' FROM ColData FOR XML PATH('')),1,4,'') DECLARE @Employee_ID INT DECLARE @Timesheet_ID INT SELECT @Employee_ID = Employee_ID, @Timesheet_ID = Timesheet_I

FAST Search navigation

So, I have created a FAST Search and it works ok. My problem is that I cant get navigation to show up on FAST Search center. I would like just like other sites to have links that lead to our Portal and also to other sites. Not matter what I do it does not show up. All I see on the top left is FAST Search - Search. Any ideas?

search on managed metadata column values

I am trying to search on a managed metadata column in a list.  I have the managed metadata as a mapped property (these are automatically set up actually). I have a column frequency (daily, weekly, monthly, yearly) I can enter a search box owstaxIdFrequency=#a132a333-39f1-4737-9ad4-a932482e025f   //this is the taxonomy guid for Daily.  This shows results. How do I search on the word "Daily" in the frequency column?  (I just want to figure it out on a simple search first meaning just using one search box)   I noticed that there are extra maped columns for managed metadata columns (owstaxIdFrequency also has owstaxIdFrequencyx0020Tag, I tried owstaxIdFrequencyx0020Tag="Daily", but it didn't work)

Search based on creation date

Hello All, I would like to ask which managed property I should use for searching based on creation date. It seems I can't find a managed property to do this. I created my own managed property with the right crawled properties, which works. But I think this should be something out of the box.  Please help, thank you  Anna
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend