Custom HoverPanel for Multiple File Types Preview

Hi Everyone,
We Have a requirement to customize SP2013 Search Results webPart to List down multiple file types (Word, Excel, PowerPoint, PDF, Images, etc). we created our own Design Template for Search Results Item to show managed Properties we require. and we need to
create a Hover Panel to show the preview of those files. we tried to achieve this, but failed. can anyone please provide us a Solution for this ?
Thank you!

Hi  Mohamed,
According to your description, my understanding is that you want to customize Hover Panel for multiple file type.
For achieving your demand, you can refer to these blogs:
http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html
http://yeshagrawal.blogspot.com/2013/06/sharepoint-2013-search-adding-hover.html
http://blogs.technet.com/b/tothesharepoint/archive/2013/09/17/how-to-display-values-from-custom-managed-properties-in-the-hover-panel-in-sharepoint-server-2013.aspx
http://www.sharepointnutsandbolts.com/2014/01/extending-SP2013-Office-365-search-hover-panel.html
Best Regards,
Eric
Eric Tao
TechNet Community Support
Thank you So much Eric,
The First Link "http://sharepointfieldnotes.blogspot.com/2012/11/customizing-sharepoint-2013-search.html"
Serves my purpose 100%, but seems like it has 3rd party Product Involved. can i achieve the same Results without using any 3rd Party Tools ?

Similar Messages

  • Custom thumbnail for a file type, not a single file

    I understand that when I upload an asset to the DAM of a file type for which CQ5 doesn't support thumbnail generation (Excel .xls and .xlsx, in my case), CQ5 will use a default dogeared-page icon for the thumbnail.  it also writes an error-level message to the log to the effect that it can't generate a thumbnail.  E.g.,
    15.10.2012 12:03:47.078 ERROR [JobHandler: /etc/workflow/instances/2012-10-15/model_1135358760340484:/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original] com.day.cq.dam.commons.handler.AbstractAssetHandler createThumbnails: cannot create thumbnails for asset [/content/dam/FY06NIVDetailTable1.xls], failed loading graphical representation for rendition [/content/dam/FY06NIVDetailTable1.xls/jcr:content/renditions/original].
    The error message is mostly harmless, but I would like to prevent it.
    And I understand that I can add a thumbnail after the fact.  But despite the language in the document, apparently this thumbnail does not apply to subsequent uploads (for all files of the same type).
    Is there a way to establish a thumbnail image that applies to subsequent uploads?

    Hi David,
    Thumbnail upload (or for that matter any rendition upload) is specific to that image and it will not apply to set of images.
    If we want to apply some custom thumbnail instead of the default one either we need to override the default image or custom workflow step is required.
    If we override the default image it will apply acroos the DAM.
    Regarding custome workflow step. This step will be added after thumbnail creation step in DAM Update Asset workflow(this wf is responsible for creating all renditions). In this workflow step you can check whether thumbnail is created or not if not create thumbnail of your desire.

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • File Dialog (Details View and Multiple Selections for View File Type)

    I would like to use the generic windows dialog box found in the toolbar under:
    File I/O/Advanced File Functions/File Dialog
    What I would like to do is have multiple selections for the file type, for example one menu selection is *.txt, another is *.rtf, another is *.csv, etc. Listing a single type is straightforward.
    Also does anyone know if there is a way to have the dialog open in the DETAILS view automatically?
    Thanks for any help!
    Carlton

    Hi,
    You can do it in following ways:
    1. Write in pattern input the string "*.txt; *.csv; *.rtf". This will show to the user only files with this extensions in the dialog.
    2. Another way is to create ring or menu where user could specify the extension. Depending on this extension you could wire the appropriate string to the pattern input of "File Dialog.vi"
    I have made an example.
    Good luck.
    Oleg Chutko.
    Attachments:
    fileopen.vi ‏42 KB

  • File Select Popup not restricing multiple file types

    I have a Bitmap picture in which I call GetBitmapFromFile right after this popupfile select.  So I want the user to pick one of the folowing filetypes seen below.
    I have the following call
    FileSelectPopup ("", "*.*", "*.tif;*.pcx;*.bmp;*.dib;*.rle;*.ico;*.jpg;*.png;*.wmf;*.emf", "Select picture file", VAL_LOAD_BUTTON, 0, 0, 1, 0,pic_file_name); //Extension Not Required
    But when this is ran, it prompts the user showing all file types and all file types are allowed.
    Doing the following:
    FileSelectPopup ("", 
    "*.tif;*.pcx;*.bmp;*.dib;*.rle;*.ico;*.jpg;*.png;*.wmf;*.emf",
    "*.tif;*.pcx;*.bmp;*.dib;*.rle;*.ico;*.jpg;*.png;*.wmf;*.emf", "Select
    picture file", VAL_LOAD_BUTTON, 0, 0, 1, 0,pic_file_name); //Extension not required
    The prompt shows only those file-types, but the default stays on .emf and the user must select the correct file-type at the bottom they are trying to select.
    If I do the following (with commas and restrict file-extension):
    FileSelectPopup ("", "*.tif;*.pcx;*.bmp;*.dib;*.rle;*.ico;*.jpg;*.png;*.wmf;*.emf", "*.tif,*.pcx,*.bmp,*.dib,*.rle,*.ico,*.jpg,*.png,*.wmf,*.emf", "Select picture file", VAL_LOAD_BUTTON, 0, 1, 1, 0,pic_file_name); //using commas
    It shows the correct files, but when clicking one, it says the file-type must be .emf
    The only workign way I found was to do the last statement, but not restrict the file-extension.  (This would give the user the option to change the file-type)
    What I want is the file-type allowed list to be one of those file-types, only show files with those extensions and not require/allow the user to select which file-type they will choose.
    Can this not be done?

    I see no way of customizing FileSelectPopup the way you want: either you restrict extensions, and you are limited to "Default file spec" contents (in case you put a filetype list in this field, the last one is used, as you already noted) or you allow to change extensions, but the user must choose which one to use an "*.*" is always present.
    I am afraid you will need to post-process operator's choice and prompt again in case of non-allowed extension.
    As an alternative you can use the toolbox path control, which can be tailored the way you want but it isn't as easy for the operator as FileSelectPopup. It iìultimately is a string control with customized features to offer an alternative in selecting files / paths. You can tailor it by doing so:
        SetCtrlVal (panelHandle, PANEL_STRING, "c:\\myDefaultPath");
        errChk (NewPathCtrl (panelHandle, PANEL_STRING, 15, 1));
        SetPathCtrlAttribute (panelHandle, PANEL_STRING, ATTR_PATH_CTRL_FILE_FILTER, "*.bmp;*.ico");
    This control permits you a limited filetype choice but forces the user to more impactive operability to select the desired file.
    There is a sample project that  uses this control in <sampledir>\userint\custctrl\pathctrl.
    Another alternative is the File Browser toolslib control: a customized tree control which can be restricted to multiple file types; it is relatively slow on large file systems -at least at the first execution.
    The control maintains the native context menu of the original tree control: I suppose this can be tailored as in native control but I haven't tested it: if it's possibleit may help the user in finding the correct file to select.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Ipad 4: how do I attach multiple file types to an email?

    Hello,
    I have seen multiple threads on this topic saying you can only do attachments in an email (other than photos or videos) by going to the app that holds the file and emailing it from there (ex: go to adobe reader or ibooks to email a PDF). This work around seemed sufficient for some people but I have need to attach a JPG, PDF and .doc to a single email. How do I do this within the ipad's built in email app? Is this impossible and if so are there other free email apps that someone can reccmmend?
    I find the ability to only email files from within its parent app to be cumbersome and not in keeping with Apple's style of making one's life easier and more efficient. In fact this seems woefully backward and goes back to the early days of computing. I get it that emailing from within a particular app is necessary but so is the ability to attach multiple file types from within the email app. :-(
    So frustrated!!

    The GoodReader App can manage files and create emails consisting of multiple files types.
    See here: https://itunes.apple.com/us/app/goodreader-4/id777310222?mt=8

  • The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1

    The file size of selected file in input file control is shown as 0 for multiple file selection in Safari 5.1. If you select single file, then it is able to return file size correctly. However, if you select multiple files, then the file size of each of the selected file is always returned as 0 from javascript. This works correctly in Safari 4.0 but it does not work in Safari 5.1.
    How do I get the correct file size in Safari 5.1 ?

    If you want to post (or send me) a link to the lrcat file, I'd take a look at it for you, and give you a break-down what's consuming all the bytes. But it might be fun to learn how to do that yourself (e.g. using SQL). I use SQLiteSpy, but other people have their favorites.. (or you can use a command-line client if you prefer..). One way: just run "drop table "{table-name}" on each table then look at filesize (do this to a copy, not the real thing).
    Anyway, it's hard to imagine keywords and captions etc. taking much of the space, since even if you had 1000 10-character words of text metadata per photo average that still only adds up to 117MB, which isn't a substantial portion of that 8G you're seeing occupied.
    Anyway, if you've painted the heck out of most of them and not cleared dev history, that'll do it - that's where I'd put my money too...
    One thing to consider to keep file-size down:
    ===================================
    * After reaching a milestone in your editing, take a snapshot then clear edit history, or the top part of it anyway (e.g. leave the import step), using a preset like:
    Clear Edit History.lrtemplate
    s = {
        id = "E36E8CB3-B52B-41AC-8FA9-1989FAFD5223",
        internalName = "No Edit",
        title = "Clear Edit History",
        type = "Develop",
        value = {
            settings = {
                NoEdit = true,
            uuid = "34402820-B470-4D5B-9369-0502F2176B7F",
        version = 0,
    (that's my most frequently used preset, by far ;-})
    PS - I've written a plugin called DevHistoryEditor, which can auto-consolidate steps and reduce catalog size - it's a bit cumbersome to use a.t.m. but in case you're interested...
    Rob

  • Return The remote server returned an error: (403) Forbidden error for some file types

    hi
    am using below code to get the byte array 
    byte[] myDataBuffer = client.DownloadData((new Uri(sourceUrl)));
    for source of type .txt/.jpg no problem with accessing.but the file type with .master/.wsp/.cs
    it is returning "The remote server returned an error: (403) Forbidden error for some file types" Error.how can i get rid of this.please help me
    Thanks in Advance

    Hi,
    It seems there is something wrong with your code, from your code the account and key are the same, because their appsetting name are the same.
    string account = ConfigurationManager.AppSettings["StorageAccountName"];
    //string account = CloudConfigurationManager.GetSetting("StorageAccountName");
    //string key = CloudConfigurationManager.GetSetting("StorageAccountAccessKey");
    string key = ConfigurationManager.AppSettings["StorageAccountName"];
    string connectionString = String.Format("DefaultEndpointsProtocol=https;AccountName={0};AccountKey={1}", account, key);
    return CloudStorageAccount.Parse(connectionString);
    If you use CloudConfigurationManager.GetSetting, please consider set azure project as the startup project, if not, this value will be null, this resulted in solution being started as a web project that didn't run inside the Azure emulator. Since CloudConfigurationManager.GetSetting
    tries to get setting by contacting Azure (or Azure emulator in this case), and it is not running, it returns null.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add list of multiple file types to file type of file dialog box in LabVIEW

    How to add list of multiple file types to file type of file dialog box in LabVIEW?
    In file dialog box there is option to add only one file type,in the list,not by seperating commas,
    regards,
    Naresh.N

    Write the file types in pattern Input string, separated by a semicolon ;
    For example:  *.vi;*.doc;*.jpeg;*.xls
    This should return the set of files with matching extensions
    Message Edited by devchander on 09-10-2008 08:02 AM
    Message Edited by devchander on 09-10-2008 08:03 AM

  • Calculation formula userexit not working for multiple condition types

    Hi,
    we have a problem in the CRM ISA-B2B scenario where the custom user exit is only working for single condition type.
    but we need it for multiple condition types .
    the value of the subtotal is not being retrieved for multiple conditions. at a time only one condition value is being retrieved and shown in the webshop - shopping basket.
    for ex:
    we have scenario 1 where Y001 -Freight condition type is applicable for one customer.and Y002 is applicable for another customer.
    when we are trying to show the subtotal condition value in the webshop by using a single custom user exit in the pricing procedure it is only working for either of the above 2 customers depending on the VMC cache status.
    is there any problem if use the single user exit for both condition types?
    and if it needs to be differentiated how exactly we can do that with the same logic in the java class.
    Thanks in advance,
    PSR.

    Hi Arshi,
    below is the code:
    public class ZValFormula_ZZWI1 extends ValueFormulaAdapter {
         private static String zzwi = "ZZWI1";
         private static char  zzwiC = '@';
         private static UserexitLogger userexitlogger = new UserexitLogger(
         ZValFormula_ZZWI1.class);
         public BigDecimal overwriteConditionValue(IPricingItemUserExit item,
                   IPricingConditionUserExit condition) {
              ICurrencyValue val = condition.getConditionValue();
              userexitlogger.writeLogDebug( "value saved for " + zzwi + " (" + zzwiC + ") = "
                        + val.getValueAsString());
              item.setSubtotal( zzwiC, val.getValue());
              return val.getValue();
    hope this would give more idea to look at the problem.
    Thanks,
    PSR

  • Windows Media Player has somehow made itself the dealt video player for certain file types?

    Title should say default
    I have Windows 7 installed in a virtual machine but I didn't think Windows Media Player would barge it's way onto my Mac and start making itself the default player for files here too -.- I even right clicked on the file, click open with.. chose vlc and checked the change all box. This worked and now when I double click the file it will open with vlc, but when I right click it, it still says that Windows Media Player is still the default player for this file type.

    alexis
    Don't know much about WMPlayer, but if FCE has multiple audio tracks a "MIX Down Audio" should be done just prior to the export.
    Al

  • Error when Combining Multiple File Types

    I can't combine multiple file types into one pdf, e.g. .docx and .xlsx files.  The combine feature only seems to be working to combine .pdf and .jpg file types.  An error message stating the below appears. Does anyone have a solution? 
    Thank you. 

    no i can't seem to do that either. the only way I have found to get around it. It's long winded... i export the jpgs from Indesign CS4, then take the jpgs into photoshop CS4 and baiscally resave over the top the of the original jpg without changing any settings, this will then let me combine them in Acrobat Pro 9. for now i will be doing it that way but if anyone knows of another way that would be great.

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

  • Is there a way to simultaneously add text to Comments field for multiple files?

    Is there a way to simultaneously add text to Comments field for multiple files? I know I can use Option+Comman+i to bring up the Inspector window but it doesn't have a Comments field. For example, in iTunes you can select multiple files and change metadata for any field simultaneously and easily yet when it comes to the Comments field in the Finder, this seems to be missing.
    In our production environment, Comments field is important because we place notes about what drive the file originated then when it gets transferred to LTO-6 tape via LTFS, we can quickly trace it in the event we needed to recreate the hard drive. Because tape archiving is linear, we can't store all of the files on the same tape.
    We've tried using Apple's Automator but it too seems to not have a way to batch change text in the Comments field. Any help is appreciated.

    What is "order data"?

  • It should be possible to set default behavior for all file types

    It should be possible to set a default action for all file types. I'm so tired of having to manually sit and say "save this file" because Firefail always defaults to "open with" and has disabled the "Do this automatically for files like this from now on."
    And spare me the zealotry religious excuses for why its the fault of websites and not Firefail
    ''edited to remove swearing''

    I do want users to have full control to be able to set any folder view they want by using Apply to Folders; I just want to set the initial/default view to Detail because that matches what the majority of my users want.
    That is, what registry setting changes when I go to a picture folder, change the view to Detail, and click Apply to Folders? Having done that, I still retain the ability to change it to some other view and apply that to folders. But what registry setting
    represents the change I just made when applying Detail view to all Picture folders.?
    This settings is simple via GUI, but it is related a lot of registry keys, I made a test in my machine, capture the "Apply to Folders" process using Regshot tool (this is a small tool which can compare the regsitry changes after you change some
    settings), and this is the result:
    this is part of the registry changes, a plenty of registry keys and values need to be changed. hard to list them here. if you have interests, I recommend the tool Regshot, it can help you capture the regsitry changes.
    NOTE: Please Note: The third-party product discussed here is manufactured by a company that is
    independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's
    performance or reliability.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • Macbook pro 15 retina with UHD display slowness

    I have connected a Samsung display U28D590, to my Mid-2014 MBP 15 Retina with Intel Iris Pro. My display reports a successful 60hz and is set on DispalyPort 1.2 protocol. But still when the extra display is connected i experience hiccups, like it get

  • With windows xp.

    I just got the iphone 4s. I want to use icloud. However i have a pc with windows xp. Apple says that i nead windows7 or vista. I can't easily upgrade. Is there a workaround for Windows XP?

  • Where should i place the akarta-regexp-1.3.jar

    I'm coding on linux for jakarta-tomcat server.. I'download jakarta-regexp-1.3.jar file from jakarta-apach site for validate a email adress.. But i did not find any doc to telle me where put this file.. I put it in the jre subdirectory of my sdk direc

  • Pavillion dv9820 installati​on disk

    Doe's anyone know where I can get an installation disk for my hp pavillion dv9820? It is well out of warranty and cannot find the installation disk to try to fix a problem because it will not let me in in any mode, but gives me a prompt to insert my

  • CC2014 causes footage to export sideways using AME??

    Recently, as in since the 2014 update, about 8 out of 10 times I export footage using Media Encoder, it exports footage sideways (as in the left-right is flipped to bottom-top). On top of that, sometimes the footage isn't all exported sideways. Somet