Adding a ECB item menu action to a declarative Visual Studio 2013 Workflow
Hi
I have build a Sandbox 2013 workflow in Visual Studio which I can attach to my desired list. I want my users to be able to trigger this workflow via the item ECB menu as your can in an App Client Control. Is this easy to do say with a feature
- assuming you specify the list on workflow initiation.
Do I need to import my workflow into SPD 2013 and play around with Actions but that sounds a bit dodgy!
Regards
Daniel
Freelance consultant
Hi Daniel,
According to your post, my understanding is that you want to add ECB menu and start a
special workflow.
The following materials would be helpful:
Start a workflow with SharePoint (JavaScript)
https://gist.github.com/Aymkdn/3873181
Using ECMAScript Client Object Model from ECB Custom Actions
http://pholpar.wordpress.com/2011/04/08/using-ecmascript-client-object-model-from-ecb-custom-actions/
If I misunderstand what you mean, please provide more information about your requirement for further research.
Thanks,
Dennis Guo
TechNet Community 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]
Dennis Guo
TechNet Community Support
Similar Messages
-
I noticed last weekend after installing VS 2013.4 update that the Winforms toolbox, while showing all items, did not display the icons beside the items for any custom/third party Winform controls. The only icon
showing in the toolboxes are the Pointer icon. I can select and drop any control onto a project, and as soon as I move mouse into the design surface the icon shows. Neither the
builtin Winforms controls nor the WPF toolbox exhibit the same symptom. It is specific to Winforms third party controls (ActiPro and DevExpress). At first I thought it was due to the update, then I found that my laptop was
already exhibiting this symptom, running 2013.3 (I had not dropped any controls from the toolbox in the past few weeks so I did not notice).
The two machines (laptop and workstation) are running Windows 7 64-bit Professional and Ultimate, respectively. These machines are dedicated to development, and are secured, also running Norton Antivirus.
I also have VS 2010 and VS 2012 which don't exhibit the symptom, though I finally removed 2012 last night during my adventures. I had all three VS side by side, running well for months (I added VS 2013 in June). VS
2013 had been functioning well on a daily basis for the dozen or so Winforms projects and the odd WPF or MVC project.
I use DevExpress v2014 and ActiPro controls; I have been using them for years now.
I've spent 2 days trying remedies that include:
Resetting Toolbox
Removal of *.spd files in %APPDATA%, restarting VS
Uninstall Visual Studio, remove and delete of any Visual Studio remnant in the registry, Program Files(x86), %APPDATA% and %PROGRAMDATA%, reinstall.
Repeat step 3 with VS 2013.1 and .3
Downgraded .NET to 4.5.1 to match my third, correctly functioning computer (also running Windows 7 x64 Ultimate).
DevExpress has told me this isn't a problem they have seen. At first I agreed, since my ActiPro controls also are missing their icons, but then I noted that other vendor controls display fine. Not sure what else to do but to nuke the workstation and install
from OS up.DevExpress is discussing this issue in the thread here : https://www.devexpress.com/support/center/Question/Details/T174133#comment-a98eedf1-ca54-4920-a2d6-49506ddae5b5
The small sample they provided in the thread actually reproduces the bug in my environment.
Since I cannot post screenshots here on MSDN forum (I explained above, when I try to attach pictures I
receive an error that my account is not verified). There is nothing more I can do.
This appears to be a bug in Visual Studio 2013. VS 2010 and 2012 are on the same machine and do not exhibit
the problem. It is frustrating how unresponsive Microsoft is to my issue. I am a long-time MSDN subscriber, as well as customer of multiple seats of the retail copies of Visual Studio. It looks like the only way to get attention is to pay for a incident. If
Microsoft is interested in actually seeing this bug in action, I have 2 machines that are preserved. I have installed a fresh environment on my backup PC. -
Visual Studio 2013 is creating new feature every time new list definition is added
We are using Visual Studio 2013 and details are as under:
Microsoft Visual Studio Ultimate 2013
Version 12.0.30501.00 Update 2
We we add a new list definition in our project, it creates a new feature with it. If we delete the feature and add list definition in the existing feature, list is created but columns are not added in the list.
Same thing happened if we rename "Feature1", a new feature is created every time a new list definition is created.
This doesn't happen when we add a Visual WebPart.
Also, we have three different custom list option in the drop down in new list creating wizard.
Is this a bug or we are doing something different.
http://farhanfaiz.wordpress.comIntellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML. My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
I've been trying to create a custom control in SSRS using the PolygonsCRI example. I've finally got the solution to compile in Dot Net 4.5 under Visual Studio 2012 targeting x86 architecture. (x86 seems to be the only way to compile without complaints
about architecture mismatch involving some of the key reporting DLLs.) I'm running VS2012 Premium, version 11.0.61030.00 Update 4.
I still can't use it in the Polygons demo reporting project.
I can add the DLL to the toolbox but all I get is a red rectangle and the message 'The custom report item type PolygonsDesigner is not installed'.
Suggestions? I'm out of ideas at this point.Hello,
You have "add DLL to Toolbox"?
See Jazz Up Your Data Using Custom Report Items In SQL Server Reporting Services => Deploying CRI: You have to Register you CRI in "RSReportDesigner.config" file.
See also MSDN:
How to: Deploy a Custom Report Item
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Send Edit Items URL in E-Mail Using Sharepoint Designer 2013 WorkFlow
Hi,
I want to Send the URL of Edit Item List using SharePoint Designer 2013 Workflow
I m Using [%Task : URL%] Then it return the internal URL --
http://SP2013/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
But i want in AAP URL for edit list items such as
http://Hello.com/Sites/MySites/HelloSites/Lists/Tasks/DispForm.aspx?ID=359&ContentTypeId=0x0108003365C4474CAE8C42BCE396314E88E51F
Any one can suggest me please.
Thanks
RajeshHi,
I'm assuming you made your site as internet site (public facing).
In that case you might site desired output. If not you can think of replacing text
i.e SP2013 = hello.com
Thanks,
Vivek
Please vote or mark your question answered, if my reply helps you -
Adding SQL Server Express to Visual Studio 2013 Pro on Windows 10 Preview
I have installed VS 2013 Pro on Windows 10. I need to delevop unsing SQL Server Express. Do I download the full SQL Server 2012 Express Advanced (with full text search), or do I need only part of it? I was going to download the SQLEXPRADV_X64_ENU.exe.
Is this a good way to go?
Do I also need to download any other .net frameworks?
kciNDevHello,
Please read the following resources:
http://msdn.microsoft.com/en-us/library/ms233763.aspx
http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Visual Studio 2013 WP Emulator not working after adding more RAM
After a few days I installed VS 2013 on my laptop which had 3GB RAM and got notified by visual studio that I need at least 4 GB for hardware virtualization. Now I have 6GB RAM and Hyper-V restarted and VS still doesn't recognize my new RAM and doesn't give
me an option to run the WP emulator.
Did any of you had a problem/solution with this?Run MSInfo32.exe and post the System Summary results.
Also check them against the system requirements for Windows Phone emulators:
http://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
your votes for existing suggestions. -
Error when adding BI XMLA service as a web service in Visual Studio
I have Visual Studio 2003 and I am trying to add the XMLA web service via a URL using Add Web reference.
Visual Studio is able to locate the service and methods but I also get the following error message. Can anyone help with this issue. Thanks in advance for your assistance.
message in left panel indicates it found the methods
"MsXmlAnalysis" Description
Methods
Discover ( RequestType As string , Restrictions As , Properties As )
Execute ( Command As , Properties As PropertiesType )
actual error message in right panel
There was an error downloading 'http://bid01.citus.sharp.com:8000/sap/bw/xml/soap/xmla?sap-client=100'.
The request failed with the error message:
Moved Temporarily !DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"Hi,
Thanks for posting here.
Upgrading Web and Business Databases
Upgrading Web or Business databases to a new service tier/performance level does not take the database offline. The database will continue to work through the upgrade operation. At the time of the actual transition to the new performance level temporary
dropping of the connections to the database can happen for a very small duration (typically measured in seconds). If an application has transient fault handling for connection terminations then it is sufficient to protect against dropped connections at the
end of the upgrade.
Upgrading a Web or Business database to a new service tier involves the following steps:
Determine service tier based on feature capability
Determine an acceptable performance level based on historical resource usage
Why does existing performance for my Web or Business database map to the higher Premium levels?
Tuning your workload to fit a lower performance level
Upgrade to the new service tier/performance level
Monitor the upgrade to the new service tier/performance level
Monitor the database after the upgrade
Refer:
http://azure.microsoft.com/en-us/documentation/articles/sql-database-upgrade-new-service-tiers/
https://msdn.microsoft.com/en-us/library/azure/dn741336.aspx
Hope this helps you.
Girish Prajwal -
Visual Studio keeps adding SharePoint features when opening a solution
Hello everybody.
I'm facing a rather naughty problem. In a Windows 2012 environment (hosted inside an Azure virtual machine), with SharePoint installed, I created a VS SharePoint on-premise solution. I added a feature, and started adding lists, libraries, site columns, layout
pages and such. At one point, every time I added a new list definition, the VS would create me a new feature. Which is not what I wanted, so I manually deleted the new feature and added the list to the first feature. No matter how much I try, VS keeps adding
features instead of using the one I already got.
But that's a minor problem. After a while of adding lists, I did a check in to my TFS and closed the VS. After a couple of days, I open the VS again, and without a warning VS checked out the solution, checked out my only feature, removed the lists from it
and created one feature for each library. I ended up with feature2.feature, feature3.feature, ..., feature50.feature files!!! Insane!!! I had to manually delete them and re-add them to my first feature.
Now I can't turn VS off without having this mess all over again. Why on Earth would somebody program VS to do this? Is there any way to turn this behaviour off?
Thanks in advance!
[Edit] Forgot to mention that I'm working with Visual Studio 2013.
Fernando A. Gómez F.
fermasmas.wordpress.com
Galería de ejemplosHi Fernando,
Thank you for posting in MSND forum.
Based on your issue, could you please tell me what template sharepoint project you create in VS2013?
In addition, I find a similar thread about your issue, please refer the Xiaoying’s reply to check this issue.
http://stackoverflow.com/questions/25857722/visual-studio-unexpectedly-adding-feature-on-load
Or you could try to download a new sharepoint template in this VS2013 and then create it check if you still get the issue.
I suggest you could try to create a same sharepoint project template from VS2013 on another machine and then check this issue again.
If you have any update message, please feel free to let me know.
Best Regards,
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. -
Just installed Visual Studio express 2013. Start menu folder empty.
I just installed Visual Studio express 2013 For desktop. On to my windows 7, 64 bit laptop.
After it installs it asks you if you would like to launch the program. So I clicked launch. And it never launched.
Furthermore when I go Into my start menu. I find why the Visual Studio 2013 folder.
And it's empty.
So I went ahead and tried to reinstall Visual Studio express 2013.
After I reinstalled it I had to restart my computer. I have done that. And my start menu folder is still empty.
I have no way of finding the executable file for Visual Studio express 2013.
And if I could I'm not confident that it would launch.
I decided maybe I should uninstalled completely and reinstall it.
I went to control panel>uninstall a program.
I selected Microsoft Visual Studio express 2013.
And then I selected uninstall.
a window pops up that says. " Microsoft Visual Studio express 2013 for windows desktop has stopped working. A problem caused the program to stop working correctly . Windows will close the program and notify you if a solution is available.".
so I can't fully uninstall the program. And reinstalling the program doesn't help.
why is this happening. What do I do. How do I fix this?Hi HAL9090,
>>I find why the Visual Studio 2013 folder. And it's empty. And my start menu folder is still empty.
Do you mean that you can't find VS2013 in the start menu? Please click "All Programs" in the start menu to see if you can find it.
If you still can't find it, could you please tell us how you install it? From the web installer or by the downloaded setup file? If you have the ISO image, I suggest you verify its checksum. Perhaps you need to re-download one. If you have no one, please
download it from
Microsoft Visual Studio Express 2013 with Update 4 for Windows Desktop - English
DVD5 ISO image
The correct checksum is
4AE40D10B303C034F6D6230CE21F0295E5CD708C
You can download the
fciv.exe tool to verify the checksum.
Once it matches the correct one, please make sure that your windows is patched up and disable the anti-virus software. At last, install VS.
What's more, it seems that you can't uninstall VS2013. If you want to uninstall it, you can use the setup file to uninstall it. Please double click it to open it, then you can choose to uninstall it in the pop up dialog.
Best regards,
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. -
ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Dear friends,
Please help me with this scenario.Thanks so much for your help.
Task: ADDING A NEW ITEM IN THE CREDIT REQUEST DETAILS PAGE.
Need to create a new item on this page called "approver notes" (column notes).
Can this be achieved by personalization?
Scenario:
On credit request details page disputed invoice number, request date, status, bill to, ship to, etc are displayed.
When the status is "not approved”, item should be displayed along the "rejected" comment.
If the status is other than "not approved" then the item should not be displayed.what page is this ? are you sure it is a OAF page ?
If it is a OAF page, you would need to extend the controller to fire a partial action for the item and then control the display property of the comments field
Tapash -
Menu Actions: eventType question. JS
Hi,
(1) How would I add an eventListener for a given menu action that kicks
in when the menu is dismissed?
Eg
myMenuAction.addListener("onInvoke", function(){alert("Hello");});
adds a listener when it is invoked. But what would be the eventType for
"dismiss"?
(2) Where are the list of eventTypes documented?
Thanks,
Ariel[Jongware] wrote:
OT: Can anyone explain in simple terms what the "bubbleability" of events is all about?
Here's a 30 second crash course in events:
The basic concept to grock is the "box model".
Basically an app can be looked at as nested boxes -- boxes within boxes. In InDesign terms, the outermost box is the application, inside that is a document, inside that are layout windows. Inside that are all the objects.
UI Events generally have two phases. There's the capture phase and the bubbling phase.
When you click on something (for example), the click is "captured" from the outermost box inward. So it's first captured by the application, then the document, then the layout window, etc.
Once the click (or what-have-you) hit the target (i.e. a button or InDesign object), the event then bubbles back out. It starts at the innermost object and bubbles out to the outermost box (i.e. the application).
Theoretically, events can be attached to any box from the innermost one and outwards. If the event is recieved in the capture phase, the outer boxes will catch it first. If it's recieved in the bubbling phase, the inner boxes come first.
Let's say we have a "move" event on page items (which does not exist). We could theoretically add event listeners to the object itself (not possible because that level was never implemented), the page (also not possible), the window which holds the object, the document, or the application. If we attach listener to all the boxes, the innermost ones will be executed first. If bubbling can be canceled, the inner boxes can prevent the event from bubbling out to the outer boxes.
AFTER_CLOSE refers to windows or documents. The event can be attached to the app because it bubbles out to the app. Not that you can listen for an AFTER_CLOSE event for the app itself... -
"Untag Frame" menu action is invalid [CS5 Win XP]
Hi All,
var myMenuAction = app.menuActions.item("$ID/Untag Frame");
After launching my indesign Application by default "Untag Frame" menu action is invalid. After I select a text frame and right click it manually this is menu action gets valid.
If any work around through script itself, please suggest me.
Thanks,
Green4ever@Green4ever:
… but "Untag Frame" is a valid menu action. It is activated after you select any text frame and right cilck it. …
I can click it in the UI, but therefore it's not necessarily part of the menu actions.
Jongware's suggestion is working in my test case:
app.selection[0].associatedXMLElement.untag();
My suggestion for untagging is okay, if you want to use menu actions:
First select the object and then:
app.menuActions.itemByID(78612).invoke();
My test case consists of a single rectangle autotagged and selected.
If that is not working for you, I think we just need a test IDML for playing around…
Uwe -
Traversal of custom item menu icons in form
Here is one doubt for me
me created one menu design with customitem subclass creating background image with sprite class and menu icons over it as in mobile(grid view) using default method paint() g.drawImage();
and then appended this customitem to form. Now the problem is how to traverse among the custom item menu icons.
i am aware of traverse() and traverout() methods, but don't know how to enable it
Pls suggest me expecting a positive reply
Thanks
charles v cthis is the code that i use
import java.util.Vector;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.*;
import javax.microedition.io.*;
import java.io.*;
public class IconsTester implements CommandListener, ItemStateListener {
private Display display;
private Form mainForm;
private ChoiceGroup optionsGroup;
private int itemNum;
private Command CMD_NEXT= new Command("Next", Command.ITEM,
2);
private Command CMD_BACK= new Command("Back", Command.BACK,
1);
private Image newApp = null;
private Image viewApp = null;
private Image cancelApp = null;
public IconsTester(Display d, Form backF)
display = d;
mainForm = new Form("Appointments");
mainForm.append("Choose an action to be performed: ");
Image[] imageArray = null;
try {
newApp = Image.createImage("/success.png");
viewApp = Image.createImage("/search.png");
cancelApp = Image.createImage("/time.png");
imageArray = new Image[] { newApp, viewApp, cancelApp };
catch (java.io.IOException err) {
System.out.println(err);
mainForm.append(new Spacer(40,40));
mainForm.append(newApp);
mainForm.append(new Spacer(40,40));
mainForm.append(viewApp);
mainForm.append(new Spacer(40,40));
mainForm.append(cancelApp);*/
mainForm.addCommand(CMD_BACK);
mainForm.addCommand(CMD_NEXT);
mainForm.setCommandListener(this);
mainForm.setItemStateListener(this);
display.setCurrent(mainForm);
public void commandAction(Command c, Displayable s) {
if (c == CMD_BACK) {
display.setCurrent(Login.list);
else
mainForm.setItemStateListener(this);
public void itemStateChanged(Item item)
if( item.equals(newApp))
{ itemNum = 0;
new NewAppointment(display, mainForm);
else if( item.equals(viewApp))
{ itemNum = 2;
new NewAppointment(display, mainForm);
else if( item.equals(cancelApp))
{ itemNum = 1;
new NewAppointment(display, mainForm);
} -
Hi,
Is it possible to hide specific custom actions from list item menu for an XSLTListView webpart using CSR... The list has some custom actions created through SPD and we wanted to hide the out of the box list item menus. Could
someone please point me to some examples.. and what would be an alternative in case this is not possible.. jquery...?
Thanks
AnisreeIn the View Settings under the Filter option check "Show Items only when the following is true:"
Select the Expiry Date column for the "Show the items when column option".
Condition should be "is greater than", or "is greater than or equal to" if they don't expire until the end of the current day.
And for the value put [Today] including the square brackets.
Maybe you are looking for
-
Hi All, I am using iphone in UAE and ipad in India usinging same apple id. Earlier I could do imessage to my Ipad with different name but with software update,I am unable to do, as signing id for the iphone and ipad is same.How to restore back
-
Error in creating In bound delivery from PO
Dear all, i am creating In bound delivery from PO through VL31N. But, I am getting a error "Error while determining ref.mov.type for WM via Table 156S: 101/X/X/ / /X/ ". why this error coming and what s the solution for this? Thanks in advance. rega
-
Power button no longer works??
I have a macbook pro retina dis late 2013, when i first got the laptop the power button worked great, press it and it would give me the option to, restart/sleep/shutdown. Now since my 1yo boy started pressing buttons and caught me off guard it no lon
-
Suspend not working on Acer Aspire One AO751h
Hi everyone! New forum user here So, I did a fresh install of Arch on the Aspire One AO751h. I worked out pretty much everything I need except the suspend function. I have 2 main problems with it: A- If I close the lid, the netbook enters immediately
-
How to Get Exchange rates based on the date ?
Hi Friends, I have a table called "ZEXCH" with fields MANDT, BUDAT, WAERS, KURSF. This is a maintainable table .... (ie) user can keep on adding the Exchange rates for the currencies for a particular date.... My table contents are: MANDT BUDAT W