Add ecb custom action to the callout (item menu)

Is it possible to change the order of buttons in the callouts (see image below)? I would like to insert "Download a copy" after the "Open" hyperlink. Anyone has got any ideas?

Check if below can help:
http://stackoverflow.com/questions/23386514/sharepoint-ecb-custom-action-does-not-show-up-for-the-document-libraries-deploye
n order for custom action to appear in your custom list definition you need to change
RegistrationId property to the value of Type property of your list definition. In your case it should be
RegistrationId=10000
If you want to attach your custom action to all document libraries you can try to attach it to Document content type:
SPUserCustomAction action1 = web.UserCustomActions.Add();
action1.RegistrationType = SPUserCustomActionRegistrationType.ContentType;
action1.ImageUrl = "~sitecollection/myresources/Images/Logo16x16.png";
action1.RegistrationId = "0x0101";
action1.Location = "EditControlBlock";
action1.Sequence = 500;
action1.Title = "Redirect to my page";
action1.Url = "javascript:__doPostBack('RedirectPostBack','{ItemId}|{ListId}');";
action1.Update();
http://social.msdn.microsoft.com/Forums/office/en-US/40076dc2-8be6-4019-bf1e-54067880e8a8/how-to-add-a-new-customaction-in-ecb-for-a-specific-list?forum=sharepointdevelopmentlegacy
If this helped you resolve your issue, please mark it Answered

Similar Messages

  • How to add custom actions to the Settings page for a Document Library?

    I want to add a custom action under General Settings on the Document Library Settings page (listedit.aspx). So I added a new SharePoint 2010 "Empty Element", and put this code in the Elements.xml file:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="MyClassName"
    Sequence="999"
    GroupId="GeneralSettings"
    Location="Microsoft.SharePoint.ListEdit.DocumentLibrary"
    Title="My Link"
    Description="My description here"
    Rights="ManageWeb">
    <UrlAction
    Url="~sitecollection/_layouts/MyProject/MyPage.aspx"/>
    </CustomAction>
    </Elements>
    I found the GroupId and Location here: http://msdn.microsoft.com/en-us/library/bb802730.aspx but I am starting to wonder if this documentation is for MOSS2007 rather that SP2010
    as it says.
    What am I missing?
    Any help or hint would be greatly appreciated!

    Hi Henrik,
    Can we add above custom action in our custom group like General Settings?
    I have tried for that but it is not working.
    I have tried as follows
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomActionGroup
    Id="LibrarySettings.MyGroup"
    Title ="My Group"
    Sequence="1000"
    Location="Microsoft.SharePoint.ListEdit">
    </CustomActionGroup>
    <CustomAction Id="Custom.Configuration.ListCustomSettings"
    GroupId="LibrarySettings.MyGroup"
    Location="Microsoft.SharePoint.ListEdit"
    RequireSiteAdministrator="FALSE"
    Sequence="100"
    Title="Library Admins">
    <UrlAction Url="_layouts/15/LibrarySettings.aspx?List={ListId}" />
    </CustomAction>
    </Elements>
    But custom group is not created in list settings
    Any idea what I am missing here?

  • Add a custom-field in the table MARC and manage it in MM01/MM02/MM03

    Good day to all of you!
    I have this task: To add a custom-field to the table MARC. This custom-field will be managed through the MM01/MM02/MM03 transaction as follows:
    In the Basic Data 1 or Basic Data 2 the custom-field data will be added. Let's say the field is MATNR OBSOLETE.
    I have searched and implemented the things in customizing: Made a copy of function group MGD1, added the field on the screen.
    MY PROBLEM! How to manage it??? When the user enters MM01/MM02/MM03 and update this field, the field should be updated in MARC.
    1. I am not sure that this custom-field should be on Basic Data1 or Basic Data2.They want it at plant level.
    2. How to manage the data transfer from SAP Standard Program and my Custom Function Group.
    PLs: Do not paste me link to sap technical site with that example, because there takes the custom fields and UPDATE a CUSTOM TABLE. I need to update MARC!
    All the documentations i have read until now tell you how to add the field, ONLY the first part of the SOLUTION.
    Any help, pls?
    Good day and thank you!

    Hi Alex,
    In which way you are trying to update that custom filed. Have you written any logic in EXITS/BADIS?
    http://pavelgk.pbworks.com/f/6729224-Implement-Screen-Exit-for-MM01-Adding-New-Fields-in-Screen.pdf
    and
    Just read the OSS note mentioned earlier.
    Symptom
    You want to integrate customer-specific fields in material master maintenance.
    Other terms
    SAPLMGMM, RMDATIND, ALE, CI_MMH1, EXIT_SAPLMGMU_001 
    Solution
    To add customer-specific fields to an existing material master table (such as MARA or MARC) , you can proceed as follows as of Release 3.0C:
          1. Use an append structure to add the fields to the required table in the Dictionary (this is not a modification; for details, see the SAP document "ABAP/4 Dictionary"). In Release 3.x, the length of the field names must be the same as  the standard five character fields. This is necessary because of dynamic assignments. As of Release 4.0A, the lengths of the field names can be longer than five characters. If the changes of the fields should be recorded in the change document and taken into account during ALE distribution, set the 'Change document-relevant' indicator for the corresponding data elements. For table MARA in Release 3.x, you must also enhance the database view MARU because the database changes are carried out using this view. This small modification is no longer necessary as of Release 4.0A because the database view MARU is enhanced automatically when you enhance table MARA or the include EMARA (which is the data part of table MARA).
          2. Enhancing online maintenance in customized material master maintenance:
          Define a subscreen with your customer-specific fields in a customer-specific function group created as a copy of the standard function group MGD1.
          In Customizing, assign this subscreen to a maintenance screen using the "Copy customized material master" function. For details, see the Implementation Guide (IMG). As of Release 4.0A, program COPYMGD1 is available. You can use this program to create customer-specific function groups as required. This program is also incorporated in the Customizing function 'Configure customized material master'. Ensure that each field of the subscreen has a field statement in the flow logic, otherwise the data is not transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
          If you want these fields to be subject to standard field selection, you must add new entries for them to the central field table for material master maintenance (T130F): 
          Application examples for standard field selection:
          The field is mandatory and is to be flagged with a "?".
          The field belongs exclusively to the purchasing user department. Purchasing data and MRP data are both contained on one screen. However, the MRP controller is not to see the purchasing data.
          The following data is required for each field:
                a) Field name        (T130F-FNAME)
                b) Field selection group (T130F-FGRUP)
                Here, you should use a standard field group if the customer field is subject to the same field selection as the standard fields of the standard field group. If it is not, use a customer-specific field group.
                You must then check and, if necessary, modify the attribute of the field group using the function "Maintain field selection for data screens" in Customizing under "Logistics Basic Data -> Material Master".
                Field groups 111 through 120 that are not used in the standard system are reserved as customer-specific field groups. As of Release 3.0F, additional customer field groups are available. (For details, see the IMG).
                c) Maintenance status (T130F-PSTAT)
                List of the user departments that may maintain the field. You can display possible values by using the input help for the maintenance status field in the Customizing activity "Configure Material Master" when maintaining logical screens.
                d) Reference        (T130F-KZREF)
                This indicator must be set if the field from the reference material should be proposed during creation with reference.
    Note: You cannot yet use Customizing to enhance table T130F; you can use only transaction SE16 (Data Browser) or transaction SM31. Future releases will include a separate Customizing function for maintaining customer-specific fields. See Note 306966. By implementing this note you can add entries to table T130F within Customizing. This type of maintenance is possible as of Release 4.5B.
    You may change the entries for standard fields only with regard to the reference data and field selection group. Changing other data for standard fields constitutes a modification. Therefore, you cannot use the Customizing function "Assign Fields to Field Groups" to change this data.
    In addition, you must not add new standard fields to table T130F.
          3. If you want to maintain customer-specific fields using data transfer by direct input or via ALE distribution, proceed as follows:
          Add the fields to central field table T130F (see above).
          Add the customer-specific fields to the data structures for the data transfer (for example, BMMH1 for the main data).
          Also, add the customer-specific fields to the tables in which the incorrect data is stored during direct input. These tables have the same name as the corresponding master data table and also have the suffix _TMP.
          For example: If you add customer-specific fields to table MARA, you should add the same fields to table MARA_TMP.
          If you use ALE, you must also add fields to the IDoc. To process enhanced IDocs, you can use enhancement MGV00001 with customer exit EXIT_SAPLMV01_002 for creating the IDocs and customer exit EXIT_SAPLMV02_002 for posting the IDocs.
          Prior to Release 3.0E, enhancing structure BMMH1 constitutes a modification. In this case, you must add the new fields tot the end of the structure before the last field (SENDE = record end indicator).
          As of Release 3.0F, structure BMMH1 contains the customer include CI_MMH1, which is part of the enhancement MGA0001. Here, you must proceed as follows:
                a) Add the customer-specific fields to include CI_MMH1.
                The names of the fields in CI_MMH1 must be identical to those of the corresponding fields in material master tables MARA, MARC and so on.
                Important: The fields must be CHAR type fields. Therefore, create CHAR type data elements whose lengths are identical to the output length of your fields in  table MARA and so on. Use these data elements in include CI_MMH1, but use the field names from table MARA and so on.
                b) Activate include CI_MMH1.
                c) If you have not used customer structure ZMMH1 before, create it as a copy of structure BMMH1 and delete the standard fields that you do not require. You are not permitted to delete field STYPE and include CI_MMH1 when doing this. If you have already used structure ZMMH1, add include CI_MMH1 to it.
                d) Activate structure ZMMH1. This also adds the customer-specific fields to ZMMH1.
    Run program RMDATING. This program generates routines which are supplied to your customer-specific fields from the input file. As of Release 4.5A, you also need to activate the routines/function modules generated by program RMDATING (especially, the MAT_MOVE_BMMH1_XXXX modules). Details about this subject (especially the procedure when using customer structure ZMMH1) are described in the IMG for transferring the material data under item 'Maintain Transfer Structure'. Also, check the declaration of structure WA in program RMMMBIMC to see whether it is declared with sufficient length. If necessary, enhance the declaration (for the time being, this still constitutes a minor modification).
    In addition, lengthen domain DI_DATA with CHAR 5000. As of Release 3.1H, this has already been done.
    Important: When using customer-specific fields, you can use only structure ZMMH1 to transfer the data. Otherwise, after the next SAP upgrade which contains new standard fields in structure BMMH1, the input files no longer match. If you want these new standard fields to be transferred, add them after your customer-specific fields (the order of the fields in structure ZMMH1 does not need to be the same as the order of the fields in BMMH1).
    If you want foreign key dependencies or fixed domain values to be checked, or another check for a customer field, this is possible up to and including Release 3.0D only by modifying the corresponding check function modules. As of Release 3.0E, you can use function exit EXIT_SAPLMGMU_001 (SAP enhancement MGA00001) for these purposes.
    If you want to use engineering change management to schedule future changes for your customer-specific fields or you want to use the 'Display at Key Date' function, execute program GENERATE in addition. This program generates the necessary assignments for interpreting the change documents. With regard to engineering change management, you must read Notes 60281, 60973, and 48962.
    To date, it is not possible to integrate customer-specific tables in material master maintenance without making a modification. However, you can create customer-specific development objects containing the essential additional logic. You can then integrate these development objects in your system as part of only a minor modification.
    check this link. It may helps you to solve your issue.
    Thanks
    Sravan

  • Custom Action to the Ribbon - Not Associated to a specific Content Type?

    Is it possible to create a custom action on the ribbon that ISNT associated to a specific content type?
    I want to perform an action that isn't related to a list / item / lib - it should be available regardless of the context of the action I'm performing.
    I have this :-
    <CustomAction
    Id="Steve.SharePoint.Ribbon.SSSCTab"
    Location="CommandUI.Ribbon"
    RegistrationType="ContentType"
    RegistrationId="0x01">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.Tabs._children">
    <Tab Id="Steve.SharePoint.Ribbon.SSSCTab"
    Title="Custom Tab"
    Description="Groups and controls will go in here"
    Sequence="550">
    <Scaling Id="Steve.SharePoint.Ribbon.CustomTab.Scaling">
    <MaxSize...............
    If I remove the RegistrationType and ID, the tab doesn't appear at all.  With it set as above, the tab is available, but the controls are greyed out unless I am working within a list ....
    I'd like to have it always enabled if this is possible?
    Thanks
    Steve

    Removing those 2 should do the trick, try the following:
    Remove the RegistrationType and RegistrationID. Redeploy, restart your server, and clear your browser cache through F12 Developer Tools.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • How can I add a custom attribute to the create page dialog?

    I followed the following link to add a custom attribute called starred and this attaribute can be displayed in siteadmin grid
    http://dev.day.com/docs/en/cq/current/developing/customize_siteadmin.html
    I would like to let the user input the value when they create a page. That's why I would like to add a custom field in the input dialog box as attached pic.
    The method you describe before can only added those CQ bulid-in attribute.
    For those custom attribute, how can I added it?

    Hi,
    How can I customize the /bin/wcmcommand or how can I make use of [2] to create a custom WCMCommand?
    I think the "formUrl" is to post those input value to the jcr repository?
    var createDialog = {
            "jcr:primaryType": "cq:Dialog",
            "id": CQ.Util.createId("cq-createdialog"),
            "title":CQ.I18n.getMessage("Create Page"),
            "formUrl": CQ.shared.HTTP.externalize("/bin/wcmcommand"),
            "params": {
                "cmd":"createPage",
                "_charset_":"utf-8"
    I have added a field called "starred"
    Moreover, when I using the firebug to trace the post command, I can see that the starred value is posted also.
    :status
    browser
    _charset_
    utf-8
    cmd
    createPage
    label
    b
    parentPath
    /content/keyword_elaboration
    starred
    c
    template
    /libs/collab/commons/templates/form
    title
    a
    Source
    cmd=createPage&_charset_=utf-8&%3Astatus=browser&parentPath=%2Fcontent%2Fkeyword_elaboration&title=a&label=b&starred=c&template=%2Flibs%2Fcollab%2Fcommons%2Ftemplates%2Fform
    However, when I go to the crxde to view the node's attribute, the properity starred is not created
    Are there anything I did wrong or missing?
    Thanks.
    Message was edited by: aslkit

  • In SD i am looking to add some custom fields to the delivery document.

    In SD i am looking to add some custom fields to the delivery document. can any one help me out.

    hi,
    u have get the access key for the program with respective to the delivery document & user exit has has to done.
    This is job of abaper
    regards,
    Arun prasad

  • An you tell me how to add an advanced action to the TEB so you can check for multiple lines of input

    an you tell me how to add an advanced action to the TEB so you can check for multiple lines of input? How do you add the advanced action?

    Can you elaborate your requirement?
    If you want to have a text wrapped around and enable a scroller for the same, you can achieve it by TEB properties and check the scroll bar option,
    Is this what you are looking to achieve?
    Thanks,
    Anjaneai

  • Add custom command in the context KM menu

    Hello All,
    Wanna know if its possible to add custom command in the KM context menu?
    If yes, please guide as to how can I do this....
    Example: Print option in the context menu
    Awaiting Reply.
    Thanks & Warm Regards,
    Ritu

    Hi Ritu,
       Yes, you can do that.
       First of all, you should identify the layout set that you are using. If you do not know it you can enable debugging setting option.
       Then, you must know where you need to appear this command. I mean, in a folder, link or document.
       If you are using a standard layout you should not modify it, you must duplicate it (you ca use advance copy).
      The command must be added in a group command, you can use an exist command or create a new one. (System Administration-System Configuration-KM-CM-User Interface-Command Groups). Before that you can create your command.
    These groups are referenced from collection and resource renderer. A layout set is a set of collection and resource rendeders.
    You should read this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/98/dd48a9b4a197489a54187c99372bce/frameset.htm
    Once you added your comamnd a group and assign this group in your collection or resource renderer. You have to assign this layout to your km navigation iview or directly the folder.
    Don't forget to enable presentation service in your repository in order to change the layout.
    Patricio.

  • How to add a custom property to the user's master record?

    Hello,
    I would like to add a custom property to the user's master record which is unique to our company (User's region).
    Is that possible? and if yes, how?
    I'm a bit new to BW so a step-by-step procedure will help
    Roy

    The user names are stored in table USR01. IN that table see if you can add a field to have region. Extract this table and store it in User info object in BW.
    You will need a ABAP person to do this, if you are new to SAP.
    Ravi Thothadri

  • I keep trying to download my photos to my MacBook Pro, when I insert my disc I get this response: You inserted a blank CD. Choose an action from the pop-up menu or click Ignore. Anyone know how to fix this?

    I have been trying to download photo's from a CD onto my MacBook pro but when I insert the disc I get this box that pops up onto my screen:  You inserted a blank CD. Choose an action from the pop-up menu or click Ignore. Is there a way to fix this so I can use my photo's?

    Bummer. Could be a problem with the MBP drive. Are you using Re-writable discs maybe?
    Check the discs work in your HP machine. They may have burnt but not successfully. Your HP machine may not be able to open them either.
    Have you considered using a USB flash device to transfer the photos, or just copy them over your home network? CD is a slow an cumbersome method.

  • All of sudden my Apple Mail won't transfer photos from Mail to iPhoto using the "add to iPhoto" feature in the drop down menu

    All of sudden my Apple Mail won't transfer photos from Mail to iPhoto using the "add to iPhoto" feature in the drop down menu. Do you know how to fix this?

    mmchisholm - just so you know you're not alone, I too am having the exact same issue as of latest software update bundle. Have to manually add each photo until Apple issues solution or minor software update.

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    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]

  • How to add a custom iview to the portal tool area

    Hello:
    We want to add some simple text like date,day and some
    more things to the portal tool area, where a KM search
    box, and collobaration link exists now.
    I tried to look up for the tool area iview par file, but
    only found, *.ept file only which doesn't contain any
    code.
    I hope atleast some of the clients might have tried this.
    If you will you please shed some light on how to achieve
    this task.
    Thank you very much in advance for the help,
    Prasad Nutalapati

    Hi Prasad,
    try to do this:
    1) download the par file of the standard toolbar. You can find it under:
    \usr\sap\P602\j2ee\j2ee_00\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\deployment\pcd
    its name is: com.sap.portal.navigation.toolarea.par.bak
    2)import it into eclipse with another name, i.e. com.customer.portal.navigation.toolarea
    3) modify as you need the jsp contained in it in order to satisfy your requirements.
    4) deploy the par into the portal and create a new iview based on it.
    5) put this iview into the framework page you want to use, hiding/deleting standard toolbar
    these steps are OK if you want simply modify the layout of the toolbar, you cannot modify the logic behind it.
    If you need to do that, for example add some buttons which perform some custom actions, you have to develop a new component from scratch using the portal development paradigms.
    I hope this could help you
    Cheers
    Roberto

  • How to add a custom field to the "Projects" page "Group by" data menu list

    Hi,
    I'm deploying Project Online and I want to group projects by a custom field on the "Projects" page. Currently I can see options for group by Project Name, Start, Finish, % complete etc. I would like to group by a custom field of programme name
    which is filled in on the Project Details form.
    I can create the enterprise field etc, however I can't work out how to make the new enterprise field appear in this list. Or am I barking up the wrong tree and should be creating separate Project Types for each programme?
    Any help an advise greatly appreciated.
    Regards,
    Conrad

    Hello, add the programme field to the Project Center view then it will be available to group by. Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

Maybe you are looking for

  • Urgent help with Pages 5.0 needed

    Hi guys, I need urgent help! I deleted Pages 5.0 (as I HATED it) but now can't open a very important document. Can someone please tell me how to reinstall it?? Thanks Kellie

  • Help with saving a photo

    How can I save a photo  as 1920X1920 pixels when the photo isn't square?  This photo must be saved as baseline standard JPEG.  File size must be < 1.8 mb.  Color space should be saved in RGB color space preferablySRGB

  • ORDER ID

    Hi all, what  is orderid  in FBV1 transaction? what is the relation  ship between cost center , profit center  and order id? while parking  the document i have  given only orderid  for a particular line item with out giving  the cost center and profi

  • Which 'lightbox' solution for showing youtube video

    There's a number out there........does anyone have fisrt hand experience of which are good solutions? Os

  • Solaris Express Site?

    What's with Sun's Solaris Express download site? It's been down for "maintenance" for the last three days.