• <1 minute

Create and Edit DocumentDB Server Side Scripts in the Azure Preview Portal

The DocumentDB Script Explorer now supports creating, editing, and deleting stored procedures, user-defined functions, and triggers!

The DocumentDB Script Explorer now supports creating, editing, and deleting stored procedures, user-defined functions, and triggers! You can read more about DocumentDB server side programming here. Now, let’s get started with the new functionality.  Within Script Explore, click the applicable command depending on the type of script you wish to create.   ScriptExplorer Provide an id for the script, copy or paste the contents, and click Save.   New Stored Procedure   When creating a trigger, there are two additional properties that you can specify: trigger type and trigger operation.   New Trigger   To edit an existing script, simply select it, make the desired modifications and choose save.  Use the delete command to delete an existing script and the properties command to view the system properties of the currently selected script.   Validate Document Contents As always, we’d love to hear from you about the DocumentDB features and experiences you would find most valuable within the Azure portal.  Please submit your suggestions on the Microsoft Azure DocumentDB feedback forum.  If you haven’t tried DocumentDB yet, then get started here.