we are having a requirement,when we click on a button in SharePoint page,we need to trigger workflow...

Can any one help on this how we can achieve this functionality


What does the PowerShell script do? This seems like a very convulted way of approaching the problem; anything you can do in PowerShell you can do in a C# assembly called from the custom page.

Why don't you take a look at this tutorial? https://msdn.microsoft.com/en-us/library/ee231557.aspx

Then you can convert your powershell code to C# and execute it from an ASP button click.


There are several ways you could achieve this.

Designer way.

or fiddling with code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.