Custom Fields for Content Search WebPart

I created a custom item display template to control the look of the data.  I copied the template "Picture on left, 3 lines on right" and just rearranged the div and added my own styles. 
I created a custom List for Company Information.  The list consists these fields;
Title
Hyperlink
Main Paragraph
Image
Sub Paragraph
I can not map Main Paragraph and Sub Paragraph as they do not display in the drop down for mapping fields.  I have crawled the database.
Please let me know if you have any ideas for getting those fields to show in the mapping.
Thank you

Hi  Phillip6653,
For solving your issue, you can create Main Paragraph site column and Sub Paragraph site column. If you create a site column (not a list column), populate it with data, and run a full crawl  SharePoint
will create a crawled property and a corresponding managed property.
Reference:
Automatically created managed properties in SharePoint Server 2013
Hope this helps!
Best Regards,
Eric
Eric Tao
TechNet Community Support

Similar Messages

  • Custom Display template for Content Search webpart

    Hi,
    I am trying to customize the out of the box "slideshow" display template for content search webpart which renders Images.
    By default, the slideshow display template has a fixed the image size which is very small. Is it possible to increase the dimensions of the container or control template to show a much larger image size?
    Can anyone please help on how to do this?
    Thanks,

    Hi,
    According to your description, my understanding is that you want to increase the dimensions of the container or control template to show a much larger image size in the Content Search web part.
    I recommend to create a custom Display Template (control and Item display templates) and use JQuery Slider plugin to achieve this goal.
    More detailed information are provided in the link below:
    http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/02/sharepoint-2013-customize-display-template-for-content-by-search-web-part-cswp-part-2.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to add customized fields for free search in PA30

    Hi,guys
       I have created some customized infotype. and I want to add the field of that infotype into free search.
       How do I do that?
       Please help
    Thank you in advance

    Hi Luke,
    I am getting follwoing error in cds file 1906. 05 Oct 2011 09:46:58 ERROR com.nakisa.Logger - com.nakisa.framework.data.commandProcessor.impl.OracleCommandProcessor : getDataTables : Problem executing query. Data Element Name: SAPOrgUnitDataElement.
    This error is only coming in Quality & not in dev. In Dev, It is showing Org Structure for a scenario but in Quality, it is showing a blank screen & giving this error in cds log file.
    I have copied SAPOrgUnitDataElement.xml into SAPOrgUnitDataElement_copy.xml & then used standard SAPOrgUnitCostCenterInheDataElement data element to create a linked data element called SAPOrgUnitDataElement (using SAPOrgUnitDataElement_copy & SAPOrgUnitCostCenterInheDataElement).
    All the fields in SAPOrgUnitCostCenterInheDataElement got added in source Organization Structure feilds & I have also added cost center name field in view but still it is not showing in scenario Org chart in dev. Because of data issues, I thought to test it on Quality but there I am even not able to see Org chart for a scenario & it is giving above said error in cds log file.
    Please help!
    Thanks,
    Prashant

  • Content Search Webpart is not displaying certain fields from my results

    I am rolling up some list data from a subsite to its parent site. The list includes the Title and Health fields. The Health field is an image column. When typing in "Health" into the second line to display for the webpart, it doesnt show anything
    when I save and refresh. The Title field works, however. Another field "Created" also works but I don't need to display that column in the webpart.
    Any ideas how I can fix this?

    Hi,
    Please change the mapping of managed properties for the fields in
    the Item Display Template.
    Displaying the right data in the Content Search web part in SharePoint 2013
    http://www.sharepointnutsandbolts.com/2013/03/displaying-right-data-in-content-search.htmlWe
    can also customize a Display template for content search web part to achieve
    special requirement.
    http://www.myphotoadventures.nl/2014/05/21/sharepoint-2013-custom-display-template-for-content-by-search-web-part/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Building Query for SharePoint content Search Webpart

    Hi,
    There is a content search webpart being used for displaying the Related Items from a Page library. Whenever a new item/Page is added into the Page library, there is a column that accepts multiple values.
    Now my requirement is, when a new page is added (which would be a part of custom page layout which has Search webpart) with a Column named say for Ex: 'Status' values as New, Old, Newer and when this page is opened, I want the search web part to display
    all other items/pages whose 'Status' column values would have one among these.
    As I do not have any idea on building the query with this webpart, any help/suggestions would be greatly appreciated.

    Dipti,
    How about replacing you line as below (with content class)
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    with
    var newQuery = 'contentclass:STS_ListItem_Events'+ ' ' +'EndDate'+ '>=' + date;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Content Search Webpart Property Filter

    Hi,
     I have two pages. In first page i added custom webpart with one textbox and search button. In second page i have content search webpart that should filter the result based on the property value we enter in the text box.
    I added the property filter PropertyNameOWSTEXT:{QueryString.MyParameter1} to the query. I am passing the value on click of button through query string to second page. I have results matching the query in my list but Content Serach Webpart not showing any
    results.
    Can anybody help???
    Thanks

    Hi,
    I am looking for solution to filter data on content search web part ( SP 2013)  by using  URL.
    For example:
    My URL is: http://SiteCollName/Sitename/Pages/PageName.aspx?MyParameter1=XXXX
    Result : Display results that field "My field" contains XXXX.
    nikita

  • To search only images in a particular folder of picture library using content search webpart.

    I have Images library where i am storing images in different folders.I need my content search webpart to search and display images in a particular folder in Images Library.For ex: i need to if my Picture Library Name is 'Images' a folder inside that is
    'Travel' which is having some images.I need my content search webpart to pick images from 'Travel' folder only.Any pointers to this will be helpful.

    Hi,
    According to your post, my understanding is that you want to search images in a particular folder via content search web part.
    When we use the search crawl the items in the images library, it crawls the items and folder with the following URL.
    For folder: http://sp13/PublishingImages/Folder1.
    For Items:
    http://sp13/PublishingImages/Forms/DispForm.aspx?ID=itemID
    It not crawls the items as the path
    http://sp13/PublishingImages/Folder1/Item, then we could not use this path to retrieve the items in the folder.
    As a workaround, we can create a custom field in the image library, such as a choice type field named
    Folders(it contains the folder names), when we create a image, we set the folder name in this field.
    Note: we should new a managed property manually to match the Crawled property.
    Then we can use this field to filter the items in a particular folder as below, it works like a charm in  my environment.
    path:"http://sp13/PublishingImages"   Folders=Folder1
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Replicating Custom Fields for Products in CRM  from ECC

    Hi All,
    I am having difficulty in replicating SAP standard field values from ECC to custom fields for products in CRM. This is what i did:
    1. I created a new settype(ZMASTER_INFO) with a single attribute(ZIND_STD) and added
        this new settype to MAT_HAWA. (As all our materials fall under this material type).
    2. I am looking to map SAP standard field from ECC to this custom field of mine.
        I wrote the code in CRM BADI 
        'ZPRODUCT_CUSTOMER2->MAP_R3_TO_CRM_MATERIAL' with the following code:
    DATA: ls_ZMASTER_INFO TYPE ZMASTER_INFO_maintain.
    DATA: ls_category_bdoc       TYPE COMT_PROD_CAT_REL_MAINTAIN,
          ls_category            TYPE COMT_PROD_CAT_REL,
          lt_categories          TYPE COMT_PROD_CAT_REL_TAB,
          ls_settype             TYPE COMT_settype_ext,
          ls_cat_settype_rel     TYPE COMT_CAT_FRAG_REL,
          lt_cat_settype_rel     TYPE COMT_CAT_FRAG_REL_TAB,
          lt_cat_settype_rel_all TYPE COMT_CAT_FRAG_REL_TAB.
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID         = ls_cat_settype_rel-frgtype_guid
            IMPORTING
              ES_SETTYPE              = ls_settype
           EXCEPTIONS
             NOT_FOUND               = 1
             NO_IMPORT_VALUES        = 2
             NO_TEXT_FOUND           = 3 .
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
      CASE ls_settype-frgtype_id.
          WHEN 'ZMASTER_INFO'.
          ls_ZMASTER_INFO-relation-owner = 'X'.
          ls_ZMASTER_INFO-relation-logsys = cs_product_bdoc-header-com_product-logsys.
          ls_ZMASTER_INFO-data-ZZ0010 = is_mara-STD_DESCR.
          ls_ZMASTER_INFO-DATA_X-ZZ0010 = 'X'.
          APPEND ls_ZMASTER_INFO TO cs_product_bdoc-data-ZMASTER_INFO.
          APPEND ls_settype-FRGTYPE_GUID TO cs_product_bdoc-data-MNT_SETTYPE.
       ENDCASE.
    ENDLOOP.
    Since in ECC i am not having any custom fields i did not write any code in ECC for TPS34 and TBE24. I just wrote this BADI in CRM and using the field S_MARA-STD_DESCR.
    I am not sure if i need to write the code in ECC. COUld anyone please confirm if i need the code in ECC?
    Also in the CRM BADI, lt_cat_settype_rel_all is EMPTY. Not sure how this gets its value.
    Could anyone please suggest if i am missing anything here? Any help is appreciated.
    Thanks,
    Karuna.

    Hi Karuna,
    One more solution is to change the BDoc data content before it hit the Database.
    this can be done in badi: Data_Exchange_badi (if u dont find this try with following search string: xchange)
    In the above mention badi you will find a method which is used to populated the contend jst after bdoc in CRM is being populated by R/3 data.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Adding a custom field in standard search criteria in SAP SRM SLM

    Hi Friends,
    Currently we are using SAP SRM with SLM system .
    In SLM system we have a functionality to replicate the supplier to other system ( like ECC SUS etc).
    As per the requirement we have done some enhancement and now we need to enhance the standard search functionality by
    adding our custom filed to one of the search parameter field
    Kindly refer the screen shot
    Click on Supplier Lifecycle Management -> Distribute Supplier
    Kindly suggest the steps to implement this change.

    Hi,
    See this thread:
    Vendor Master Extension in SRM
    For custom fields for vendor master,you can use the BADI's BBP_GET_VMDATA_CF(In SRM) and BAdI BBP_MAP_VMDATA_CF (In R/3).
    Other related links:
    http://www.sapdevelopment.co.uk/enhance/bdt/bdthome.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/2f/696d360856e808e10000009b38f839/content.htm
    F4 for customer table fields
    Look for the OSS Note for more details.
    Note 675800 - Business partner enhancement SRM on maintenance screen
    BR,
    Deepti.

  • Choose display template based on result type - Content search webpart

    Hi 
    Is it possible to choose display template based on result type in content search webpart same like search results web part? If not available can it be achieved programmatically?
    The content search web part is queried against document content type. Based on the document type, the document has to be seen in the hover template.
    Please advise.

    Hi,
    From your description, my understanding is that you want to choose display template based on result type as search result Webpart in Content Search Webpart.
    You could customize your display template for Content Search Web Part, please refer to this article:
    http://www.benprins.net/2014/05/21/sharepoint-2013-custom-display-template-for-content-by-search-web-part/
    Best Regards,
    Vincent Han
    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]

  • What are the possibilities and limitation of using Out of the box content search webpart on SharePoint Online 2013/O365 ?

    Hi All,
    We are migrating from on-premise SharPoint 2010 to SharePoint online 2013.
    I have few questions below: 
    What are the possibilities and limitations of using Out of the box content search webpart?
    Also, how the cross site publishing will work in SharePoint online something with managed navigations and product catalog apporach? if it is not supported, then what are the alternatives to acheive the same?
    Appriciate any commnets/clarifications.Thanks in advance.
    Thanks,
    Dhananjay.

    Here are the possibilities of Content search webparts
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/configure-a-content-search-web-part-in-sharepoint-HA104119042.aspx
    http://office.microsoft.com/en-in/office365-sharepoint-online-enterprise-help/when-to-use-the-content-query-web-part-or-the-content-search-web-part-in-sharepoint-HA104206662.aspx
    Compare the strengths and limitations of the Web Parts
    It’s important that you understand the strengths and limitations of the two Web Parts because if you choose the wrong one, your site could run into performance problems. You can use both Web Parts to show content that is based on a query. In a simplified
    world, here’s how you can decide between the two:
    Use the CQWP when you have a limited amount of content, your query is simple, and you don’t expect your content to grow much in the future.
    Use the CSWP in all other scenarios when you want to show content that is based on a query.
    The table below gives a comparison of the two Web Parts:
    Web Part behavior
    Content Query Web Part
    Content Search Web Part
    Query configuration
    Easy
    You’ll need to know about certain search features such as
    managed properties.
    Query across large amounts of content
    Limited
    Yes
    Handle complex queries
    Limited
    Yes
    Scale to handle future content growth
    Limited
    Yes
    Display content from other site collections
    No
    Yes (see
    section below)
    Design of query results can be customized
    Yes, by using XSLT.
    Yes, by using HTML.
    Maintenance cost in a complex site architecture
    High
    Small (see
    section below)
    Narrow down the query results that are displayed in the Web Part
    No
    Yes, in combination with the
    Refinement Web Part.
    It was not there previously but then it was added to Office 365
    http://blogs.office.com/2013/10/29/search-innovations-for-site-and-portal-design-in-sharepoint-online/
    If this helped you resolve your issue, please mark it Answered

  • Content search webpart query is not rendering result as per the expectation !!

    Hello,
    I have 5 Content search web part on same page with different display templates.
    1) Search Aggregated Result - This display search results for announcements,discussion and wiki as per the current user.
    2) My websites - Thsi displays site links as per the current user.
    3) My Tasks - This display task items as per the current user
    4) Daily calendar - This display the results as per the date selection in calendar control.
    For Daily calendar - I have specified calendar control in custom display template to filter search results based on date selection which is working as below:
    I have got the reference from following link that changing the query dynamically to filter search result data - 
    http://sharepointificate.blogspot.in/2014/08/content-search-webpart-dynamic-filtering.html
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(ctx,function(){
    $('<div id="trCalendar" class=""></div>').insertBefore('#idCalender')
    $(document).ready(function () {
    $("#trCalendar").datepicker( {
    onSelect: function(date) {
    var groups = Srch.ScriptApplicationManager.get_current().queryGroups;
    $.each(groups, function () {
    // Look for query groups associated with a CSWP
    if (this.displays != null && this.displays.length > 0) {
    if (this.displays[0] instanceof Srch.Result) {
    // Update and execute query
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    this.dataProvider.set_queryTemplate(newQuery);
    this.dataProvider.issueQuery();
    selectWeek: true,
    However, this date query is being applied for every search result web part mentioned in page.
    How can I make it work only for the Daily Calendar web part ?
    Your answer will be much appreciated.
    Thanks and Regards,
    Dipti Chhatrapati

    Dipti,
    How about replacing you line as below (with content class)
    var newQuery = 'ContentTypeId:0x0102*'+ ' ' +'EndDate'+ '>=' + date;
    with
    var newQuery = 'contentclass:STS_ListItem_Events'+ ' ' +'EndDate'+ '>=' + date;
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Adding custom fields to Embedded Search

    Hi All,
    I have read the post [here|How to add custom fields to Embedded Search; about adding custom fields to Embedded Search. I am looking to add Employee Subgroup for use in Talent Management (specifically the STVN SuccessionPlanning component) and wanted to know if anyone can expand on the instructions in the link to add this field.
    It appears to be part of the HRTMC_PERSON search object connector already and while I've done some IMG configuration the field is showing in SuccessionPlanning, but not displaying any data.
    Additionally, I'd be interested in any tips to add information that is not from PA0002 should it be required in the future.
    Many thanks,
    Luke

    Hi Luke,
    I am assuming here that your search request fields are based on HRTCM_CENTRALPERSON search template. To enable your search to work on employee subgroup please do the following
    1) Check if the HRTMC_PERSON Template extracts the data from Infotype 0001 via SPRO node 'Define Search Models and Change Pointer' Extraction Class is 'CL_HRTMC_SEARCH_READ_PA_INFTY'.
    2) Via ESH_COCKPIT, goto Template Modeler and select your custom Software Component and press Edit. Goto roadmap step 5 - Define Requests - where all search request fields are defined. Its using these fields Talent search works.
    3) Select the search request e.g. 'SAP_TALENT_NAKISA', it would then show list searchable attributes in below table. Using 'Add' button select path for PERSK so that it can searched.
    It would look like this once selected
    OBJID(REL_CP_P)->HRTMC_REL_CP_P_209.REL_CP_P(REL_CP)->HRTMC_PERSON.OBJID->HRTMC_PERSON.ORG_ASSIGNMENT
    4) In step SPRO 'Define Search Requests and Search Field Names' , define Employee subgroup field with AliasSearchField = PERSK since thats what is defined in roadmap step 5.
    Hope it helps!
    Regards,
    Ricky Shah

  • Custom field in the search criteria of contract management in SRM - POWL

    Hi,
    I have to add a custom field in the search criteria of the POWL query for Contract Management. I have done adjusting of the POWL by adding the custom field in the /SAPSRM/S_POWL_RESULT_CTR and /SAPSRM/S_SEARCH_RESULT_CTR. I have created entries in TREX and Field cat but still the field is not visible in the query.
    Please let me know how can i get the visibility of custom field on the POWL query for contract.
    Regards,
    Geeta

    Hi,
    Try to delete powl query cache using report POWL_D01.
    Regards,
    Marcin

  • Create document preview in sharepoint 2013 content search webpart slideshow

    I want to show preview of documents(word,excel,ppt or videos) in the content search webpart slideshow view. By default we can show images from picture library in the content search webpart slide show view. But i need to show preview of documents(like search
    results document preview) in the help me to content search webpart slider. 
    Please help me to solve this issue!
    Thanks in advance!
    SangeethaAjith

    Hi, Thanks for your reply. Actually m working with Sharepoint Online 2013. I need to show the doc preview
    in content search webpart slideshow. If u have any idea pls let me know.
    The content search webpart is fetching documents using query and we didnt know what results are going to come. For the result documents i need to show the preview.

Maybe you are looking for

  • People and Groups not appearing in Address List

    We have an Exchange 2013 deployment running on Windows 2012 Standard servers. Some of our people and all our groups are not showing up in the Outlook Address Book on people's client application. This despite the fact that "hide name from address book

  • OraOLEDB, ADO and CursorLocation in VB6

    Hi, I'm returning to the Oracle World after 8 years, I'm taking control of a legacy VB6 application with data in Oracle 8i, the connection is made using OraOleDB. I remember something about some restrictions in the CursorLocation options. The applica

  • How to password protect a page

    I want to add a "members only" page to an existing website where the user would have to input a user name and password to gain access. Can anyone tell me how to set up such a system? Thanks, Stu

  • HP Envy is asking me to save when I try to print.

    Everytime I try to print a document from my computer the print screen asks me to save and will not print, but the printer works from all other devices in the house.  Did I not set something up right on my computer? This question was solved. View Solu

  • WCM: Operational Class assignment to Technical Objects

    Greetings Experts, Gurus and SAP Sages! In WCM, we are able to create an Operational Class to restrict the particular Operational Conditions & Operational Groups that are relevant for the Technical Objects. But I am having difficulty uderstanding the