Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
289 commits
Select commit Hold shift + click to select a range
ecdf7ad
Update managing-formulas.md
mouna-elmaazouzi Aug 28, 2025
4921ab7
New Crowdin updates (#2883)
arnaud4d Aug 28, 2025
bfdfb0d
time negative
arnaud4d Aug 28, 2025
9b6d597
removed links r10
arnaud4d Aug 28, 2025
8b26d82
New Crowdin updates (#2884)
arnaud4d Aug 29, 2025
95e3f66
icu update 21 + index rebuild
arnaud4d Aug 29, 2025
6830050
New Crowdin updates (#2885)
arnaud4d Sep 1, 2025
dc43f5d
highlight records
arnaud4d Sep 1, 2025
23d238d
Update updates.md
arnaud4d Sep 1, 2025
018e30b
fixed throw
arnaud4d Sep 1, 2025
57c8780
Update highlight-text.md
arnaud4d Sep 1, 2025
6faeda2
fix typo
arnaud4d Sep 1, 2025
5c89818
Update highlight-text.md (#2886)
sandritica Sep 2, 2025
8ea472c
New Crowdin updates (#2887)
arnaud4d Sep 2, 2025
5d5ab7f
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Sep 2, 2025
2f0369d
fix
arnaud4d Sep 2, 2025
138ac34
Feature/promote process (#2888)
arnaud4d Sep 3, 2025
71c584a
New Crowdin updates (#2889)
arnaud4d Sep 3, 2025
de503ea
update z libs
arnaud4d Sep 3, 2025
ba2aad9
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Sep 3, 2025
4c635a9
New Crowdin updates (#2866)
arnaud4d Aug 8, 2025
c7a3379
New Crowdin updates (#2869)
arnaud4d Aug 11, 2025
37f5215
fixed links in command legacy
arnaud4d Aug 11, 2025
1240cae
New Crowdin updates (#2871)
arnaud4d Aug 13, 2025
66117ca
New Crowdin updates (#2873)
arnaud4d Aug 18, 2025
0c594c9
New Crowdin updates (#2874)
arnaud4d Aug 20, 2025
bcd18f8
New Crowdin updates (#2875)
arnaud4d Aug 21, 2025
b444e10
New Crowdin updates (#2876)
arnaud4d Aug 22, 2025
ee22a48
fix links
arnaud4d Aug 22, 2025
0f33863
New Crowdin updates (#2878)
arnaud4d Aug 25, 2025
39d7975
New Crowdin updates (#2879)
arnaud4d Aug 26, 2025
8691356
blog posts ref
arnaud4d Aug 26, 2025
8eaf440
New Crowdin updates (#2880)
arnaud4d Aug 27, 2025
5e9b81f
New Crowdin updates (#2883)
arnaud4d Aug 28, 2025
039629f
icu update 21 + index rebuild
arnaud4d Aug 29, 2025
4c2f3a7
New Crowdin updates (#2885)
arnaud4d Sep 1, 2025
2444930
highlight records
arnaud4d Sep 1, 2025
f96035b
Update updates.md
arnaud4d Sep 1, 2025
c410fda
fixed throw
arnaud4d Sep 1, 2025
1b336f5
Update highlight-text.md
arnaud4d Sep 1, 2025
0878422
fix typo
arnaud4d Sep 1, 2025
54b5d32
Update highlight-text.md (#2886)
sandritica Sep 2, 2025
5646fdf
New Crowdin updates (#2887)
arnaud4d Sep 2, 2025
787fe88
fix
arnaud4d Sep 2, 2025
23fb1f9
update z libs
arnaud4d Sep 3, 2025
c639734
Feature/promote process (#2888)
arnaud4d Sep 3, 2025
f7832e6
New Crowdin updates (#2889)
arnaud4d Sep 3, 2025
67d833a
Merge branch 'tempo2'
arnaud4d Sep 3, 2025
9726566
Revert "Merge branch 'tempo2'"
arnaud4d Sep 3, 2025
b3591a2
Reapply "Merge branch 'tempo2'"
arnaud4d Sep 3, 2025
841a395
fixes
arnaud4d Sep 3, 2025
1fb686a
Update highlight-text.md (#2891)
nobuteshima Sep 4, 2025
9af1339
Update picture-library-list.md (#2892)
nobuteshima Sep 4, 2025
704adc3
wasa out
arnaud4d Sep 4, 2025
7946514
New Crowdin updates (#2893)
arnaud4d Sep 4, 2025
b8a9e75
$old
arnaud4d Sep 4, 2025
97b8811
Update webServer.md
arnaud4d Sep 4, 2025
02a5f95
Update set-picture-to-library.md (#2894)
nobuteshima Sep 5, 2025
b63fa74
Update get-picture-from-library.md (#2896)
nobuteshima Sep 5, 2025
fcc57e2
Update remove-picture-from-library.md (#2895)
nobuteshima Sep 5, 2025
6c9bac3
New Crowdin updates (#2897)
arnaud4d Sep 5, 2025
e6fe299
Merge branch 'main' into main
arnaud4d Sep 5, 2025
7b50c48
Feature/query vector (#2898)
arnaud4d Sep 8, 2025
898bbda
New Crowdin updates (#2899)
arnaud4d Sep 8, 2025
f966d5e
updated see alsos
arnaud4d Sep 8, 2025
a90871f
added see also
arnaud4d Sep 8, 2025
f669538
Update AIKit doc doc asynchronous stuff
e-marchand Sep 8, 2025
a580f3d
fixed On Web connection syntax
arnaud4d Sep 8, 2025
eca6b51
New Crowdin updates (#2900)
arnaud4d Sep 9, 2025
42fc946
fixes in action info
arnaud4d Sep 9, 2025
ad44e4e
New Crowdin updates (#2901)
arnaud4d Sep 9, 2025
d45e3e0
added wasNotLocked
arnaud4d Sep 9, 2025
d0c59ae
added data collection update for 4D 21 (#2902)
arnaud4d Sep 9, 2025
9040370
Update data-collect.md
arnaud4d Sep 9, 2025
b3758a5
New Crowdin updates (#2903)
arnaud4d Sep 10, 2025
750163f
New Crowdin updates (#2904)
arnaud4d Sep 10, 2025
37ed4dc
New Crowdin updates (#2905)
arnaud4d Sep 11, 2025
85a29b0
New Crowdin updates (#2906)
arnaud4d Sep 12, 2025
5b34848
Update json-validate.md (#2909)
nobuteshima Sep 12, 2025
6239851
Update json-validate.md (#2908)
nobuteshima Sep 12, 2025
4e6f868
Update json-validate.md (#2907)
nobuteshima Sep 12, 2025
300c4cd
Update README.md
arnaud4d Sep 12, 2025
7ee83b5
fixes
arnaud4d Sep 15, 2025
0c2388f
aikit fix
arnaud4d Sep 16, 2025
a4a70cf
Feature/store certificate (#2911)
arnaud4d Sep 16, 2025
c9ed4f9
Writepro/user legacy import (#2910)
mouna-elmaazouzi Sep 16, 2025
28896fb
Update updates.md
arnaud4d Sep 16, 2025
3cdde7f
Update updates.md
arnaud4d Sep 16, 2025
3249f3a
New Crowdin updates (#2912)
arnaud4d Sep 16, 2025
61ec97e
Update Crowdin configuration file
arnaud4d Sep 18, 2025
29fcd1d
New/homepage (#2914)
arnaud4d Sep 18, 2025
f75f311
Update create-deployment-license.md
mouna-elmaazouzi Sep 18, 2025
c82754b
link fix in create-deployment-license.md
mouna-elmaazouzi Sep 18, 2025
7a575bf
link fix ./using-4d-write-pro-standard-actions.md
mouna-elmaazouzi Sep 19, 2025
bf1e9f8
french page titles fix in WritePro
mouna-elmaazouzi Sep 19, 2025
c08e028
table and links fix in WritePro user-legacy
mouna-elmaazouzi Sep 19, 2025
6e440ba
Merge branch 'main' into main
arnaud4d Sep 19, 2025
d4c3657
sidebar & title
arnaud4d Sep 19, 2025
fb9c30a
fixes call can
arnaud4d Sep 19, 2025
7ba0ff5
New Crowdin updates (#2924)
arnaud4d Sep 22, 2025
3f1e03c
links to 4DWP Attributes
arnaud4d Sep 22, 2025
5e4ae8d
Update code.json
arnaud4d Sep 22, 2025
51ea5b6
slugs
arnaud4d Sep 22, 2025
f41cc6e
added wk container and info about bookmarks
arnaud4d Sep 22, 2025
e3b27f5
fixed qodly links
arnaud4d Sep 22, 2025
d111c45
fix container
arnaud4d Sep 22, 2025
c54daa3
New Crowdin updates (#2925)
arnaud4d Sep 23, 2025
ce90943
Update log-event.md (#2923)
sandritica Sep 23, 2025
b856d44
Update post-outside-call.md (#2922)
sandritica Sep 23, 2025
3b99b66
Update post-key.md (#2921)
sandritica Sep 23, 2025
8709b12
Update delay-process.md (#2920)
sandritica Sep 23, 2025
eeb17e8
Update open-database.md (#2919)
sandritica Sep 23, 2025
4b25280
properties
arnaud4d Sep 23, 2025
b93fe61
Feature/create component from host (#2927)
mouna-elmaazouzi Sep 23, 2025
9beaaa2
added links and ids
arnaud4d Sep 23, 2025
1bd1658
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Sep 23, 2025
156ad3c
New Crowdin updates (#2926)
arnaud4d Sep 23, 2025
cd5698b
New Crowdin updates (#2928)
arnaud4d Sep 24, 2025
dbad03f
New Crowdin updates (#2929)
arnaud4d Sep 25, 2025
171530d
Writepro/cherrypick slugsfix (#2931)
mouna-elmaazouzi Sep 25, 2025
6f2b565
Feature/published components (#2932)
arnaud4d Sep 25, 2025
16b2eeb
after closure dependencies
arnaud4d Sep 25, 2025
d811913
New Crowdin updates (#2933)
arnaud4d Sep 26, 2025
e75662e
New Crowdin updates (#2934)
arnaud4d Sep 29, 2025
e68f81f
fix links components
arnaud4d Sep 29, 2025
fd2c863
New Crowdin updates (#2935)
arnaud4d Sep 30, 2025
87a61e6
Update 4d-write-pro-attributes.md (#2936)
nobuteshima Sep 30, 2025
e711be7
Update wp-new-bookmark.md (#2937)
nobuteshima Sep 30, 2025
dc3f54d
Update using-a-4d-write-pro-area.md (#2941)
nobuteshima Sep 30, 2025
e4a69db
Update wp-new-bookmark.md (#2940)
nobuteshima Sep 30, 2025
f1d5429
Update 4d-write-pro-attributes.md (#2939)
nobuteshima Sep 30, 2025
b400b9b
ready to generate (#2938)
arnaud4d Sep 30, 2025
599ad72
FR fixed syntax, up to Record locking
arnaud4d Sep 30, 2025
0cedf71
New Crowdin updates (#2942)
arnaud4d Oct 1, 2025
b30611e
new build4d location
arnaud4d Oct 1, 2025
b75e0c7
fixed open form window example 4
arnaud4d Oct 1, 2025
c3c8e21
updates boringssl and ngtcp2
arnaud4d Oct 1, 2025
4aa39bc
fixes in FR syntaxes
arnaud4d Oct 1, 2025
bf3bf0e
Delete Database_Methods.md
arnaud4d Oct 1, 2025
b3e7b20
New Crowdin updates (#2943)
arnaud4d Oct 2, 2025
cecf5af
New Crowdin updates (#2944)
arnaud4d Oct 2, 2025
5e80abd
Feature/sign license (#2945)
arnaud4d Oct 2, 2025
0a777c9
Update Installation.md
arnaud4d Oct 2, 2025
9debbdc
Feature/published components (#2946)
arnaud4d Oct 2, 2025
a50d278
fixes in web
arnaud4d Oct 2, 2025
6ec8fa3
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 2, 2025
7c1d9bb
New Crowdin updates (#2947)
arnaud4d Oct 3, 2025
877fd89
removed old files
arnaud4d Oct 3, 2025
8bb9f4a
Feature/aikit/tools response (#2948)
arnaud4d Oct 3, 2025
e2acaec
New Crowdin updates (#2949)
arnaud4d Oct 6, 2025
8c4cfd2
picture file names in ES/PT
arnaud4d Oct 6, 2025
9b98acf
delete
guillaume-kotulski Oct 6, 2025
41cdcb2
missing 2 en
arnaud4d Oct 6, 2025
040820a
Merge pull request #2950 from doc4d/gk/DeleteImages
guillaume-kotulski Oct 6, 2025
4e6acc7
fix missing picts
arnaud4d Oct 6, 2025
e3dc370
fixes
arnaud4d Oct 6, 2025
0c08f4d
Tempo (#2951)
arnaud4d Oct 6, 2025
c6ab288
New Crowdin updates (#2952)
arnaud4d Oct 7, 2025
122f031
Update homepageTiles.js
arnaud4d Oct 7, 2025
be5d6d5
fixed otp token
arnaud4d Oct 7, 2025
a71d399
New Crowdin updates (#2953)
arnaud4d Oct 7, 2025
ac8fae0
Feature/webarea session (#2954)
arnaud4d Oct 7, 2025
2b34110
Feature/aikit/tools response (#2955)
arnaud4d Oct 7, 2025
ea09299
removed pt
arnaud4d Oct 7, 2025
98dbd2a
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 7, 2025
845b6b7
updated sort syntax
arnaud4d Oct 7, 2025
98eaf10
New Crowdin updates (#2956)
arnaud4d Oct 8, 2025
c9326f5
fixed exposed for shared sessions and added note in web areas
arnaud4d Oct 8, 2025
1629016
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 8, 2025
ed8e343
Update updates.md
arnaud4d Oct 8, 2025
7433cf7
Update client-server.md
arnaud4d Oct 8, 2025
39e682e
quic enhanced
arnaud4d Oct 8, 2025
4b79d26
Update updates.md
arnaud4d Oct 8, 2025
48d316b
Feature/orda event save drop (#2957)
arnaud4d Oct 8, 2025
862fac5
events orda
arnaud4d Oct 8, 2025
15d3766
Update EntityClass.md
arnaud4d Oct 8, 2025
fe8790e
Update orda-events.md
arnaud4d Oct 8, 2025
5bb8ca6
Update orda-events.md
arnaud4d Oct 8, 2025
0a247f4
Update EntityClass.md
arnaud4d Oct 8, 2025
57b2d75
after closure events
arnaud4d Oct 8, 2025
6ab9820
fixed error handler components
arnaud4d Oct 8, 2025
4935e80
New Crowdin updates (#2958)
arnaud4d Oct 9, 2025
7a695d4
fixes log recording
arnaud4d Oct 9, 2025
6d95a01
fix tcp udp log
arnaud4d Oct 9, 2025
952adbd
updated tcpudp logs
arnaud4d Oct 9, 2025
91229a4
Featurre/http headers (#2959)
arnaud4d Oct 9, 2025
d3fba33
Feature/winui (#2960)
arnaud4d Oct 9, 2025
9a3b6c5
New Crowdin updates (#2961)
arnaud4d Oct 10, 2025
65687ed
Feature/sessionremoteanderrors (#2962)
arnaud4d Oct 10, 2025
5adf26a
New Crowdin updates (#2963)
arnaud4d Oct 10, 2025
31ae7ee
Update updates.md
arnaud4d Oct 10, 2025
9a79c16
version 21 created
arnaud4d Oct 10, 2025
9620323
fixes and removed banner
arnaud4d Oct 13, 2025
76bbeaf
added qodly pro links
arnaud4d Oct 13, 2025
235551d
New Crowdin updates (#2964)
arnaud4d Oct 13, 2025
ce768a9
removed useless files
arnaud4d Oct 13, 2025
354c2f4
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 13, 2025
aa72e89
updated sidebar
arnaud4d Oct 13, 2025
657e3f7
fixed sidebar docs
arnaud4d Oct 13, 2025
582f1a5
themes
arnaud4d Oct 13, 2025
fbd372a
New Crowdin updates (#2965)
arnaud4d Oct 14, 2025
c59c653
Update version-21-sidebars.json
arnaud4d Oct 14, 2025
b4c9e62
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 14, 2025
3609b77
updated header-rules
arnaud4d Oct 14, 2025
1e7fa8b
Update updates.md
arnaud4d Oct 14, 2025
8ecf561
Update updates.md
arnaud4d Oct 14, 2025
c17c26c
links to standard actions
arnaud4d Oct 14, 2025
111f6d6
fixes in 21
arnaud4d Oct 14, 2025
1683fc2
New Crowdin updates (#2966)
arnaud4d Oct 15, 2025
0f0ffd6
added fluent screens
arnaud4d Oct 15, 2025
06cd7f4
added picts fluent
arnaud4d Oct 15, 2025
0b062fc
added link
arnaud4d Oct 15, 2025
e15d26d
events to entity events
arnaud4d Oct 15, 2025
3a51046
events to entity events
arnaud4d Oct 15, 2025
a870d5b
entity event
arnaud4d Oct 15, 2025
83a799f
New Crowdin updates (#2967)
arnaud4d Oct 16, 2025
5da2617
after closure fluentid
arnaud4d Oct 16, 2025
a2aa899
Delete forms copy.md
arnaud4d Oct 16, 2025
e6b044f
edits for more clarity
arnaud4d Oct 16, 2025
f818529
New Crowdin updates (#2968)
arnaud4d Oct 17, 2025
fce16d0
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 17, 2025
08c44de
fix value type
arnaud4d Oct 17, 2025
713f93d
Import/triggers (#2969)
arnaud4d Oct 20, 2025
4aeca11
New Crowdin updates (#2970)
arnaud4d Oct 20, 2025
3725088
Update SessionClass.md
arnaud4d Oct 20, 2025
8dd33ca
fix p
arnaud4d Oct 20, 2025
adb1d40
fix p
arnaud4d Oct 20, 2025
02e6e6d
Update formEditor.md
arnaud4d Oct 20, 2025
ac844a5
added link
arnaud4d Oct 20, 2025
9083b1d
fixes in vector similarity
arnaud4d Oct 20, 2025
e2af99a
New Crowdin updates (#2971)
arnaud4d Oct 21, 2025
57ee7af
link
arnaud4d Oct 21, 2025
79bab72
triggers and transactions
arnaud4d Oct 21, 2025
c5519cc
Update triggers-new.md
arnaud4d Oct 21, 2025
797d685
New Crowdin updates (#2972)
arnaud4d Oct 21, 2025
888227a
note updated in Form Editor(Layering objects)
mouna-elmaazouzi Oct 21, 2025
2aaeb0f
New Crowdin updates (#2973)
arnaud4d Oct 22, 2025
3715895
Update SessionClass.md
arnaud4d Oct 22, 2025
634aa52
fixed orda event examples
arnaud4d Oct 22, 2025
e8d4ca4
New Crowdin updates (#2974)
arnaud4d Oct 22, 2025
18619cc
fix triggers slug
arnaud4d Oct 23, 2025
1b178bb
Add update instructions for 4D NetKit
arnaud4d Oct 23, 2025
8fb9bd7
fix links components
arnaud4d Oct 23, 2025
e2dc3a3
fixe server-open-connection and context menu
arnaud4d Oct 23, 2025
6ff5540
New Crowdin updates (#2975)
arnaud4d Oct 24, 2025
e6d734f
Update README.md
arnaud4d Oct 24, 2025
e5f3668
Fix link to previous release notes
arnaud4d Oct 24, 2025
ab47bbb
Revise README for PR process and Algolia reindexing
arnaud4d Oct 24, 2025
c31c9a1
fix notes for release notes
arnaud4d Oct 24, 2025
a79c310
Merge branch 'main' of https://github.com/doc4d/docs
arnaud4d Oct 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ banner: 'none',

3. Aller dans i18n\en\code.json, à la fin du fichier : liens de la page Home (vers extensions) à mettre à jour

### Mettre à jour le lien vers les versions Notes précédentes dans notes

Lien main :
`See [**Release Notes for 4D 20.x LTS**](../../20/Notes/updates)`. <br/>
à transformer en
`See [**Release Notes for 4D 20.x LTS**](../20/Notes/updates)`.

### Si problème de traduction avec cmfcmf:
1. Faire
`git restore --rebase --autostash`
Expand All @@ -180,11 +187,16 @@ Forcer une synchro globale de main sur Crowdin
Tester : Faire npm run build

### Builder
Sur github, faire une PR de docs4d/docs/main sur 4d/docs/main
voir ["mise à jour prod"](#mise-a-jour-prod) ci dessous

### Algolia (4D only)
Aller dans l'interface Algolia et lancer un reindex de la doc

## Mise à jour 4D NetKit
1. Synchro avec prod (4D/4DNetKit)
2. Pull request vers prod : Main pour version en ligne
3. Pull request vers prod : version qui shippe pour doc embedded

## Mise à jour prod
1. Créer une nouvelle branche en local nommée par exemple Tempo
2. faire git fetch upstream (met à jour la preprod avec la prod)
Expand Down
4 changes: 2 additions & 2 deletions crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ files:
ignore:
- /docs/preprocessing.conf
- /docs/commands-legacy/*.*
- /docs/WritePro/commands-legacy/*.*
- /docs/*-legacy/*.*
- /docs/WritePro/*-legacy/*.*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
- source: /i18n/en/docusaurus-plugin-content-docs/*.json
ignore:
Expand All @@ -14,7 +14,7 @@ files:
ignore:
- /versioned_docs/**/preprocessing.conf
- /versioned_docs/**/commands-legacy/*.*
- /versioned_docs/**/WritePro/commands-legacy/*.*
- /versioned_docs/**/WritePro/*-legacy/*.*
- /versioned_docs/version-18/
- /versioned_docs/**/*-legacy/*.*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/**/%original_file_name%
Expand Down
17 changes: 14 additions & 3 deletions docs/API/CollectionClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ You can also pass a criteria parameter to define how the collection elements mus
|Constant| Type|Value|Comment|
|---|---|---|---|
|ck ascending|Integer|0|Elements are ordered in ascending order (default)|
|ck descending|Integer|1|Elements are ordered in descending order
|ck descending|Integer|1|Elements are ordered in descending order|

This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered).

Expand Down Expand Up @@ -3421,12 +3421,13 @@ You want to know if at least one collection value is >0.

</details>

<!-- REF #collection.sort().Syntax -->**.sort**() : Collection<br/>**.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection<br/>**.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection <!-- END REF -->
<!-- REF #collection.sort().Syntax -->**.sort**() : Collection<br/>**.sort**( *ascOrDesc* : Integer ) : Collection <br/>**.sort**( *formula* : 4D.Function { ; *...extraParam* : any } ) : Collection<br/>**.sort**( *methodName* : Text { ; *...extraParam* : any } ) : Collection<!-- END REF -->


<!-- REF #collection.sort().Params -->
|Parameter|Type||Description|
|---------|--- |:---:|------|
|ascOrDesc|Integer|->|`ck ascending` or `ck descending` (scalar values)|
|formula|4D.Function|->|Formula object|
|methodName|Text|->|Name of a method|
|extraParam |any |->|Parameter(s) for the method|
Expand All @@ -3440,7 +3441,17 @@ The `.sort()` function <!-- REF #collection.sort().Summary -->sorts the elements

>This function modifies the original collection.

If `.sort()` is called with no parameters, only scalar values (number, text, date, booleans) are sorted. Elements are sorted by default in ascending order, according to their type. If the collection contains elements of different types, they are first grouped by type and sorted afterwards. Types are returned in the following order:
If `.sort()` is called with no parameters, only scalar values (number, text, date, booleans) are sorted. Elements are sorted by default in ascending order, according to their type.
You can also pass one of the following constants in the *ascOrDesc* parameter:

|Constant| Type|Value|Comment|
|---|---|---|---|
|ck ascending|Integer|0|Elements are ordered in ascending order (default)|
|ck descending|Integer|1|Elements are ordered in descending order|

This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered).

If the collection contains elements of different types, they are first grouped by type and sorted afterwards. Types are returned in the following order:

1. null
2. booleans
Expand Down
4 changes: 2 additions & 2 deletions docs/API/DataClassClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ In this case, the *value* parameter must be a **comparison vector object** conta
|Property|Type|Description|
|---|---|---|
|vector|[4D.Vector](../API/VectorClass.md)|Mandatory. The vector to be compared|
|metric|Text|Optional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:<li>`mk cosine` (default if omitted): calculates the cosine distance between vectors.</li><li>`mk dot`: calculates the dot similarity of vectors.</li><li>`mk euclidean`: calculates the Euclidean distance between vectors.|
|metric|Text|Optional. [Vector computation](../API/VectorClass.md#understanding-the-different-vector-computations) to use for the query. You can use one of the following (Text) constants:<li>`mk cosine` (default if omitted): calculates the cosine similarity between vectors.</li><li>`mk dot`: calculates the dot similarity of vectors.</li><li>`mk euclidean`: calculates the Euclidean distance between vectors.|
|threshold|Real|Optional (default: 0.5). A threshold value used to filter vector comparisons based on their cosine, dot or euclidean similarity score according to the selected "metric". It is highly recommended to choose a similarity that best fits your specific use case for optimal results.|

Only a subset of **comparator** symbols are supported. Note that they compare results to the threshold value:
Expand Down Expand Up @@ -1223,7 +1223,7 @@ The formula must have been created using the [`Formula`](../commands/formula.md)

* the *formula* is evaluated for each entity and must return true or false. During the execution of the query, if the formula's result is not a boolean, it is considered as false.
* within the *formula*, the entity is available through the `This` object.
* if the `Formula` object is **null**, the error 1626 ("Expecting a text or formula") is generated, that you call intercept using a method installed with [`ON ERR CALL`](../commands-legacy/on-err-call.md).
* if the `Formula` object is **null**, the error 1626 ("Expecting a text or formula") is generated, that you can intercept using a method installed with [`ON ERR CALL`](../commands-legacy/on-err-call.md).

>For security reasons, formula calls within `query()` functions can be disallowed. See *querySettings* parameter description.

Expand Down
30 changes: 18 additions & 12 deletions docs/API/EntityClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ vCompareResult3 (only differences on $e1 touched attributes are returned)

|Release|Changes|
|---|---|
|21|Added status 7 and 8|
|17|Added|

</details>
Expand All @@ -360,7 +361,7 @@ Otherwise, you can pass the `dk force drop if stamp changed` option in the *mode

**Result**

The object returned by `.drop( )` contains the following properties:
The object returned by `.drop()` contains the following properties:

|Property| | Type |Description|
|---|---|--- |---|
Expand All @@ -387,10 +388,12 @@ The object returned by `.drop( )` contains the following properties:

|Constant| Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using entity.drop( ), this error can be returned when dk force drop if stamp changed option is used. When using entity.lock(), this error can be returned when dk reload if stamp changed option is used</li> **Associated statusText**: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using entity.drop(), this error can be returned when dk force drop if stamp changed option is used. When using entity.lock(), this error can be returned when dk reload if stamp changed option is used.</li> **Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`|3|The entity is locked by a pessimistic lock.<br/> **Associated statusText**: "Already locked"|
|`dk status validation failed`| 7| Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error"|
|`dk status serious error`| 4| A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>**Associated statusText**: "Other error"
|`dk status stamp has changed`| 2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><li>**Associated statusText**: "Stamp has changed"</li>|
|`dk status serious validation error`| 8| Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error"|
|`dk status stamp has changed`| 2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><li>**Associated statusText**: "Stamp has changed"</li>|
|`dk status wrong permission`|1|The current privileges do not allow the drop of the entity. **Associated statusText**: "Permission Error"|

#### Example 1
Expand Down Expand Up @@ -987,10 +990,10 @@ The object returned by `.lock()` contains the following properties:

|Constant |Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`| 5 |The entity no longer exists in the data. This error can occur in the following cases:<li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when dk force drop if stamp changed option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`| 5 |The entity no longer exists in the data. This error can occur in the following cases:<li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when dk force drop if stamp changed option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3 |The entity is locked by a pessimistic lock.**Associated statusText**: "Already locked"
|`dk status serious error`| 4 |A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status serious error`| 4 |A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|

#### Example 1

Expand Down Expand Up @@ -1149,7 +1152,7 @@ The object returned by `.reload( )` contains the following properties:

|Constant| Value| Comment|
|---|---|---|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>***Associated statusText***: "Entity does not exist anymore"|
|`dk status entity does not exist anymore`|5|The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>***Associated statusText***: "Entity does not exist anymore"|
|`dk status serious error`|4| A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.<br/>***Associated statusText***: "Other error"|

#### Example
Expand Down Expand Up @@ -1180,6 +1183,7 @@ The object returned by `.reload( )` contains the following properties:

|Release|Changes|
|---|---|
|21|Added status 7 and 8|
|17|Added|

</details>
Expand Down Expand Up @@ -1241,11 +1245,13 @@ The following values can be returned in the `status` and `statusText` properties

|Constant| Value |Comment|
|---|---|---|
|`dk status automerge failed`| 6| (Only if the `dk auto merge` option is used) The automatic merge option failed when saving the entity.**Associated statusText**: "Auto merge failed"|
|`dk status entity does not exist anymore`| 5| The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop( )`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3| The entity is locked by a pessimistic lock.**Associated statusText**: "Already locked"
|`dk status serious error`|4|A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc.**Associated statusText**: "Other error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save( )`: error only if the `dk auto merge` option is not used</li><li>with `.drop( )`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status automerge failed`| 6| (Only if the `dk auto merge` option is used) The automatic merge option failed when saving the entity. **Associated statusText**: "Auto merge failed"|
|`dk status entity does not exist anymore`| 5| The entity no longer exists in the data. This error can occur in the following cases:<br/><li>the entity has been dropped (the stamp has changed and the memory space is now free)</li><li>the entity has been dropped and replaced by another one with another primary key (the stamp has changed and a new entity now uses the memory space). When using `.drop()`, this error can be returned when `dk force drop if stamp changed` option is used. When using `.lock()`, this error can be returned when `dk reload if stamp changed` option is used</li><br/>**Associated statusText**: "Entity does not exist anymore"|
|`dk status locked`| 3| The entity is locked by a pessimistic lock. **Associated statusText**: "Already locked"|
|`dk status validation failed`| 7| Non fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Mild Validation Error"|
|`dk status serious error`|4|A serious error is a low-level database error (e.g. duplicated key), a hardware error, etc. **Associated statusText**: "Other error"|
|`dk status serious validation error`| 8| Fatal error sent by the developer for a [validate event](../ORDA/orda-events.md). **Associated statusText**: "Serious Validation Error"|
|`dk status stamp has changed`|2|The internal stamp value of the entity does not match the one of the entity stored in the data (optimistic lock).<br/><li>with `.save()`: error only if the `dk auto merge` option is not used</li><li>with `.drop()`: error only if the `dk force drop if stamp changed` option is not used</li><li>with `.lock()`: error only if the `dk reload if stamp changed` option is not used</li><br/>**Associated statusText**: "Stamp has changed"|
|`dk status wrong permission`|1|The current privileges do not allow the save of the entity. **Associated statusText**: "Permission Error"|

#### Example 1
Expand Down
Loading