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

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

Sort/Filter content based on metadata

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint

Hi forum!

I'm going to create a document library containing 1000-2000 documents tagged with metadata from the term store. After that I will create several different wiews  based on the metadata I've taggged the documents with. I want the output to be something like this;

+ metadata : customMetaData (53)
 - metadata : customMetaData (34)
        - metadata : customMetaData:customMetaDataLevel2 (20)
            Document 1
                   Document 2
                   Document 3
                   Document 4
                   Document 5

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

Unique content within master page based on conditions met


 Hi all-

I would like to present users with unique content based on certain conditions being met as they land on the home page (default.aspx).  The condition logic will be in the VB code behind Page Load event. The content will go in a content placeholder as specificed from the master page. 

However, the content change wouldn't be something small (ie making a panel or label visible or not) but rather it will be different HTML,  Divs and databound gridview content.  The HTML content will be stored in the database.

Can someone point me in the right direction for best practices on how to accomplish this?


"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

Content deployment: pages not based on a page layout

Is it possible to use content deplyoment feature when pages (in page library) are not based on a Page Layout?

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.

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)

Need to link multiple External Content List items to a single document metadata column

I have an external content list - for my purposes, the data isn't any fancier than a list of terms provided by a web service (read only - I don't need update/delete functionality). I want to be able to link any subset of those terms to a single document metadata column (in other words, I need it to work like a normal content list that is defined to allow multiple values in a column) but SharePoint doesn't let me do that on an ECL. I need the content list to be externally driven since more values are going to be added to an outside system over time, but I think it's possible that I may not need a full-fledged ECL list to make this work this way in SharePoint. Just to clarify: I don't need the metadata values in my documents to maintain a PERSISTENT link to the web service (if someone changes an underlying value in the web service DB, it doesn't need to be updated in the document table too). I just want SharePoint to offer up an updated set of source values from the web service if somebody goes in and edits the document metadata. Any ideas for how I can make this work?

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

Filter out a subsite with Content Query

I'm using a sp 2007 Content Query to pull in news feeds from all over our site collecton.  I'd like to filter out one sub site using the "additional filters" option.   Is there a sub-site guid I could use, or a way to exlude one single site via the additional filter?   Thanks

How to implement metadata based navigation/search to the documents

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

Want to page content based off of a character limit or height of container

First of all I would like to say hello. I have created a backend that allows me to update my site content. I am using fckeditor to pull the data from my table in the database. The problem I am having is this:  I need to create paging of content so that when the height restriction is met a next btn or numbering system displays to allow the user to click to the next page of content. Can anyone point me in the right direction or possible tell me how I can do this?

MS Filter pack for Zip files content search not working

I am facing a problem related to Zip files content search. Searching of content inside zip files doesn't return in search results. But searching for zip file name returns filename in search results. I look into Crawler log, all it says is:   Steps I followed to install MS Filter pack: Installed MS Filter Pack 1.0 (x64) http://support.microsoft.com/kb/946336/en-gb In Search Administration page added "zip" in File types Add Reg subkey under : "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\" for ".zip" with value ={20E823C2-62F3-4638-96BD-90F4F6784EBC} Stop and Start oSearch Run full crawl of content sources Can you please advise or have any tips you got to resolve this. Thanks http://portal/testzip.zip Crawled (The filtering process could not load the item. This is possibly caused by an unrecognized item format or item corruption. )

Multilanguage managed metadata filter

Hi, I wonder, how to create filter for view, using managed metadata in multiple languages. For example I have list with managed metadata column "color" with content "red", "yellow"... When I switch the language to german, it changes to "rot", "gelb" and so on for all other languages. Now I want to filter all list items with red color. But it doesn't work in other languages. So question is, how to set value of the managed metadata column? If it is "red", I switch to german language and it doesn't work. When I set "red" or "rot" it works, but it is nonsense set all filters for all languages and change it every time you add new language pack (we need 15 languages). Is there any possibility to filter items by key and not actuall value in actuall language? Thanks.  

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

"BDC Metadata Store is Currently Unavailable" when navigating to the External Content Types object i

After installing SharePoint 2010 Beta and Sharepoint Designer 2010, opening Designer and navigating to the External Content Types object results in the following error:"The Business Data Connectivity Metadata Store is currently unavailable."Anyone else having this experience?ThanksMark

filter a dropdown based on a check box value

Hi I created a dropdown in the infopath that will lists all the ID's from a sharepoint list. Then I added a checkbox in the form. When a user selects/checks the check box, the dropdown list should display only the student ID's Sample list I used ID    category 1      student 2      master 3      student 4      student 5      master How to do this. Any ideas, I am new to infopath 2010.
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