RibbonWorkbench
RibbonWorkbench copied to clipboard
Smart Button: Quick JS
Just like how the smart buttons magically show up using the manifest, would it be possible for JavaScript functions to be exposed to the Quick JS button, so that a non-technical user can select it from a drop down? What is you opinion?
a. Create a new solution with smart buttons for people to import OR b. Create a new solution with specially decorated JS that people can select in the Quick JS smart button
~~Can you please share some documentation on how the manifest is generated and manifest schema vsdoc for VS intellisense?~~ Figured this out.
Do you have any specific use cases in mind for this?
BTW - the manifest uses the same JSON as the clipboard in the Ribbon Workbench.
Currently there is a "Title" and "Javascript Code" textboxes for Quick JS smart button. There is a chance that I might enter some code with errors. Instead of this I can just pick from a drop down of meaniful names (like custom workflow step), it will make it more use friendly. It is still going to run an underlying JavaScript code, but it will be easier for people to add some logic into a button without having to write JavaScript.
Currently there are lot of custom workflow assembly solutions floating around and they are relatively simple for a non-technical user to add this custom workflow step to their workflow. Smart buttons is a step in the right direction in this regard. Having third party devs to release JavaScript helper functions to achieve some functionalities should enhance the useability of the "Quick JS" smart button.
What do you think? I have suggested a similar functionality for business rules -> https://connect.microsoft.com/site687/feedback/details/1201767/actions-equivalent-for-business-rules so it is along the same line.