Skip to content

Commit ba4c9da

Browse files
authored
Merge pull request #179 from mulesoft/W-11585544-update-studio-version-1.1
W-11585544: Update Studio version
2 parents f053a87 + fa26bc6 commit ba4c9da

14 files changed

Lines changed: 40 additions & 40 deletions

modules/ROOT/pages/dataweave-examples.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,7 +2095,7 @@ See more XML reader and writer properties on xref:dataweave-formats.adoc#xml[Dat
20952095
20962096
== Configure CSV Reader
20972097
2098-
DataWeave supports CSV inputs and outputs, by configuring the reader and writer properties, you can adapt it to different conventions regarding separations, line breaks, etc. Other formats also allow for this kind of configuration. See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation] for how to do this on the UI, or look at the xref:dataweave-xml-reference.adoc#reader-configuration[DataWeave XML Reference] for the required XML syntax. You can also see a full reference of the reader properties available with CSV format on xref:dataweave-formats.adoc#csv[DataWeave formats].
2098+
DataWeave supports CSV inputs and outputs, by configuring the reader and writer properties, you can adapt it to different conventions regarding separations, line breaks, etc. Other formats also allow for this kind of configuration. See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation] for how to do this on the UI, or look at the xref:dataweave-xml-reference.adoc#reader-configuration[DataWeave XML Reference] for the required XML syntax. You can also see a full reference of the reader properties available with CSV format on xref:dataweave-formats.adoc#csv[DataWeave formats].
20992099
21002100
Reader properties are set as part of the XML `dw:transform-message` component, whilst writer properties are specified in the DataWeave code itself, as part of the output directive. You can see a full reference to the writer properties available with CSV format on xref:dataweave-formats.adoc#writer-properties[DataWeave formats].
21012101
@@ -2948,7 +2948,7 @@ Based on a mapping definition, stored for instance in a DB table, you can dynami
29482948
29492949
29502950
[NOTE]
2951-
Note that for this example to work, on the payload input you must set the reader configuration so that the 'nullValueOn' attribute is "empty". See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
2951+
Note that for this example to work, on the payload input you must set the reader configuration so that the 'nullValueOn' attribute is "empty". See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
29522952
29532953
=== Example Transformation
29542954
@@ -3155,7 +3155,7 @@ payload.results map
31553155
== See Also
31563156
31573157
* xref:dataweave-quickstart.adoc[DataWeave quickstart guide]
3158-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
3158+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
31593159
* xref:dataweave-language-introduction.adoc[DataWeave Language Introduction]
31603160
* xref:dataweave-operators.adoc[DataWeave Operators]
31613161
* xref:dataweave-types.adoc[DataWeave Types]

modules/ROOT/pages/dataweave-flat-file-schemas.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ endif::[]
77

88
include::partial$eol-warning.adoc[]
99

10-
DataWeave enables you to process several different xref:dataweave-formats.adoc[types of data]. For most of these types, you can import a schema that describes the input structure in order to have access to valuable metadata at design time. See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
10+
DataWeave enables you to process several different xref:dataweave-formats.adoc[types of data]. For most of these types, you can import a schema that describes the input structure in order to have access to valuable metadata at design time. See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
1111

1212
DataWeave uses a YAML format called *FFD (for Flat File Definition)* to represent flat file schemas. The FFD format is very flexible to support a range of use cases, but is based around the concepts of *elements*, *composites*, *segments*, *groups* and *structures*.
1313

1414

1515
Schemas must be written in Flat File Schema Language, with a *.ffs* extension. This language is very similar to EDI Schema Language (ESL), which is also accepted by Anypoint Studio.
1616

17-
On DataWeave, you can bind your input or your output to a flat file schema through a property. See xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component] for instructions on how to do this through the Studio UI. If you want to do this through code, see xref:dataweave-formats.adoc#flat-file[DataWeave formats] for more information, and keep in mind that the way these properties are set depends on if you're defining the input or the output.
17+
On DataWeave, you can bind your input or your output to a flat file schema through a property. See xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component] for instructions on how to do this through the Studio UI. If you want to do this through code, see xref:dataweave-formats.adoc#flat-file[DataWeave formats] for more information, and keep in mind that the way these properties are set depends on if you're defining the input or the output.
1818

1919

2020
[TIP]
2121
====
22-
If you intend to use a fixed-width format, you can set up your structure directly through an editor in the UI of the Transform Message component, that makes this a lot easier, just select the `Fixed Width` type. See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
22+
If you intend to use a fixed-width format, you can set up your structure directly through an editor in the UI of the Transform Message component, that makes this a lot easier, just select the `Fixed Width` type. See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
2323
====
2424

2525

modules/ROOT/pages/dataweave-formats.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ In the Transform Message component, you can define a Java type through the follo
7373
* By Providing a sample object
7474

7575
[TIP]
76-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
76+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
7777

7878
== CSV
7979

@@ -162,7 +162,7 @@ Or via the UI of the Transform Message component:
162162

163163
image::dataweave-formats-580be.png[]
164164

165-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
165+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
166166

167167

168168

@@ -202,7 +202,7 @@ In the Transform Message component, you can define a CSV type through the follow
202202
image::dataweave-formats-4a556.png[]
203203

204204
[TIP]
205-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
205+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
206206

207207

208208

@@ -285,7 +285,7 @@ Or via the UI of the Transform Message component:
285285
image::dataweave-formats-excell-reader.png[]
286286

287287

288-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
288+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
289289

290290

291291

@@ -320,7 +320,7 @@ image::dataweave-formats-excel-metadata.png[]
320320

321321

322322
[TIP]
323-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
323+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
324324

325325

326326
== XML
@@ -396,7 +396,7 @@ Or via the UI of the Transform Message component:
396396

397397
image::dataweave-formats-6e5e4.png[]
398398

399-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
399+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
400400

401401

402402
=== Writer Properties
@@ -465,7 +465,7 @@ In the Transform Message component, you can define a XML type through the follow
465465
* By pointing to a schema file
466466

467467
[TIP]
468-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
468+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
469469

470470
=== Custom Types
471471

@@ -546,7 +546,7 @@ In the Transform Message component, you can define a JSON type through the follo
546546
* By pointing to a schema file
547547

548548
[TIP]
549-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
549+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
550550

551551

552552

@@ -594,7 +594,7 @@ These properties can be either set via the XML of your Mule project:
594594

595595
Or via the UI of the Transform Message component
596596

597-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
597+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
598598

599599
[NOTE]
600600
Schemas with type `Binary` or `Packed` don't allow for line breaks to be detected, so setting `recordParsing` to "lenient"` will only allow long records to be handled, but not short ones. These schemas also currently only work with certain single-byte character encodings (so not with UTF-8 or any multibyte format).
@@ -641,7 +641,7 @@ In the Transform Message component, you can define a Flat File type through the
641641
* By pointing to a schema file
642642

643643
[TIP]
644-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
644+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
645645

646646

647647

@@ -690,7 +690,7 @@ These properties can be either set via the XML of your Mule project:
690690

691691
Or via the UI of the Transform Message component
692692

693-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
693+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
694694

695695
=== Writer Properties
696696

@@ -737,7 +737,7 @@ In the Transform Message component, you can define a Fixed Width type through th
737737
image::dataweave-formats-27b3c.png[]
738738

739739
[TIP]
740-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
740+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
741741

742742

743743

@@ -851,7 +851,7 @@ These properties can be either set via the XML of your Mule project:
851851

852852
Or via the UI of the Transform Message component
853853

854-
See xref:6@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
854+
See xref:6.x@studio::input-output-structure-transformation-studio-task.adoc[To Define Input and Output Structure of a Transformation].
855855

856856
[NOTE]
857857
Schemas with type `Binary` or `Packed` don't allow for line breaks to be detected, so setting `recordParsing` to "lenient"` will only allow long records to be handled, but not short ones. These schemas also currently only work with certain single-byte character encodings (so not with UTF-8 or any multibyte format).
@@ -904,7 +904,7 @@ See xref:dataweave-flat-file-schemas.adoc[Flat File Schemas] for more detailed i
904904
== See Also
905905

906906
* xref:dataweave-quickstart.adoc[DataWeave Quickstart Guide]
907-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
907+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
908908
* xref:dataweave-language-introduction.adoc[DataWeave Language Introduction]
909909
* xref:dataweave-operators.adoc[DataWeave Operators]
910910
* xref:dataweave-types.adoc[DataWeave Types]

modules/ROOT/pages/dataweave-language-introduction.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include::partial$eol-warning.adoc[]
99

1010
The DataWeave language is a powerful template engine that allows you to transform data to and from any kind of format (XML, CSV, JSON, Pojos, Maps, etc). In Anypoint Studio, this language can be used in:
1111

12-
* The *Transform Message Component*, described in xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
12+
* The *Transform Message Component*, described in xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
1313
* Any Mule component that accepts Mule Expression Language, through xref:3.8@mule-runtime::mel-dataweave-functions.adoc[MEL DataWeave Functions]
1414
1515
@@ -1277,6 +1277,6 @@ Likewise, whenever you transform from XML to JSON, make sure the resulting outpu
12771277
== See Also
12781278

12791279
* xref:dataweave-quickstart.adoc[DataWeave quickstart guide]
1280-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
1280+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
12811281
* xref:dataweave-examples.adoc[DataWeave Examples]
12821282
* xref:3.8@mule-runtime::mel-dataweave-functions.adoc[MEL DataWeave Functions]

modules/ROOT/pages/dataweave-memory-management.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ org.mule.transport.file.FileConnector: Writing file to: /Users/josh/output/input
102102
== See Also
103103

104104
* xref:dataweave-quickstart.adoc[DataWeave quickstart guide]
105-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
105+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
106106
* xref:dataweave-language-introduction.adoc[DataWeave Language Introduction]
107107
* xref:dataweave-operators.adoc[DataWeave Operators]
108108
* xref:dataweave-types.adoc[DataWeave Types]

modules/ROOT/pages/dataweave-migrator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ endif::[]
77

88
include::partial$eol-warning.adoc[]
99

10-
If you have projects that are built with the deprecated xref:6@studio::datamapper-user-guide-and-reference.adoc[DataMapper], a migration tool is now included in Studio, which assists in converting a DataMapper map to DataWeave. This tool doesn't replace the original DataMapper in your flow, it creates a new equivalent DataWeave component next to it. The old DataMapper component is left in its place so that you can compare both as they sit next to each other on your flow, but you must then delete it for the flow to be executable.
10+
If you have projects that are built with the deprecated xref:6.x@studio::datamapper-user-guide-and-reference.adoc[DataMapper], a migration tool is now included in Studio, which assists in converting a DataMapper map to DataWeave. This tool doesn't replace the original DataMapper in your flow, it creates a new equivalent DataWeave component next to it. The old DataMapper component is left in its place so that you can compare both as they sit next to each other on your flow, but you must then delete it for the flow to be executable.
1111

1212
[NOTE]
1313
This migration tool is still in beta phase.

modules/ROOT/pages/dataweave-operators.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2763,7 +2763,7 @@ You can change the format of a date to fit another standard, see <<Coerce to dat
27632763
== See Also
27642764

27652765
* xref:dataweave-quickstart.adoc[DataWeave quickstart guide]
2766-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
2766+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
27672767
* xref:dataweave-language-introduction.adoc[DataWeave Language Introduction]
27682768
* xref:dataweave-types.adoc[DataWeave Types]
27692769
* xref:dataweave-formats.adoc[DataWeave Formats]

modules/ROOT/pages/dataweave-quickstart.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ image::dataweave-quickstart-set-payload.png[]
165165

166166
== Phase 2 - Map Input Fields to Output Fields
167167

168-
Use the xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component] to create the actual mapping between the input and output fields. Simply click and drag a field in the input side to a field in the output side. The most obvious task is to match similarly named fields together, thus helping to validate the output data:
168+
Use the xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component] to create the actual mapping between the input and output fields. Simply click and drag a field in the input side to a field in the output side. The most obvious task is to match similarly named fields together, thus helping to validate the output data:
169169

170170
** `address` and `address1`
171171
** `city` and `city`
@@ -528,7 +528,7 @@ If you open the *Preview* section, you can see what this transform would output,
528528
== See Also
529529

530530
* More advanced examples in xref:dataweave-examples.adoc[DataWeave Examples]
531-
* xref:6@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
531+
* xref:6.x@studio::transform-message-component-concept-studio.adoc[About Transform Message Component]
532532
* xref:dataweave-language-introduction.adoc[DataWeave Language Introduction]
533533
* xref:dataweave-operators.adoc[DataWeave Operators]
534534
* xref:dataweave-types.adoc[DataWeave Types]

modules/ROOT/pages/dataweave-reference-documentation.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ Valid types are:
305305

306306
When defining an input of type CSV, there are a few optional parameters you can add to the input directive to customize how the data is parsed. These are not defined in the DataWeave script but on the Mule XML code, in the Transform Message XML element.
307307

308-
In Anypoint Studio there are two ways to achieve this. You can either manually add the attributes to the project's XML, or do it through the graphical interface, by selecting the element from the tree view in the input section and clicking the gear icon. See xref:5@studio::using-dataweave-in-studio.adoc#parsing-csv-inputs[Using DataWeave in Studio] for more details.
308+
In Anypoint Studio there are two ways to achieve this. You can either manually add the attributes to the project's XML, or do it through the graphical interface, by selecting the element from the tree view in the input section and clicking the gear icon. See xref:5.x@studio::using-dataweave-in-studio.adoc#parsing-csv-inputs[Using DataWeave in Studio] for more details.
309309

310310
==== Output Directive
311311

@@ -3476,7 +3476,7 @@ c: |2003-10-01T23:57:59Z| + |P1Y|
34763476

34773477
Your DataWeave code can call any function you define as a global xref:3.7@mule-runtime::mule-expression-language-mel.adoc[Mule Expression Language (MEL)] function, as long as it is correctly defined in the Mule Project where your Transform Message element sits.
34783478

3479-
Refer to xref:5@studio::using-dataweave-in-studio.adoc#calling-global-mel-functions-from-dataweave-code[Using DataWeave in Studio].
3479+
Refer to xref:5.x@studio::using-dataweave-in-studio.adoc#calling-global-mel-functions-from-dataweave-code[Using DataWeave in Studio].
34803480

34813481
== Object
34823482

@@ -4059,7 +4059,7 @@ books: payload.items.*item map
40594059
}
40604060
----
40614061

4062-
In Anypoint Studio, you can define several more values, like separators, quote characters and escape characters. See xref:5@studio::using-dataweave-in-studio.adoc#configuring-the-csv-reader[Using DataWeave in Studio].
4062+
In Anypoint Studio, you can define several more values, like separators, quote characters and escape characters. See xref:5.x@studio::using-dataweave-in-studio.adoc#configuring-the-csv-reader[Using DataWeave in Studio].
40634063

40644064
== Functions and Lambdas
40654065

@@ -4220,6 +4220,6 @@ You can reference any *Property* (System or Spring) that exists in the server wh
42204220

42214221
== See Also
42224222

4223-
* xref:5@studio::using-dataweave-in-studio.adoc[Using DataWeave in Studio]
4223+
* xref:5.x@studio::using-dataweave-in-studio.adoc[Using DataWeave in Studio]
42244224
* xref:dataweave-examples.adoc[DataWeave Examples]
42254225
* https://www.mulesoft.com/platform/studio[Anypoint Studio]

0 commit comments

Comments
 (0)