A custom view in the Edit drop-down

Hi,
How could I create a custom view and add it to the Edit List Item drop-down in SharePoint 2013? This screenshot shows what I mean in SharePoint 2010:
I'd like to have a menu item Custom View below Edit Properties in the drop-down list. When the user clicks the item I'd like to redirect to my layout page.
Thanks,
Leszek
Wiki: wbswiki.com

Hi ata6502:
Adding a user custom action for list items
using System;
using Microsoft.SharePoint.Client;
namespace Microsoft.SDK.SharePointServices.Samples
class CreateUserCustomActionList
static void Main()
string urlWebsite = "http://MyServer/sites/MySiteCollection";
ClientContext clientContext = new ClientContext(urlWebsite);
Web oWebsite = clientContext.Web;
List oList = oWebsite.Lists.GetByTitle("My List");
UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
UserCustomAction oUserCustomAction = collUserCustomAction.Add();
oUserCustomAction.Location = "EditControlBlock";
oUserCustomAction.Sequence = 100;
oUserCustomAction.Title = "My First User Custom Action";
oUserCustomAction.Url = urlWebsite + @"/_layouts/MyPage.aspx";
oUserCustomAction.Update();
clientContext.Load(oList,
list => list.UserCustomActions);
clientContext.ExecuteQuery();
Modifying a user custom action
using System;
using Microsoft.SharePoint.Client;
namespace Microsoft.SDK.SharePointServices.Samples
class ModifyUserCustomAction
static void Main()
string urlWebsite = "http://MyServer/sites/SiteCollection";
ClientContext clientContext = new ClientContext(urlWebsite);
Web oWebsite = clientContext.Web;
List oList = oWebsite.Lists.GetByTitle("My List");
UserCustomActionCollection collUserCustomAction = oList.UserCustomActions;
clientContext.Load(collUserCustomAction,
userCustomActions => userCustomActions.Include(
userCustomAction => userCustomAction.Title));
clientContext.ExecuteQuery();
foreach (UserCustomAction oUserCustomAction in collUserCustomAction)
if (oUserCustomAction.Title == "My First User Custom Action")
oUserCustomAction.ImageUrl = "http://MyServer/_layouts/images/MyIcon.png";
oUserCustomAction.Update();
clientContext.ExecuteQuery();

Similar Messages

  • How do I get Watermark to show in the Edit drop down in LR 3.4?

    There is no Watermark function under the Edit drop down box in my Lightroom v 3.4  How do I get it to appear so I can use it?

    Yes my  system is Mac based, and I did locate a Watermark check box in the Print where I was able to install a watermark.  However when I open the  Edit drop box at the top, does not show a Watermark Edit selection.

  • How to modify the size of the editable drop down

    I have used the editable drop down list which works perfectly. The only problem i find is that it has a static width, unlike a regular select/option list that adjust according to the lengh of the data that is in it. Is there any way i can adjust the width of the editable drop down list. Thank you.

    try removing the width completely...leave that field blank

  • On iMac Lion where are the fractions in Pages and Mail?  They used to be under "characters" in the "Edit" drop down menu, but they aren't there anymore.

    Since downloading Lion, I am unable to find fractions in the edit>special characters submenu anymore (for Pages and Mail).  Anybody know where they went to?

    You could use the Auto Correction in the Pages preferences. There are several pre defined fractions. You have just to check them so you can use them in Pages. I can't help you with Lion as I don't have it.

  • Click that feature on the edit drop down nothing happens.  Help anyone?

    I am trying to use the "Add to movie" feature so I can consolidate several video clips into one continuous movie.  When I

    I am trying to use the "Add to movie" feature so I can consolidate several video clips into one continuous movie.
    1) Open all of your movies in separate players.
    2) Create a new empty target player.
    3) Select the player containing the clip you wish to add to the target player.
    4) Use the "Select All" option or set "in" and "out" points for the content you wish to copy to the target player.
    5) Use the "Copy" option to copy the selected content to temporary memory.
    6) Select the target player.
    7) Ensure the playhead is at the point where you wish to insert the copied content (i.e., usually at the end).
    8) Select the "Paste" option to insert the copied data to the target player.
    9) Repeat steps 3 through 8 as needed until all content is merged in the target player.
    10) Save the merged data file.
    FYI: This operation is more easily done using the free MPEG Streamclip app.
    1) Assign alpha-numeric file names to the content you wish to merge to order them in the same order you want them merged together.
    2) Simultaneously drag 'n drop all files to be merged to the main MPEG Streamclip window.
    3) Save the merged content to a new file name using the "Save As..." option.

  • Editable drop-down problem.

    Hello all,
    Here's the issue. I have an editable dropdown list/menu in a table. The table is hidden upon page load. When the user clicks the link to open the table, the editable drop down is only 1 or 2 pixels wide. How do I get the editable drop down to open at the prescribed 300px?
    Here's the code:
    <select name="CGSector1" id="CGSector1" wdg:subtype="DynamicInput" wdg:type="widget" wdg:recordset="rsCGSectors" wdg:displayfield="CGSectors" wdg:valuefield="CGSectors" wdg:norec="150" wdg:singleclickselect="yes" wdg:defaultoptiontext="no" wdg:restrict="No" wdg:ext="php" style="width:300px" wdg:fakeattribute="<?php WDG_registerRecordInsert("connStr_xxxxxx", "rsCGSectors", "CGSectors", "CGSectors");?>"></select>
    Thank you.
    Brian

    As this issue is not directly related to ADDT, but assumingly rather to e.g. aspects like the defined (if any) width of the initially hidden table, please give a link to the complete page code (or a live page) to help others with spotting the possible reason for this.
    However it should be mentioned that ADDT´s "editable dropdown" is generated on-the-fly using some proprietary AJAX functionality as well (including the style rendering), so maybe the style setting you defined here just gets ignored when the surrounding "container" (aka the table) gets hidden by - for instance - using features from another AJAX library like JQuery which is certainly incompatible with than ADDT´s own AJAX implementation.
    Cheers,
    Günter

  • Menu bar with file, edit and view are still there not the new drop down new file bar

    downloaded the new version of firefox and the new drop down menu bar that has file,edit,view and history, stuff like that is still there. i have what looks like a broken photo or missing picture square

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
    * Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How do I get out of "full screen" view. When I put my crusor at the top of the screen I get SOME menus showing, but nothe the "firefox" drop-down where I selected full screed (I was just trying to zoom out, actually)

    I think the question pretty well summed it up. I selected full screen mode from the "firefox" drop-down box at the top left, but once in full screen mode, the drop-down box is not available. How do I get back to the standard view??

    Press the F11 key to toggle into and out of full screen mode.
    Or, move the mouse pointer to the top of the screen and right-click the "+" (new tab) button, or in a blank area of the tab bar, or in a blank area after the address box, and exit full screen mode from the context menu.

  • How do I edit the shared drop down menu in sidebar?

    I work in a design studio. We have 6 macs that we share files between. There are also close to twenty PCs on our network that I don't need to connect to.
    I want to have all the macs at the top of the list for easy access but at the minute I am seeing in, alphabetical order, 1 mac at the top and 6 PCs below.
    Has anybody got any ideas as to how I can change the order?

    You can do it in OS X. When you click on Customize, you will see an icon that has a star with a drop down arrow next to it (it move the icon next to the other icons at the side of the address bar). Drag this icon to the Customize window & the bookmarks drop down will be gone from the bookmarks toolbar.

  • All the menu drop-downs just flicker when I press them.

    All the menu drop-downs (File, Edit, View, etc.) don't display and hold when I press any of them. They flicker on but immediately the content disappears and all that's seen is a ghost outline of the drop-down box. This happens with the major menu items as well as all of the sub-menu items.

    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • I have a pornographic search title in the banner at he op of the page just below the bookmarks shortcuts icons. It appears when that part of the screen drops down a bit when the on screen keyboard opens up. Its a spam like link that won't go away.

    I have a pornographic search line on the top banner of Safari just under the bookmark icons that appears whenever I open up the onscreen keyboard and the top drops down a bit. Don't know where it came from the iPad is only one day old brand-new. I've tried getting rid of this by resetting the entire iPad but that didn't work. The link if I click it opens up a Google page listing links to see videos. Need to know if there's any way to make this thing go away permanently.

    You saved it on the bookmark bar. Hit bookmarks, bookmark bar, edit, then hit the minus to delete it.

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • How do I get back the functionality for the alphabetical drop down from my previous searches in the center Google search box of the Mozilla Firefox Start Page?

    In the afternoon of August 24 I lost a feature on my Mozilla Firefox Start Page and I cannot figure out how to get it back. It concerns the Google Search area in the MIDDLE of the page. Previously, when I would want to do a search, for example Amazon, I would type the letter 'A' and, because I had typed 'Amazon' in that Search box before, an alphabetical drop-down menu would come up with 'Amazon' in it. I could then click on that word without having to type the rest of it. That option is no longer working.
    I had done an Adobe Reader update that Friday morning, so I thought that might be why this happened,. I did a System Restore and took the system back to Tuesday, August 21. That did not help.
    I ran CCleaner and cleaned the Registry also. Interestingly enough, I found that right after I do that and then open a Mozilla Firefox Start Page, the alphabetical drop down function is back in the center Search bar for one time, one search. After that it is gone again. I go in and do just CCleaner (no Registry cleaning required) and the same thing happens...the functionality is there for one search only.
    I went in and made sure all my Add-ons/Plug-ins are up to date. I also ran a full system scan but no issues came up.
    I am computer illiterate, so please bear with me. I have no idea if any of the things I tried would have helped or not.
    I have Windows 7 and Firefox 15.0.1
    I appreciate any help you can provide.

    See also:
    *Tools > Options > Privacy > History: "Remember search and form history"
    *https://support.mozilla.org/kb/Form+autocomplete
    The "Use custom settings for history" setting allows to see the current history and cookie settings, but selecting that setting doesn't make any changes to history and cookie settings.<br />
    Firefox shows the "Use custom settings for history" setting as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.<br />
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".<br />

  • How do you  "image correction" in PREVIEW in a macbook pro? I have an iBook G4 that gives it as an option in the tools drop down window.

    how do you  "image correction" in PREVIEW in a macbook pro? I have an iBook G4 that gives it as an option in the tools drop down window.

    From preview:
    Tools-> Adjust Color-> Auto Levels
    Or you can import the image into iPhoto:
    Edit-> Enhance

Maybe you are looking for

  • Updated to 10.10.3 and now iPhoto won't open

    I upgraded the OS 10.10.3 and now iPhoto won't open. It says "the version of iPhoto installed on this Mac is not compatible with OS X Yosemite.  Download the latest version for free from the Mac App Store."  However, when I go to the Mac App Store, t

  • Adobe Acrobat Pro version 9

    I am running Windows 7 Pro with Abode Acrobat Pro version 9 with the latest update, When I right click on DOC.file I got the menu with one of the option to convert to PDF and if I select more than one file and Right click I used to get a Combine file

  • F-44 Clear Vendor Process Open Items

    Dear All Can anyone please tell me how to use transaction code F-44. I want to clear Vendor items. But unable to do it. Thanks & Regards Kanwaljit

  • How does message determination work?

    Hello, I should print an consignment settlement with MRKO. How can I define different output type for different company? I guess I should search the solution in SPRO Material management - Logistics Invoice Verification - Message determination but I d

  • Google Toolbar crashing Firefox 3.6.8

    Firefox 3.6.8 crashes when accessing Add-on Manager and Google Toolbar (v 7.1.20100723W) is enabled Running Firefox 3.6.8 on a Win7 64x HP dv7 notebook Receive the following "Warning: Unresponsive Script" box when accessing Add-ons Manager... Content