dev-resources.site
for different kinds of informations.
How to move your code from the DataWeave Playground to Visual Studio Code
Published at
2/8/2023
Categories
dataweave
visualstudiocode
programming
tutorial
Author
devalexmartinez
Author
15 person written this
devalexmartinez
open
This is intended as a short guide. For detailed instructions + video, please see this article.
Set up Visual Studio Code
- Install Visual Studio Code.
- Install Java 8 and Maven (3.6.3 or higher).
- Install the DataWeave extension for Visual Studio Code.
Export/open the code
- From the Playground, click on Export.
- Extract the .zip file.
- Open this folder from VSCode File > Open Folder.
Configure the layout
- Open the input file from
src/test/resources/main/Playground/inputs
. - Open the
main.dwl
file fromsrc/main/dw
. - From the
main
file, click Run Preview. - Drag-and-drop the layout as you wish.
- From the
main
file, right-click on the canvas and select DataWeave: Enable AutoPreview for the same functionality as the Playground.
dataweave Article's
7 articles in total
Using time() and duration() in DataWeave for performance check
read article
Main difference between 'do' and 'using' operators in DataWeave
read article
Develop your Battlesnake using a MuleSoft API & DataWeave with this starter project
read article
How to generate shareable link examples from GitHub to open in the DataWeave Playground
read article
How to move your code from the DataWeave Playground to Visual Studio Code
currently reading
DataWeave: accept lambda as parameter of a function
read article
How to access Secure Properties in DataWeave 2.0
read article
Featured ones: