Is it possible to show OOB document call out menu or ECB menu in Content Search web part?

Hi All,
We have requirement like we need to show the Call Out option in custom display template of Content Search webpart. Is it possible to do it?
We are showing the documents from current site in Content Search web part. Now customer want to have CallOut functionality in web part. Is it possible ? Or can we have ECB menu functionality? 
I did googled a lot but no luck.
Any help will be really appreciated.
Thanks! Best Regards, Prasham Sabadra http://prashamsabadra.blogspot.in

Hi,
You can download the solution via the link below:
http://www.cdhtalkstech.com/wp-content/uploads/2013/11/Item_ContosoDocs.zip
It does work in my test environment. The solution provide an example for our reference, if you want to display more details, you need to customize it yourself.
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • Item title won't show in Content Search Web Part

    Hi,
    I am trying to show news items from one site on another site. I can show all attributes so far, except for the title.
    The field name of the title in the news item is 'title'.
    In crawled properties, I have linked the title to Title, RefinableString00 and RefinableString12.
    But the title either displays DispForm.aspx as a title (when I select title), or nothing (when I select the mapped property RefinableString00 or RefinableString12).
    What can/should I do to show the title field?

    Hi,
    According to your post, my understanding is that Item title did not show in Content Search Web Part.
    You need to open the webpart either in SP designer or visual studio or as matter of fact in Notepad and search for the special property. And then add your list columns which you wants to display.
    More information:
    How to: Display Custom Fields in a SharePoint Content By Query Web Part (ECM)
    SharePoint: Content Query Webpart - OOB, Custom Fields, Custom Style with Table format
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Using term set as refiner in content search web part does not show all used terms

    When you create a terms set (12 terms with +/- 10-20 child terms) , attach it to a site column and allow multiple values to be selected the search service does not find all used values in the REFINERS tab of the content search web part.
    Example:
    Field ‘Tags’ is the term set which can be refined. We want to do this in the REFINERS tab of the content search web part.
    Tags is containing following fields:
    •Course document
    •Poster
    •ALS
    •Before
    •During
    •CPR/AED I
    In all libraries we used +/- 15 different tags already.
    Example of a tag field in the library:   "Poster;ALS;Belgium"
    The problem is we can’t see all of the used tags in the refiners tab when you open it for the first time.  (You can see Belgium or Cyprus is not in the list of tags.)
    When you select one tag and add it as a refiner, the others eventually do show up. But never all of them together.   It’s like he is only showing the most used (and maybe first selected?) tags first. I also think he might be having some trouble
    with multi value selections in the tag field.
     Does anyone else have the same issue as we do? And is there a solution already?

    Hi Sasha,
    According to your description, my understanding is that all the used terms cannot display in the Refiners in Content Search web part.
    If the results display in the Search Result Preview, then the terms used in these results can be displayed in the Refiners tab.
    I tested the same scenario per your post, and when I first opened it I can view all the terms which were used in the search results listed under owsmetadatafacetinfo.
    I recommend to do a full crawl and then you can view all the terms used in the search results are displayed under owsmetadatafacetinfo.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Content Search Web Part shows Subsite that has been renamed

    I'm having an issue with the CSWP.  The query that i have set is returning exactly what i want however, i renamed a subsite to a different name and the CSWP is showing two line items in the web part.  1 for the old subsite and 1 for the newly named
    site.
    I though this would self correct when the search fully crawled but it doesnt appear to fix itself.  It had been about 3 days since i made the name change.
    Example CSWP displays subsites: Site1, Site2 and Site3
    Site1 was renamed to Site4 and the url has changed.  CSWP is now showing Site1, Site2, Site3 and Site4 instead of Site2, Site3 and Site4
    If you click Site1 it goes to a page 404 not found site.
    Any suggestions or ideas would be appreciated.

    Hi,
    I think it is expected that the stale records may exist right after you renamed the site and did a
    fully crawl because there are some policies which controls how crawl component deal with non-existing items.
    Though those documentations are for SharePoint 2010, it still apply for SharePoint 2013 with different default values.
    Managing crawl deletion
    policies for SharePoint Server 2010
    Manage deletion of index items (SharePoint Server 2010)
    SharePoint 2013 Default
    ErrorDeleteCountAllowed
    10 times
    ErrorDeleteIntervalAllowed
    240 hours
    ErrorCountAllowed
    15 times
    ErrorIntervalAllowed
    360 hours
    RecrawlErrorCount
    5 times
    RecrawlErrorInterval
    120 hours
    DeleteUnvisitedMethod
    1
    Therefore, you can either:
    Wait for 15 days and the make sure the
    ErrorCountAllowed exceeds 15 (15 times crawls happens after you renamed the site). Then the stale item will disappear.
    Set a lower value on
    ErrorDeleteIntervalAllowed and
    ErrorDeleteIntervalAllowed and then set DeleteUnvisitedMethod=0 to fasten the deletion of stale records.
    More information for you reference:
    Get current value:
    $ssa = Get-SPEnterpriseSearchServiceApplication
    $ssa.GetProperty("Property")
    set New value:
    $ssa = Get-SPEnterpriseSearchServiceApplication
    $ssa.SetProperty("Property", NewValue)
    Miles LI TechNet Community Support

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Is it possible to use a content query web part to pull and display rows/items from an Excel spreadsheet saved in a SP library?

    I have an Excel spreadsheet that I want to upload to an SP library. Is it possible to display these items (in a non-excel format, more like an SP list format) in a web part? 

    Have you tried using the Excel web part
    Display Excel content in an Excel Web Access Web Part

  • KQL for getting documents in Content Search Webpart

    Hi Guys,
    How do I get the documents grouped by document sets and sites for the current user using KQL in content search web part in SharePoint 2013?
    Thanks in advance.
    nasayoo

    Hi nasayoo,
    In content search web part, there is OOB option to group results based on one or more managed properties. You could go to refiners tab when configure query of web part, then click Show more, under groups results, set it to group result per your requirement.
    http://technet.microsoft.com/en-us/library/jj679900(v=office.15).aspx#BKMK_ConfigureWP
    In addition, here is an article which provides methods using JavaScript to define a custom group display template for search web part:
    http://www.eliostruyf.com/how-to-define-a-custom-group-display-template-for-the-search-results-webpart-via-javascript/
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Opening documents in Content Search Webpart

    Hi, 
    I have configured Office Web app server with my SharePoint farm. It is working fine with document libraries. I have added the content search web part on home page. Office web app is not opening documents from CSWP. If i click in the document in CSWP, it
    always prompts me to download the document.
    Is this behavior is by design or i am missing some configuration in CSWP?
    I have found article about same problem in Content Search Web Part. 
    http://jeroenvanree.wordpress.com/2012/10/18/sharepoint-2010-content-query-web-part-open-office-documents-in-office-web-app/
    Same work around for CSWP in SharePoint 2013? Any help?

    I see it a default behavior
    Try below as workaround
    http://jeroenvanree.wordpress.com/2012/10/18/sharepoint-2010-content-query-web-part-open-office-documents-in-office-web-app/
    First I added a couple of templates to get the File and Site Paths I needed to build the URL
    ContentQueryMain.xsl
    Template:
    <xsl:template name=”OuterTemplate.StripLast”>
    <xsl:param name=”pText”/>
    <xsl:param name=”pDelim” select=”‘/’”/>
    <xsl:if test=”contains($pText, $pDelim)”>
    <xsl:value-of select=”substring-before($pText, $pDelim)”/>
    <xsl:if test=”contains(substring-after($pText, $pDelim), $pDelim)”>
    <xsl:value-of select=”$pDelim”/>
    </xsl:if>
    <xsl:call-template name=”OuterTemplate.StripLast”>
    <xsl:with-param name=”pText” select=”substring-after($pText, $pDelim)”/>
    <xsl:with-param name=”pDelim” select=”$pDelim”/>
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    This template gets the Site Path out of the FilePathRef value of the file
    ItemStyle.xsl
    Call the template
    <xsl:variable name=”SitePath“>
    <xsl:variable name=”p” select=”@Description“/>
    <xsl:call-template name=”OuterTemplate.StripLast”>
    <xsl:with-param name=”pText” select=”$p”/>
    </xsl:call-template>
    </xsl:variable>
    In this case the Description field out of the content query webpart properties is used to fill the
    FileRefPath
    The next thing is to use this variable in the build of the string:
    <a href=”/{$SitePath}/_layouts/WordViewer.aspx?id={$SafeLinkUrl}” title=”{@LinkToolTip}”>
    <xsl:if test=”$ItemsHaveStreams = ‘True’”>
    <xsl:attribute name=”onclick”>
    <xsl:value-of select=”@OnClickForWebRendering”/>
    </xsl:attribute>
    </xsl:if>
    <xsl:if test=”$ItemsHaveStreams != ‘True’ and @OpenInNewWindow = ‘True’”>
    <xsl:attribute name=”onclick”>
    <xsl:value-of disable-output-escaping=”yes” select=”$OnClickTargetAttribute”/>
    </xsl:attribute>
    </xsl:if>
    <xsl:value-of select=”$DisplayTitle”/>
    </a>
    If this helped you resolve your issue, please mark it Answered

  • How to List view web part to display document library for only users with access permission

    Hi
    I am trying to accomplish this requirement but I don't know if that is possible or how to get there.  Any suggestion or advice are helpful.
    On a site collection, I have several document libraries,  with each library have unique permission to a few user or SharePoint group.
    I want to create a web part page and make that the site home page.  On this web part page, I want to create a Content Search Web Part to list the content of the document library that the logged on users have permission to see. 
    Is this possible with CSWP or is there anything easier or if it is not possible at all,  please advise.
    Thanks
    Swanl

    Hi ,
    Based on your description, my understanding is that you want to create a Content Search Web Part to list the documents that the logged on users have access permission.
    It is feasible with CSWP, you can follow the below step:
    Edit Content Search Web Part->Change query-> Select a query: Items matching a content type (System); Restrict by app: Current site collection; Restrict by content type: Document.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]

  • 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.

  • How do I set EchoSign for Sharepoint web part to only sync documents that have been sent from the same site?

    Since EchoSign for Sharepoint (the web part) is basically worthless with any site over 2500 documents, we have broken up our sites so that the web part can successfully traverse the site without timing out. However, within the web part, there is an option (two green arrows) to synch with SharePoint. Unfortunately, users can sync any document from EchoSign to a SharePoint library. I dont want the users synching documents that dont belong in that library. Are there any settings or coding that will allow only the syncing, or actually auto sync the documents, to within the same site?

    Hi Ben,
    Please refer the doc: https://echosign.my.salesforce.com/sfc/p/#300000006IaDOWUzLXIiAnH9NO8_F9WhM_gpxBs
    for EchoSign integration with Sharepoint.
    Regards,
    Rave

  • Custom web part with ontextual tab - show/hide on focus

    Hi,
    I built a webpart that has a contextual ribbon tab and buttons, this webpart is added to a wiki page. When the wiki page is in edit mode I would like this custom ribbon tab to be shown or hidden depending on whether my webpart is clicked.
    Great thanks, if you can show me the right direction.

    Hi,    
    To show/hide the ribbon tab depending on the click event of the web part, a workaround is that we can use JavaScript to achieve it.
    With JavaScript, we can capture the click event of one web part in a page and show/hide with the help of the corresponding JavaScript function.
    Here are some links will provide more information:
    onclick Event
    Toggle (Show/Hide) Element
    Feel free to reply if there are still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Picture Library Slideshow Web Part - Is it possible to switch between two image librarys in one slideshow

    In our office we have a screen at the front desk that runs a PP slideshow showing welcome messages to guests arriving.
    SharePoint may not be the solution, but the overall objective is to find a way to have a library of X number of photos (say the library size is 30 images) and a separate library of X number of welcome messages (usually ~5 images).
    We want the slideshow to randomly pull 5 images from the 1st pool and then play the images in the 2nd Pool.
    Let me know if you have heard of a solution similar to this. Thanks!

    Hi Twirlz03,
    According to your description, my understanding is that you want to display teo picutre libraries in a picture slideshow web part in SharePoint 2010.
    By default, one Picture Slideshow web part only display images fron one specifical picutre library, it is unable to apply for multiple picture libraries.
    You can try to utilize Content Query web part to aggregate picture items from the site collection or site. However, you mean that you want the slideshow to randomly pull 5 images from first library and then play the images in the second library, I’m afriad
    that it is hard to achieve it.
    More information about aggregating picture items , please refer to section 4 of the link below:
    http://blog.vgrem.com/2013/04/27/beyond-the-slideshow-web-part-capabilities-in-sharepoint-2010/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Show only status indicator icon for Status List Web Part

    Is there anyway to show ONLY the traffic light status indicator option for the status indicator web part?

    Well heck! I didn't know you were being forced to suffer in Quirks Mode!
    Quirks Mode kicks in if a page doesn't have a <!DOCTYPE> tag as its first element, which might have happened if you have any custom master pages, or if you upgraded to SharePoint 2010 from 2007, reusing some of the default master pages.
    The fix appears to be to add a proper doc type declaration to the top of your masterpage (or to your standalone page, if it's been customized), before the opening <html> tag.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    For reference:
    http://blogs.msdn.com/b/alimaz/archive/2010/01/10/sharepoint-2010-ribbon-and-quirks-mode-issue.aspx
    http://blog.tylerholmes.com/2008/08/quirks-mode-strikes-again.html
    http://heathersolomon.com/blog/archive/2008/01/25/DOCTYPES-and-SharePoint.aspx

  • Is it possible Encrypt files in document library after uploading OOB

    Is it possible Encrypt files in document library after uploading using  OOB?
    if so please share how the above can be achieved.
    V Jean

    hi
    there is no easy OTB mechanism for that. The most closer OTB functionality is Rights Management Services (see
    e.g. Plan Information Rights Management), which seems like can be used for configuring policy for data encryption, like mentioned in the following forum thread:
    How to Encrypt SharePoint data. Also you may use the following methods to make file upload safer:
    1. use https instead of http
    2. use Sharepoint rights system in order to restrict access to the uploaded documents to only allowed persons (e.g. you may use unique permissions on the doclib level or on file level)
    3. if encryption is crucial and you don't want to enable it to all doclibs via RMS, you may use custom solution via event receivers: during file upload it may encypt it by using some standard encryption algorithm (see
    Which built-in .NET cryptography algorithm is the most secure).
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com

Maybe you are looking for

  • FileLock is not working in Mac OS  - Used in Javafx application

    In my application, there is pause & resume functionality on the file download. To achieve this, we used java.nio.channels.FileLock to lock the file. It is working fine in Windows, not in Macintosh OS 10.8. We are using JRE 1.7 u 15 to run the applica

  • Error processing in non BPM sync process

    I've created a sync non BPM process which is working fine. Data comes from several terminals via HTTP. My scenario is HTTP=>XI=>RFC On the sending side, I use ABAP mapping or parser. I'm using this since I have to check some table data based on plant

  • Video/Audio cut out

    Hi there, I am trying to edit a video file that is in .mov format ( see bellow a screen shot of the original file ): It says it has 01:11:31 duration, but when i enter it in Premier it show's up only to 01:08:10 ( see bellow ), so the video and audio

  • G.l master data

    Hello Sap experts Can anyone guide me on the exact use of following two points in "Control Data" section of g.l master data:- 1)  Account Currency 2)  Only balance in local currency Kindly expalin with practical example. Thanks & Regards Deepak Garg

  • Trying to update latest to PS6

    I receive the following error while attempting to install the latest update to PS6: Adobe Photoshop 13.0.1.2 There was an error downloading this update. Please quit and try again later. Error Code: U43M1D204