Download link custom action for video files

Hi,
I have a requirement for adding a custom action called "DOWNLOAD A COPY" in search results hover panel on click of which will download copy for the user. I am able to implement this for pdf, excel and word files but not for generic and video files
types since ctx.CurrentItem object is not having any property pointing to the item URL. Can someone please help me in getting this property for video and generic file types.
Thanks a lot in advance!
SharepointLearner

Hi,
According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
For example, to create or delete the ECB menu for a list item in
"Site Content and Structure", we can follow the steps below:
To add the “My Like” menu, we can add the code below:      
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemLike"
runat="server"
Text="My Like"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickNavigateUrl="https://www.google.com.hk/"
/>
To remove the “Delete” menu, we can comment the code below:
<SharePoint:MenuItemTemplate
UseShortId=false
id="OLListItemDelete"
runat="server"
Text="<%$Resources:cms,SmtDelete%>"
ImageUrl="/_layouts/images/DelItem.gif"
ClientOnClickScript="%SmtObjectDeleteScript%"
/>            
The result is as below:
More information:
MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
Best Regards,
Linda Li
Linda Li
TechNet Community Support

Similar Messages

  • How do i add a download action for dxf files. firefox assumes its a text file and just opens it with no download action dialog box

    I want to add a download action for dxf files so they open in Autodesk trueview. The steps described here (http://support.mozilla.com/en-US/kb/Managing%20file%20types#w_adding-download-actions) say to click on a link for the filetype you want to add an action to but firefox thinks the dxf is a text file and just opens it in a new tab with no download action dialog box.

    Use the right-click context menu and choose "Save Link As" or hold down the alt key and left-click the link.

  • How to add custom action for Publishing Tab on Pages?

    I am able to add a custom action for libraries tab on document library , but i am unable to add it on Publishing tab on Pages.
    Below is the code , what i am trying.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItems"
    Location="CommandUI.Ribbon"
    RegistrationType="List"
    RegistrationId="850"
    Sequence="40"
    Title="Move Documents">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.PublishTab.Publishing.Controls._children">
    <Button
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItemsButton"
    Alt="Check Linked Page Assets"
    Sequence="40"
    Command="CheckLinkedPageItems"
    Image32by32="/_layouts/images/centraladmin_systemsettings_email_32x32.png"
    LabelText="Check Assets"
    TemplateAlias="o1"
    ToolTipTitle="Check Linked Page Assets"
    ToolTipDescription="Checks each image, document and page linked to from this page and verified if the asset is both working (not a broken link) and published. You may also use that page to publish all unpublished assets at once."
    />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="CheckLinkedPageItems" CommandAction="javascript:alert('button clicked!);" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    any thoughts?

    Hi,
    Check the secquence number . I don't see any issue in your code. Try with different sequence numbers.
    Did you find this Helpful? Please Mark it So! Thank you. Sachin Kumar

  • How to use custom thumbnail for video

    Hi guys,
    Wonder if there is a way to embed a custom picture file to become the thumbnail of your video but not be part of the video when it's playing.
    Just a picture with whatever text you want on it?
    thanks.

    Adobe's dvd maker program Encore allows you to choose a poster frame for their video buttons that display in your Encore menus
    maybe that is what you are thinking of?
    and yes, I would like to choose the custom thumbnail for video as you too

  • Developing Custom Actions for MII 12.0.4

    Hi,
    I read about the possibility of developing custom actions for the MII Workbench.
    There are some articles that deal with this topic, they all describe a reference class called "ActionReflectionBase" that implements the Interfaces that have to be implemented (IConfigurable, IAction, IMappable and IInvoke).
    I develop whit Eclipse and I have already imported the needed JAR Files in my project (LHCommon.rar and Lighthammer.jar). But I am not able to find the ActionReflectionBase class in the package com.sap.xmii.xacute.actions where it should be!
    I'm using MII version 12.0.4, please tell me where I can find this class?
    As a workaround I implement the interfaces directly:
    public class Calculator implements IConfigurable, IAction, IMappable, IInvoke {
    ,but it would be more confortable to extend the reference class.
    Please help me.
    Best Regards,
    Robert

    I have found my problem. I imported the jar files directly into the project and not into the jar library. So Eclipse was not able to find the ActionReflectionBase class. Now everything works!

  • What is the best converter for video files in mpeg, avi, wmv, mps, etc for imovie and what type of video files does the iMovie use? I recently purchased a MacBook Pro -version 10.10.1. I make movies, but the iMovie does not support my video files.

    What is the converter for video files, to use in the iMovie? My files are mpeg, wmv, mts, avi, etc.  I recently purchased a MacBook Pro - version 10.10.1.

    AppGeeker will do the job.

  • Custom Icon for application file

    I can make director allow me to have a custom icon for appliacation file.
    In director I have attempted this several times where I have tried to have my appliaction file have an icon.  I have purchased two icon program Candy Bar and Fastincs trying to remedy this problem.
    As you see here I am using an ins file created in Fastincs.  Now here is an image to the path and the icon itself Applipcations/ Adobe Director 11/3 HorseLogo.mac.ins
    So there is the setup now when I complile for my program file I get this.
    See the grey Director icon I don't want that I want the three horse logo.
    I also tried to assign the logo after publishing the file.
    then I drag my icon file in
    The program created in director still wont see the icon file.
    If I use Candy bar (icon application)  I get a  different result. The icon works
    in both finder and on the task bar
    This is exactly what I want.
    I works until I try to move the entire package into an installer program  I am using BitRock.  When I compile the installation program then try to run the application I get the following message
    If I choose ignore the install continues.  But I have no icon.
    I am desperate , weeping , screaming , and almost a lost cause, any help any help at all I could really use.
    Thanks
    Robin aka innish

    Hi Robin,
    I'm more of a PC person rather than Mac. I would recommend you look at the Resource and Icon Editor page at:
    http://collab.directorforum.com/Resource_and_Icon_Editor
    It may fix your icon issue from Director.
    Dean

  • I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files?

    I can't open the RAW files from my new Nikon D4s camera in photoshop? How do I download the latest software for RAW files? Cheers!

    What version of Photoshop are you running?  You will need at CS5, CS6, CC or CC2014.  Each version needs a different ACR-plug-in to open files from that camera.
    If you are on CS4 or earlier, you'll need to upgrade—or, in the alternative; look for, download, instal, launch and run the free, stand-alone DNG Converter 8.6 on each file of raw NEF files to convert them to raw DNGs first so you can open them in your version of Photoshop and ACR plug-in higher than 2.4.

  • Custom certificates for JAR file signing

    Hi,
    Can anyone please let me know how to check that we have custom certificates for JAR file signing set up in our instance
    Thanks,
    Praveen

    It depends on the version of your $ADJVAPRG. See the referenced note.
    How to use,create and /or update Digital Certificates for Jinitiator in 11i Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=365735.1

  • ABAP WD ALV Link to action for a Field

    Hi,
    I got a special question to Webdynpro ALV developing:
    How can I generate a link to a seperate Cell or Field of the ALV depends on the content of other field-values in the same row.
    e.g. Depends on a response status value of an record in the table I want to allow a link to action for another field in the same row.
    Currently, I have "link to action"s for all cells in a column. What I need, is only some cells in the column depends on values in the same row.
    Thanks for your help,
    Eugen

    Eugen, the fallowing link may be help you.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8?overridelayout=true
    Regards,
    Edson Thomaz

  • Is there an equivalent to Aperture for video files?

    Between capturing video on my iPhone as well as my point and shoot camera, I now have hundreds of video files in Aperture side by side with my photos.
    I'd really like to move these files out of Aperture, but I wonder if anyone can recommed a good program similar to Aperture, but just for video files? I would want it to have the capability to access files on an external drive, the same way that an Aperture library can be kept on an external drive.
    Any suggestions?

    Have you considered iTunes as a movie organizer? That is where I am storing my finished movies.
    Something mainly for cataloguing video as opposed to an application that is primarily for editing video.
    See the iMovie help for organizing video in iMovie:
    iMovie '11: Organize your videoiMovie can be used to create movie projects from your raw footage, and to store and organize video into a video library.
    I use iMovie to keep all unedited clips tucked away in nested folders in iMovies "Event library; there is simply no use of having thousands of clips that badly need editing bloating up the Aperture library. And I use the "Projects" library to organize my editing projects.
    The finished movies are, the ones that I want to use in slideshows and other presentations are stored in my iTunes library.
    In iTunes I can tag them with Genres, titles, descriptions and other info.
    iTunes lets my browse and earch them in many ways.
    iTunes makes them available in the Media browser for other applications. If I need a movie for a slideshow in Aperture I add it from the Media Browser.
    iTunes lets me sync the movies to my handheld devices and present them.
    For my needs these tho applications together - iMovie for the clips and editing projects, plus iTunes for the finihed movies to shared are just perfect.
    In iMovie: events (clips organized in folders by date and location and disk) and projects (organized in folders by topic),
    In iTunes: Finished movies to be shared: properly tagged and captioned for searching and sharing
    This workflow lets me keep the clips of current editing projects on my mac. Once the movie is finished, I use iMovie to relocate the events with original clips and the project to an external drive and keep only the edited and finished movie in iTunes. But the iMovie event library will till show me, which drives I need to connect to give me easy access to all older events and projects.

  • Custom code for Flat file reconciliation on LDAP

    Hello,
    I have to write a custom code for flat file reconciliation on LDAP as the GTC connector wasn't working entirely.
    Could someone help me out with this.. How do i do this ??
    Thanks

    flat file reconciliation on LDAPWhat do you mean by Flat File on LDAP ?
    If you want to create Flat File connector then search google for reading a flat file using Java.
    Define RO Fields and do mapping in Process Defintion. You can use Xellerate User RO for Trusted Recon.
    Make a map of CSV that and Recon Field
    Call the Reconciliation API

  • Feature request: Slideshow module support for video files

    I'm very excited about your MTS support!
    Feature request: Slide show module  support for video files...
    Say you have 10 takes to choose from. Are you able to almost like SLIDESHOW view the 10 clips full screen so you can decide, like a playlist? Or rate them as they play? It would also be great, like SLIDESHOW to be able to export a MP4 with a title, the 10 clips you are working with, and maybe add an end title and a song, just like SLIDESHOW.
    I have found editing stills like this in slideshow far faster than in any other editing program.
    Basically, I just need a fast means to view or export an MP4 of a set of video clips to review. You are almost there.
    great job!!!
    Max

    I was also disappointed that video is not supported in the slideshow module -I currently have to use another solution when I want stills mixed with videos, would be great to be ablo to keep it all in LR!

  • I need download link of skype for Nokia C6-00

    I need download link of skype for Nokia C6-00

    to download skype go wapdam.com and then search then type skype and click the search button.then you click in apps button and then click skype apps and then you click the download button.

  • How to create a download link for video file?

    Hello guys,
    I know this is not a question directly related to OS X, but I just can't find a solution. So I was hoping that some of you might know the answer, or could recommend further reading.
    I have .mov video files (video footage) on the server. I would like to make these files accessible for download, via link.
    So I am wondering .... how can I create a link, which would allow people to download .mov video files from the server?
    Thanks for any advice or tip.

    The question is, where is the server?
    Is it on its own static IP? If it is not, it likely is on a DHCP configuration.
    For those with DHCP, I recommend http://www.dyndns.com as a workaround, otherwise the links given will have to change as often as every hour!
    Is it on a router, or does it have a firewall turned on in its sharing preferneces? Routers and firewalls block direct access from the outside. You need to setup the web sharing access on your router or firewall before someone can access it via the web.
    Is the .mov file saved via Quicktime? You would also need to provide link on your page to http://www.apple.com/quicktime so that it may be downloaded by those who don't have it. If it is another format, you'll need a link to whatever format it is.
    HTML for putting the video right on the page is usually controled by the EMBED function. That's covered here:
    http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
    Otherwise a simple hyperlink to the file will do, once you have an open web sharing port on a static IP or dyndns controled domain.

Maybe you are looking for

  • T61 key not working after win7 upgrade

    Hi I upgraded my thinkpad T61´s windows from XP to 7(64bits) but one of my key from keyboard stopped to work. I installed all the drivers and ThinkVantage System Update, but it didn´t work. My keyboard layout is Portuguese-BR(ABNT) and the problem is

  • When i turn my ipod touch 4g on it goes from the apple logo to the white wheel then to a blank white screen, please help

    After using itunes to restore it i turned my ipod touch on and it stayed on the apple logo for a few minutes then it would change to a spinning wheel on a black screen then the screen would turn white and the process will repeat. I can still put it i

  • How to format my digital camera?

    I have a Canon digital camera that I have used with my iPhoto program frequently for still photographs. Recently, I took some short videos with my camera and I'm not sure how to access them on my computer. I think I need to import them into iMovie, b

  • CP5 and Ghost slide popping up

    I have a project in CP5 and for some reason the second slide of the project keeps popping up like a transisition at the end of each slide.  Anyone else ever experience this and fix it? Susan

  • CS4 Component load error

    Everytime I try to open up the component panel I get 4-5 error loading messages and then it boots up fine. anyone else?