Searching Multiple Content Types

What is the best way to do an attribute search across multiple content types that may or may not have the same attributes? I've subclassed the document type to create an image type like they have in the examples. I would like to do a search across the name attribute of the document and the height attribute of the image. The results I get is the cartesian product of the two classes which is not very useful. Is there a way to do this?

Hi,
According to your description, my understanding is that it displayed only the first eleven content types after you set up multiple content type in your libraries.
I have created lots of content types and added them to library and it worked fine.
Please check the configuration of the content type order in library settings -> Change new button order and default content type, and provide the screen shot about is.
Please add multiple content types you created to other libraries and other libraries in other site collections and test whether this issue occurs.
Best Regards,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Multiple Content types only first 11 visible

    We have set up Multiple content types (word templates) for our libraries.
    But only the first eleven content types are shown when we click on new document.
    I have searched the internet but cannot find a solution for this.
    Is there a possibility to show all the content types ?
    possible solution that I was thinking off but I can not seem to configure:
    - changing the max number of content types that sharepoint displays from 11 to an higher value
    - grouping some content types together and split them up this way
    - creating an extra "new document" link with a dropdown with other content types
    - enabling a scrollbar
    The only possibility I see for the moment is to create multiple libraries each of them with a subset of the content types
    but that is not really user friendly then they have to search in multiple libraries instead of 1

    Hi,
    According to your description, my understanding is that it displayed only the first eleven content types after you set up multiple content type in your libraries.
    I have created lots of content types and added them to library and it worked fine.
    Please check the configuration of the content type order in library settings -> Change new button order and default content type, and provide the screen shot about is.
    Please add multiple content types you created to other libraries and other libraries in other site collections and test whether this issue occurs.
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • View for multiple Content Type List

    Hello
    I have a SP list with multiple Content types.
    i want add a kind of view for the list that have diffrent content types for the some item/record.
    it means that every time someone edit this item and change/add diffrent data in diffrent contant type
    is there any way to do that?
    or there is a way to add the Content type dropdown list in Display view and not just in Edit view? can i do it in SP Designer?

    Hi Avinoam, do you have access to InfoPath? You can do what your asking with that program.
    cameron rautmann

  • Managed metadata columns in document information panel with multiple content types

    Hi everyone,
    The problem I have is that for custom content types not all managed metadata columns are displayed in Document Information Panel (DIP) for the document in the Office client application. 
    However, everything works fine with 1 specific content type. Even though the others using exactly the same site columns. The content types are deployed using visual studio to the content type hub, and after this the content types are correctly published to
    the site collections, there are no publish issues here. 
    When I create a document based on the second content type in the same library, all fields are showed in the document information panel, except the managed metadata columns.
    Detailed explanation:
    Library: procedures
    Content types:
    - simple procedure (with 4 managed metadata fields and some other text fields)
    - procedure with approval (with the same 4 managed metadata fields and some other text fields)
    Scenario 1: I add the 'simple procedure' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 2: I add the 'procedure with approval' content type to the procedures library as only content type. Everything works fine, and all fields show correctly in the document information panel in Word.
    Scenario 3: I add the 'simple procedure' and 'procedure with approval' content types to the document library procedures (added simple procedure first). When I create a new document based on the 'simple procedure'
    content type, everything works fine and he shows all metadata fields. When I add a new document based on the 'procedure with approval' content type, the document information panel shows correctly, except all managed metadata fields. These are not visible at
    all. Though they worked perfectly in scenario 1 and 2.
    Is this a known issue or is there a workaround for this? 
    Thanks in advance! 
    Kind regards, Davy

    Yes!
    This problem is solved right now.
    My issue was that I'm using custom content types deployed by Visual Studio in the content type hub. To create a managed metadata site column in visual studio, you need to have first of all your managed metadata field, but also a hidden field accompagnied
    to make the actual mapping like the example below:
    <Field ID="{B654D984-187A-471B-8738-F08F3356CFDA}"
    Type="TaxonomyFieldType"
    DisplayName="Countries"
    ShowField="Term1033"
    EnforceUniqueValues="FALSE"
    Group="Demo"
    StaticName="Countries"
    Name="Countries">
    <Customization>
    <ArrayOfProperty>
    <Property>
    <Name>TextField</Name>;
    <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{67308AC2-9556-456B-BF9E-43E8F23EBEE6}</Value>
    </Property>
    </ArrayOfProperty>
    </Customization>
    </Field>
    <Field Type="Note"
    DisplayName="Countries_0"
    StaticName="CountriesTaxHTField0"
    Name="CountriesTaxHTField0"
    ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}"
    ShowInViewForms="FALSE"
    Required="FALSE"
    Hidden="TRUE"
    CanToggleHidden="TRUE"
    Group="Demo"
    RowOrdinal="0"
    />
    </Elements>
    VERY important here is that when you create your content type using visual studio, you not only have to add the managed metadata site column in your xml (which let the content type work already perfectly) but also add the hidden field to your content type
    xml !! This way, SharePoint knows that when you have multiple content types with the same site columns in the same library, the second content type also need to get the hidden field from this site columns like in the example below!
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <!-- Parent ContentType: Document (0x0101) -->;
    <ContentType ID="0x010100571ebc0f478a49d5a775039347ee1535"
    Name="Document Location"
    Group="Demo"
    Description="A content type containing Managed Metadata Column."
    Inherits="TRUE"
    Version="0">
    <FieldRefs>
    <FieldRef ID="{B654D984-187A-471B-8738-F08F3356CFDA}" Name="Countries"/>
    <FieldRef ID="{67308AC2-9556-456B-BF9E-43E8F23EBEE6}" Name="CountriesTaxHTField0"/>
    <FieldRef ID="{f3b0adf9-c1a2-4b02-920d-943fba4b3611}" Name="TaxCatchAll"/>
    <FieldRef ID="{8f6b6dd8-9357-4019-8172-966fcd502ed2}" Name="TaxCatchAllLabel"/>
    </FieldRefs>
    </ContentType>
    </Elements>
    I'm very happy I found this solution, because in the whole project i'm implementing, this was used a lot!
    Special thanks to the blog of @cann0nf0dder (http://cann0nf0dder.wordpress.com/2013/04/01/creating-a-site-column-with-managed-metadata) which let me think about this! 
    This ticket is answered now! :-)
    Kind regards,
    Davy

  • Searching multiple Content Server Portlets

    I am able to search single Content Server Portlet and get results using following lines of code.
    IPTSession ptSession = new InProcSession();
    ptSession.Connect(AppSettings.PTUserName(), AppSettings.PTPassword(), null);
    IPTSearchRequest ptSearchRequest = ptSession.GetSearchRequest();
    ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_CONTENT);
    ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_ASSOC_PORTLET_ID, 10468);
    IPTSearchQuery ptSearchQuery = ptSearchRequest.CreateBasicQuery(query, null);
    IPTSearchResponse ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);
    return ptSearchResponse;
    However Type Cast exception comes at run time when we pass array containing multiple Portlets ID although code gets compiled
    IPTSession ptSession = new InProcSession();
    ptSession.Connect(AppSettings.PTUserName(), AppSettings.PTPassword(), null);
    IPTSearchRequest ptSearchRequest = ptSession.GetSearchRequest();
    ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_APPS, PT_SEARCH_APPS.PT_SEARCH_APPS_CONTENT);
    int[][] ar = new int[2][];
    int[] int1 = new int[]{ 0, 10468 };
    int[] int2 =new int[]{ 0, 23757 };
    ar[0] = int1;
    ar[1] = int2;
    ptSearchRequest.SetSettings(PT_SEARCH_SETTING.PT_SEARCHSETTING_ASSOC_PORTLET_ID, ar);
    IPTSearchQuery ptSearchQuery = ptSearchRequest.CreateBasicQuery(query, null);
    IPTSearchResponse ptSearchResponse = ptSearchRequest.Search(ptSearchQuery);
    return ptSearchResponse;
    It will be quite useful if anyone of you can help us if Plumtree API support this. Or else we need to build another layer to search each Portlet and merge results.
    Platform Details:
    Plumtree Portal 5.0.4
    Content Server 6.1
    Regards
    Kishore GVK

    Hi Praveen,
    I have not done portal configuration for SAP DMS. But as per the link below, you can assign multiple SAP DMS repository managers which can refer to separate content servers.
    http://help.sap.com/saphelp_dimp50/helpdata/EN/32/2a840d132af04fa2f0b31ebf3e8a78/content.htm
    Wait for other expert comments if they can answer your query.
    Regards
    Amit

  • I need help using multiple content types in a wiki page library

    I currently trying to used multiple custom content types based off of the wiki page content type in one wiki page library. 
    EDIT: "Allow management of content types" has been enabled with the designer
    The way i would like this library to work is:
    Click the "Files" tab in the ribbon
    Click the "New Document" drop down menu
    Select one of the content types (Client, Contact, Project)
    SharePoint Will Ask for the Page Name and content type fields
    Click create
    Then it will take you to the new created page.
    This issue I'm currently having is when i click on one of the options (Client, Contact, Project) it will ask for a page name then you have to check it in to get to the edit form. The edit form it then loads is the default content type and not the selected
    content type.
    So my questions are.
    Is there any way i can combine the page name and edit steps together into one step?
    How can I get the edit form to pull from the selected content type?
    Thanks in advanced
    James T.F

    Wiki library isn't really designed for customizations... it's a "special" library that overrides a lot of default behavior... similar evidence can be found if you're trying to add metadata columns to wiki pages... they're just not really designed to handle
    it very well.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Issue with New Document in a document library with multiple content types

    Hi,
    I have a created a custom list definition based on a document library. I added 3 content types in this list, one is a document set (lets call it DOCSET), the two others are content types inheriting from Document (DOCA and DOCB).
    I deployed the list definition with a site scoped feature and the list instance with a web scoped feature. After activating the two features, the list is created and the content types are present in the list.
    When I click in the New Document button and choose either the DOCA or DOCB content type, a Word document opens and the DOCA content type is always associated to this Word document.
    With SharePoint Manager 2013 I saw that the template.dotx document was not in the Forms/DOCA or Forms/DOCB folder.
    So I decided to remove all the content types from the list definition and add them by code with the ListAdded event receiver. I used list.ContentTypes.Add to add the content types to the list.
    With this method the templates are correctly copied from the template.dotx in the RootFolder/Forms folder of my list. These templates have the rights content type id, but the New Document button still does not work properly.
    So I looked at the Content Types inside my library and saw that the DocumentTemplateUrl linked to the RootFolder/Forms/template.dotx and not the RootFolder/Forms/DOCA/template.dotx or RootFolder/Forms/DOCB/template.dotx.
    I debugged my code to look closer and see that right after the list.ContentTypes.Add, the DocumentTemplateUrl is correclty set but when my EventReceiver finishes, the DocumentTemplateUrl get back to the RootFolder/Forms/template.dotx.
    Have you any idea why this is not working ?
    Regards

    Hi,
    Per my understanding, there is an issue about the DOCA and DOCB content types which inherits from Document Content Type in your custom list definition.
    By default, if there is a custom content type inherits the OOTB Document Content Type, it will also inherits the template.dotx file from the OOTB Document Content Type.
    The template URL of a custom content type which inherits the OOTB Document Content Type:
    If you want to specify different templates for different content types, the code demo below would be helpful:
    http://www.learningsharepoint.com/2010/07/14/programmatically-create-a-new-content-type-in-sharepoint-2010/
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • List with Multiple Content Types and Making new Forms...

    I go to create custom forms based on content types.  After I create using the wizard in the list it always shows the same form no matter which content type I pick.
    what am I doing wrong?
    David Jenkins

    You can change the custom form on content type through SharePoint Designer. Do not change it on the content type directly, when you add content type in a list/library, then open list's content types in SP Designer and then select your content type and modify
    the URLs of your custom display form.
    I have updated a document in gallery for
    step by step development of custom workflow and custom task form. In this document you can find the association of custom form with content type using SP Designer.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Search Multiple Content Areas

    We are running portal version 3.0.9.8.5 and would like to include 2 content areas in the search results. Right now we have the ability to search all or one content areas but not multiple.
    Is this functionality feasible?

    The search engine is not set up to tackle more than one (but not all) content areas in 30985. so even with your own search screen this is not feasible. This functionality will be available in the next major release.

  • Creating web app to search multiple document types

    I don't know that this is a Servelt API question but Im not sure where to ask it. I needto write a wb app that enables users to search through multiple files, foldes and document types for particular strings within a faculty intranet. I don't know if this is a Java task or if I should take a different approach. I'm looking for ideas before I start the project. Thanks.
    Ken

    Not that I have any experience in this area but you might want to look into the Apache Lucene project:
    http://lucene.apache.org/

  • Includes and multiple content-Type directives

    ok,
    myGreatPage.jsp:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ include file="header2.jsp" %>
    header2.jsp:
    <%@ page contentType="text/html; charset=UTF-8" %>
    this triggers an error, that i cant have multiple occurrences of "contentType", which is logical, but imagine if both the files above contain russian or estonian characters and therefore need to be saved in UTF8 format.
    If I remove the <%@ page contentType="text/html; charset=UTF-8" %> from header2.jsp i get three weird characters at the top of my web page.
    Help! whats the best way to do this ? thx merci beaucoup takk bitte spaciba

    Yeah... the reason is this...
    When you do an <%@ include, you are essentially telling the JSP compiler to read that included file in and insert it into the parent page. It would basically do this by opening the file itself. It's just a fancy copy/paste of the code. So you'd end up with 2 contentType directives, which is one problem.
    The reason for the screwing up of the text is that when it opens the included file to read it in, it's using the character encoding that the OS or the server was started to use, probably either Cp1252 or ISO8895-1, which of course, screws up the UTF-8 chars.
    The 2 ways to resolve this is to make sure the server starts with the option to use UTF-8 as the default character encoding, so it reads the files properly (presuming you've saved those files as UTF-8 encoding). Or make all the text that uses non-ASCII chars is written as Unicode escapes (\uXXXX) format. You can use the native2ascii tool to do that translation.

  • How to create the query with multiple node types

    Hi,
    I am having an issue in creating a query to search multiple node types.
    The requirement is to query documents/pages of the type dam:Asset and cq:Page present under a path.
    I tried the following code snippet with no luck .
    path=/content
    1_type=cq:Page
    2_type=dam:Asset
    property=jcr:content/metadata/@cq:tags
    property.1_value=<tag Name>
    I was able to write a query with single type. However i could not find any documents/ materials with multipe types as shown above.
    Thanks in advance.
    Regards
    Sudhi

    I don't think multiple type is possible. Instead use super type like nt:base that will cover both page and asset.
    Yogesh
    www.wemblog.com

  • Update Item when Content Type is changed in the browser

    I feel like I might be missing something obvious here - I set up a number of managed content types.  While editing a list item with multiple content types, when a user changes to a different content type using the drop down at the top of the page,
    the edits are not saved.  Is there any way to force an update when the user changes content type?  Clicking save returns the user to the list view which means the user needs to edit it again, and navigate to the content type.

    Hi Steve,
    Per my understanding, you might want to update item with the input values when content type changed by selecting an option in the “Content Type” drop down menu in
    EditForm.aspx page.
    A Content Type is a set of predefined columns, from the perspective of the use of Content Type in a list, it would be easier to maintain per record with only one content
    type as an item, this is also a recommended behavior when working with multiple content types in a list.
    If you want to take use of columns from multiple content types in an item, a suggestion is that you can create a custom content type with the columns from other content
    types you want, then add it into your list.  
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Choose which content type to use in sharepoint 2013 list using InfoPath 2013

    So, in my head it seems pretty simple and a feature that might be standard to InfoPath so much in fact I can't find anything on it... My goal is to a have one list where you can do a drop down or buttons to choose which content type to use.
    I will be royally disappointed if this is not possible. =(
    So, c'mon you giants of MS Support. Give me a happy answer.

    Hi Lincoln,
    According to your description, my understanding is that you want to use multiple content types in a list.
    For achieving it, you can do as the followings:
    Open the list.
    Go to List Settings->Advanced Settings.
    Under ‘Allow management of content type’, select ‘Yes’, click OK.
    In the Content Types section, click ‘Add from existing site content types’
    Then add the content types that you want to add, click OK
    Go back to the list, click ITEMS->New Item, then all content types are displayed in the drop-down list
    When you click an item, you can select the new item is created based on one of these content types
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Incorrect Infopath content type update in form library after modifying Infopath form and publish it

    I have an admin approved InfoPath form. I added new fields to that form and mapped those new fields with site columns. After uploading updated published form through CA, I noticed InfoPath Site content type for that form got updated (with newly added fields)
    under Microsoft_Infopath group. This content type is also added in form library but somehow the new fields are updated incorrectly for this content type existing in form library (it doesn't show new fields, and shows one new field which is incorrectly
    mapped with other column this is happening only in library). 
    Things I tried:
    - Activate/Deactivate that content type feature
    - Deactivated feature, removed form from CA, re uploaded and activated feature
    - Removed those new fields and published and uploaded InfoPath form and then added those new fields and published and uploaded again.
    -Deleted those fields from InfoPath and readded new fields and published and uploaded form but still the problem persists.
    Any help will be appreciated.
    Dhaval Raval

    Hi Thanks for the response,
    But Update all content types inheriting from this type is already checked.
    That form library has multiple content types associated with it , different infopath forms get submitted there. What I noticed is that when I change the form and publish it, its corresponding site content type gets updated but the same content type used
    in form library doesn't get updated properly. I went to form library and checked that erroneous content type, there were some columns missing and one column was mapped incorrectly. When I clicked on "Parent" content type, it was showing all the new Infopath
    fields(updated content type). So I figured that Infopath site content type was getting updated correctly but it was not able to propagate those updates (in a correct way) to the form library. I also tried to edit that content type and tried adding existing
    site columns which were missing but surprisingly it was not showing those site columns either, which were mapped from Infopath publishing.
    The cause for this behavior is : changes/updates to the Infopath content type are not getting propagated to the form library and this is happening for only one infopath content type but other Infopath content types are getting updated.
    I had to delete all the forms using that erroneous content type and then had to delete that content type from the library and then re-added that Infopath content type to the library and this time it was having correct content type (updated columns).
    This is not a perfect solution for the production environment, sounds like it is a bug.
    Dhaval Raval

Maybe you are looking for

  • How to have the same adjustment settings for each photo?

    Hi all, Can anyone shed any light on this? When I click on a photo and I want to sharpen, noise reduce etc, I have to select these parameters to appear, I do the adjustments and then click on the next photo.... Now, I want to do DIFFERENT adjustments

  • I don't think my GCU got connected to my existing BestBuy account(s)

    Hi, Late October I purchased a 2 year subscription to GCU using the "buy a $40+ game, get 2 year GCU for additional $30" deal. After purchasing that deal, I logged into my BB account and noticed I had negative points from some prior transactions. Der

  • Renaming oracle datafiles at the unix level

    I have noticed that some of the datafile under /oracle/DV1/sapdata2/ have some strange characters in them Grrr - DBAs that don't know brtools..... for example: drwxr-xr-x   2 oradv1   dba             256 Nov 02 23:22 sr3\177_2 and it shows as sr3_2 u

  • SharePoint 2013 site coll's created. Home page not displaying for any site collection in farm

    SharePoint 2013 site coll's created. Home page not displaying. Same issue for all site coll's in the farm. Done the basic checks. Any Ideas?

  • Play m4v Movie on the Touchpad

    I copied an m4v movie from my iTunes library to my Touchpad.  The movie won't play.  I can see it in the Pictures area, I see that the length of the movie is 1hr45min, but when I click on it to play, nothing happens other than a progress bar with a P