New action in "Edit Menu" for List
In a list, on title you can click the down arrow to the edit menu, from here you can view/edit delete etc...
I want to add a custom action in this menu, or in the ribbon for my list.
I want this action to simply open the current item in a certain pageview I have created in infopath. Thats it.
Any ideas????
Hi,
According to your post, my understanding is that you want to add a custom action in ECB menu to open InfoPath form.
There are two method to achieve it:
(1)SharePoint Designer.
Open the list in SharePoint Designer, click “Custom Action” to create item to navigate to the displayifs.aspx page.
More information:
Adding Custom Actions to the List Item Menu in SharePoint 2010 Using SharePoint Designer 2010
(2)Visual Studio.
Create Empty SharePoint Project, add feature and element, then deploy the project.
The Element.xml is as below:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="CA_WF_Init"
RegistrationType="List"
RegistrationId="100"
ImageUrl="/_layouts/1033/Images/RTEDCELL.GIF"
Location="EditControlBlock"
Sequence="301"
Title="My Custom ECB Menu Item" >
<UrlAction Url="javascript:(function () {
var o = {
url: 'Item/displayifs.aspx?ID={ItemId}',
title: 'InfoPath Form',
allowMaximize: true,
showClose: true,
width: 700,
height: 500
SP.UI.ModalDialog.showModalDialog(o); }) ();"/>
</CustomAction>
</Elements>
If you don’t want to display the page in dialog, you can use:
<UrlAction
Url="Item/displayifs.aspx?ID={ItemId}"/>
The result is as below:
More information:
How To add custom menu item in SharePoint ECB Menu (Edit Control Block) via Feature
SharePoint 2010 : how to open Modal Dialog in ECB Menu
Thanks,
Linda Li
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]
Linda Li
TechNet Community Support
Similar Messages
-
Create custom Edit button for list on SharePoint 2013 page
Hi
I have a custom list which holds contact information such as name, telephone, address. I am displaying the custom list webpart with using a custom view on the site home page which only shows name and telephone. It should only
have 1 item so 'New Item' is not needed. However I still need to be able to edit the item. If I click 'Edit' on the list view on the home page, it will open a quick edit box only showing name and telephone.
How can I create a custom button on the home page that will open the custom list item form instead? Therefore all columns will be editable and I can remove the "New and Edit" toolbar from the webpart.
Marc Collins www.QGate.co.ukHi,
According to your post, my understanding is that you want to open the custom list item form.
Per my knowledge, there is out of box method to achieve it.
After you insert the web part to a page, you need to edit the web part and change List Views as below, then it will remove the "New and Edit" toolbar from the webpart.
In the page, if you click the web part , the ribbon will appear. After you select the item and click Edit Item, the edit form with all fields will be displayed.
Thanks,
Linda Li
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]
Linda Li
TechNet Community Support -
hi,
am facing a problem deploying a list instance via a feature,
I created the list in the UI with content and views.
Exported the site template as WSP.
Imported into Visual Studio the list instance, pages module and property bags.
Copied into my new solution.
Deploy list instance as a site-collection level scoped feature.
activated the below features :
mylist_ModulesFeature
mylist_ListInstancesFeature
mylist_PropertyBagFeature
List deploys fine with content and views. However, I receive the following error when trying to add a new item: “Unable to find the default new form for list”. The same applies for editing items.
can anyone pls help why i am getting this error ?try these links:
http://tomvangaever.be/blogv2/2010/04/unable-to-find-the-default-new-form-for-list/
http://sharebrad.blogspot.in/2012/08/unable-to-find-default-edit-form-for.html
http://stackoverflow.com/questions/10243131/deploying-a-list-instance-to-sharepoint-2010-error-unable-to-find-the-default-n
https://happiestsharepointminds.wordpress.com/2014/03/01/unable-to-find-the-default-edit-form-for-list-or-unable-to-find-the-default-display-form-for-list/
http://itsolutionsblog.net/sharepoint-problem-with-library-forms-unable-to-create-folder-ore-edit-properties/
http://blogs.technet.com/b/yashgoel-msft/archive/2013/08/30/recreating-default-display-edit-and-new-forms-of-a-list-in-sharepoint-2010-using-powershell.aspx
Please mark answer as correct if it is correct else vote for it if you find it useful -
Replace Default "New" / "Edit" Forms for Custom List
Having created a web page that is just simple HTML with JScript to bring it "to life" in SharePoint designer, how can I cause SharePoint 2010 to present this page for the "New" action? Or for the "Edit" action?
This page is not associated with the Master Page/Content paradigm. It is at WebSite/Lists/TheTargetList/TheTargetForm.aspx
When I show the list properties tab for this list in Designer, and go to the "Forms" section (subtitled "Forms are used to display and edit data contained within this list"), and click the "New..." button at the right of
that section's title bar and fill in the Title with the title of my file, I cannot add the file. (The bread crumbs at the top say "Site > Lists and Libraries > ListName > ")
Alternately, I go to the bottom of the tab's page, and select the link "Item" under Content Types (the choices being "Item" and "Folder").
Then the bread crumbs say "Site > Lists and Libraries > ListName > Content Types > Item >"
In the "Forms" section, I try to put the fully qualified name of the page I have created (my ..aspx file) in the "New Form:" or "Edit Form:" areas, after having clicked the "<click to enter text>" links.
This lets me save that change, but destroys the web site's ability to show anything when I try to go to New or Edit — essentially "File not found." The same if I provide only the file name,
not fully qualified.
So, if I have "Site/Lists/List/XYZ.aspx," and if that file is like:
<html>
<head>
<script> . . . </script>
</head>
<body> . . . <br /> . . . </body>
</html>
How can I get this file to be opened as the "New" or "Edit" form for the list?Hi BrianWren ,
According to your description, my understanding is that you want to present a web page as the New Form page.
For achieving your demand, you need to create custom form using Visual Studio instead of SharePoint Designer.
Here is a good blog you can have a look:
http://blog.karstein-consulting.com/2010/12/29/walkthrough-create-custom-sharepoint-2010-list-form-for-deployment-in-a-visual-studio-2010-project/
http://www.sharepointblogs.be/blogs/sebastian/archive/2011/02/08/change-the-standard-forms-of-a-list.aspx
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Firefox 3 has a context menu for the drop down list of
the Location Bar. One option on this menu I used often
is "Open Link in New Tab" -- quite convenient.
This context menu has disappeared in Firefox 4.
Can I get it back?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 /> -
I am trying to download a free trial of photoshop for my macbook pro and it says there is an error and that the requirements for the new version is not supported for the mac I have. I have looked at the list of requirements but have no idea how to tell what I do and do not have?
Apple Menu --> About this Mac.
Mylenium -
Is it possible to reset the default image size for VIEW in photoshop elements EDIT menu?
When I go into the Edit menu, I have to click on "Fit on Screen" to enlarge the view. Is there a way to change the default size of the Edit image so that the larger size I get with "Fit on Screen" is the new default?"
Not as far as I know. PSE opens a new image in the editing window according to its own internal formula for size.
Ken -
Hi, I need to create a type of drop down menu for a
navigation list. Only one button needs a drop down option. I was
wondering if anyone had any suggestion on the best way to go about
it? Is there a way to make the list that drops down to the right
instead of dropping straight down in order to keep the opening
window from getting in the way of the button beneath it. I would
like to do it without changing the order of the navigation list and
having to make it the last button.
ThanksCheck the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"PENONE" <[email protected]> wrote in
message
news:fk2jpl$412$[email protected]..
> Hi, I need to create a type of drop down menu for a
navigation list. Only
> one
> button needs a drop down option. I was wondering if
anyone had any
> suggestion
> on the best way to go about it? Is there a way to make
the list that drops
> down
> to the right instead of dropping straight down in order
to keep the
> opening
> window from getting in the way of the button beneath it.
I would like to
> do it
> without changing the order of the navigation list and
having to make it
> the
> last button.
>
> Thanks
> -
How to edit GRUB for boot new compile kernel?
I compile the newest Linux kernel.
I read Archlinux wiki about how to edit GRUB for boot new compile kernel,
but Archlinux wiki do not reference to it.
Who can help me, baby?bangkok_manouel wrote:
how did you build your kernel? traditional way or arch way?
if it's the arch way (TM), here's an example of a custom kernel with -mm patch.
what I have in /boot:
-rw-r--r-- 1 root root 4.3M 2008-12-23 09:52 kernel26mm-fallback.img
-rw-r--r-- 1 root root 668K 2008-12-23 09:52 kernel26mm.img
-rw-r--r-- 1 root root 764K 2008-12-22 18:44 System.map26mm
-rw-r--r-- 1 root root 1.7M 2008-12-22 18:44 vmlinuz26mm
now here's the /boot/grub/menu.lst related entry (you may add the fallback one):
# (2) Arch Linux
title kernel26mm
root (hd0,0)
kernel /vmlinuz26mm root=/dev/sda5 ro vga=773
initrd /kernel26mm.img
Should be traditional way. -
Is there any way to edit the standard Firefox context menu for displayed Web pages?
Is there any way to edit the standard Firefox context menu for displayed Web pages? I frequently want to save a picture appearing on a page. Sometimes I "slip" and hit "Send Image" when I want "Save Image As", and have to sit and wait for a default send-mail page to come up, then close it, fiddling with its "are you sure" dialogs. This is a painful way to handle a slip-up. I basically NEVER want to e-mail an element directly from a page. Is there any way I can just delete "Send Image" from the context menu?
You can remove entries in the context menu with code in the userChrome.css file
*http://kb.mozillazine.org/userChrome.css
Some IDs are listed in this MozillaZine Knowledge Base article:
*http://kb.mozillazine.org/Chrome_element_names_and_IDs
To find the ID of others you will have to use the DOM Inspector.
* https://support.mozilla.org/kb/DOM+Inspector
* https://developer.mozilla.org/En/DOM_Inspector
* https://developer.mozilla.org/en/Introduction_to_DOM_Inspector
* DOM Inspector: https://addons.mozilla.org/firefox/addon/dom-inspector-6622/ -
as title, I delevelop an app for sharepoint online, so I must use client api to operate sharepoint object. now, i need to remove/hide the link “new item or edit this list”, not use js do it, what can i do? help!!
Hi,
Per my understanding, you might want to remove the link “new item or edit this list” of a list view web part using Client Object Model.
As there is no such property in
WebPart object can be used to hide/remove the link, I suggest you apply custom CSS style to the page which contains the list view
web part to hide it.
Best regards
Patrick Liang
TechNet Community Support -
HT2305 Software Update for Windows says "New Updates Available" but yet it lists none.
Software Update for Windows says "New Updates Available" but yet it lists none.I have read other threads here on the Apple Support forums, but have yet to find anything that works for my situation. This Issue is driving me nuts. Please Help!
I went into checking with Apple Software Update then I clicked Control Panel - "Repair" It was restored to start menu, thank you much thumb up to b noir Big Helping me! David
-
Palette for the edit menu?
Hey, I've just got a wacom tablet and am trying to get used to working with it in illustrator. One thing i'm finding is that i use the keyboard shortcuts a lot for copy/paste/undo etc. Its awkward using the menus with a pen and i was wondering if there's a palette for the edit menu so i can just click icons to execute edit commands. It would make sense and since its in apps like word, i'm thinking it must be in here somewhere? Thanks
I've just added a huge amount of commands to the actions palette and deleted the default set. Switched to button mode and re-scaled the palette and suddenly i am REALLY pleased I bought my tablet! Was a bit disappointed when i first started using it in illustrator but now its really quick to work with. Thank you so much for the info.
-
You changed the order of the menu for "Open in a new window" or "Open in new Tab", How can I change it back? Or how can I omit any reference to tabs? I do not use them at all.
You can use the Menu Editor add-on to rearrange or remove menu items - https://addons.mozilla.org/firefox/addon/menu-editor
-
Hi,
O already have a really old ipod and just had a new one which i have registed today but when i have downloaded the itunes app onto my new laptop i cannot see the new ipod in the menu to update the music i have just purchsed.
Furthermore it seems to have put the new album into my old itunes so once i connect my old ipod i assume it will want to put it on there. I bought a new one as my old ipod is only 4gb and there is no space on it.
Can someone help please?Registering an iPod or any other iDevice for warranty and support has nothing to do with the device appearing in iTunes. For what silly reason would you expect that to occur????
Honestly, it sounds like you have no clue how to use iTunes or sync media to the devices. Might be a good idea to read the User's Guide for the iPod to understand how to use it.
http://manuals.info.apple.com/en/ipod_touch_user_guide.pdf
Maybe you are looking for
-
Can i change table in query as per user given data
hi master sir, can i change table in query as per user given data see select * from @variable i need use in lov please give me idea thankingyou Aamir
-
Is there a way that I can clear a pdf file
I am using acrobat.com and I am able to view these files on my tablet. Does anyone know how to clear the form? Is there an option of requiring to save as instead of always saving your file automatically?
-
What happened to "Summarize Options" dialog (connector lines) in Acrobat X?
I just tried to create a "connector line" PDF in Acrobat X and discovered that the "Summarize Options" dialog has been removed. (File>>Print>>Summarize Comments). Up through Acro 9, clicking the Summarize Options would cause the following dialog to
-
Updated to Mountain Lion and now my M-Audio ProjectMix or Mbox are not being recognized?
I do music production and my M-audio ProjectMix is a Firewire audio interface and Mbox Mini 2 don't work anymore? They're not even recognized within System Preferences.
-
HT5824 how can i retrieve my photos
how can i retrieve my photos from icloud