@@ -259,7 +259,7 @@ Creates a field with a defined value.
259
259
add_field(" <targetFieldName>" , " <fieldValue>" )
260
260
```
261
261
262
- [ Example in Playground] ( https://metafacture.org/playground/?example=add+field )
262
+ [ Example in Playground] ( https://metafacture.org/playground/?example=add_field )
263
263
264
264
##### ` array `
265
265
295
295
call_macro(" <macroName>" [, <dynamicLocalVariables>...])
296
296
```
297
297
298
- [ Example in Playground] ( https://metafacture.org/playground/?example=call+macro )
298
+ [ Example in Playground] ( https://metafacture.org/playground/?example=call_macro )
299
299
300
300
##### ` copy_field `
301
301
@@ -305,7 +305,7 @@ Copies a field from an existing field.
305
305
copy_field(" <sourceField>" , " <targetField>" )
306
306
```
307
307
308
- [ Example in Playground] ( https://metafacture.org/playground/?example=copy+field )
308
+ [ Example in Playground] ( https://metafacture.org/playground/?example=copy_field )
309
309
310
310
311
311
##### ` format `
@@ -340,7 +340,7 @@ Moves a field from an existing field. Can be used to rename a field.
340
340
move_field(" <sourceField>" , " <targetField>" )
341
341
```
342
342
343
- [ Example in Playground] ( https://metafacture.org/playground/?example=move+field )
343
+ [ Example in Playground] ( https://metafacture.org/playground/?example=move_field )
344
344
345
345
346
346
##### ` parse_text `
@@ -425,7 +425,7 @@ Removes a field.
425
425
remove_field(" <sourceField>" )
426
426
```
427
427
428
- [ Example in Playground] ( https://metafacture.org/playground/?example=remove+field )
428
+ [ Example in Playground] ( https://metafacture.org/playground/?example=remove_field )
429
429
430
430
##### ` rename `
431
431
@@ -456,7 +456,7 @@ set_array("<targetFieldName>")
456
456
set_array(" <targetFieldName>" , " <value_1>" [, ...])
457
457
```
458
458
459
- [ Example in Playground] ( https://metafacture.org/playground/?example=set+array )
459
+ [ Example in Playground] ( https://metafacture.org/playground/?example=set_array )
460
460
461
461
##### ` set_field `
462
462
@@ -601,7 +601,7 @@ Joins an array of strings into a single string.
601
601
join_field(" <sourceField>" , " <separator>" )
602
602
```
603
603
604
- [ Example in Playground] ( https://metafacture.org/playground/?example=join+field )
604
+ [ Example in Playground] ( https://metafacture.org/playground/?example=join_field )
605
605
606
606
##### ` lookup `
607
607
@@ -680,7 +680,7 @@ Replaces a regular expression pattern in field values with a replacement string.
680
680
replace_all(" <sourceField>" , " <regexp>" , " <replacement>" )
681
681
```
682
682
683
- [ Example in Playground] ( https://metafacture.org/playground/?example=replace+all )
683
+ [ Example in Playground] ( https://metafacture.org/playground/?example=replace_all )
684
684
685
685
##### ` reverse `
686
686
@@ -700,7 +700,7 @@ sort_field("<sourceField>", reverse: "true")
700
700
sort_field(" <sourceField>" , numeric: " true" )
701
701
```
702
702
703
- [ Example in Playground] ( https://metafacture.org/playground/?example=sort+field )
703
+ [ Example in Playground] ( https://metafacture.org/playground/?example=sort_field )
704
704
705
705
##### ` split_field `
706
706
@@ -710,7 +710,7 @@ Splits a string into an array and replaces the field value with this array.
710
710
split_field(" <sourceField>" , " <separator>" )
711
711
```
712
712
713
- [ Example in Playground] ( https://metafacture.org/playground/?example=split+field )
713
+ [ Example in Playground] ( https://metafacture.org/playground/?example=split_field )
714
714
715
715
##### ` substring `
716
716
@@ -817,7 +817,7 @@ do list(path: "<sourceField>")
817
817
end
818
818
```
819
819
820
- [ Example in Playground] ( https://metafacture.org/playground/?example=do+list )
820
+ [ Example in Playground] ( https://metafacture.org/playground/?example=do_list )
821
821
822
822
Only the current element is accessible in this case (as the root element).
823
823
@@ -829,7 +829,7 @@ do list(path: "<sourceField>", "var": "<variableName>")
829
829
end
830
830
```
831
831
832
- [ Example in Playground] ( https://metafacture.org/playground/?example=do+list+with+var )
832
+ [ Example in Playground] ( https://metafacture.org/playground/?example=do_list_with_var )
833
833
834
834
#### ` do list_as `
835
835
@@ -864,7 +864,7 @@ do once()
864
864
end
865
865
```
866
866
867
- [ Example in Playground] ( https://metafacture.org/playground/?example=do+once )
867
+ [ Example in Playground] ( https://metafacture.org/playground/?example=do_once )
868
868
869
869
In order to execute multiple blocks only once, tag them with unique identifiers:
870
870
902
902
call_macro(" <macroName>" [, <dynamicLocalVariables>...])
903
903
```
904
904
905
- [ Example in Playground] ( https://metafacture.org/playground/?example=do+put+macro )
905
+ [ Example in Playground] ( https://metafacture.org/playground/?example=do_put_macro )
906
906
907
907
### Conditionals
908
908
0 commit comments