Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
15849f7
New translations onwindowopeningdenied.md (French)
arnaud4d Sep 1, 2025
72a2de5
New translations overview.md (French)
arnaud4d Sep 1, 2025
08abc2c
New translations develop-components.md (French)
arnaud4d Sep 1, 2025
8e4244d
New translations updates.md (French)
arnaud4d Sep 1, 2025
0a3a79a
New translations onwindowopeningdenied.md (French)
arnaud4d Sep 1, 2025
6ab893b
New translations overview.md (French)
arnaud4d Sep 1, 2025
f67bce0
New translations develop-components.md (French)
arnaud4d Sep 1, 2025
f4cbdf4
New translations onwindowopeningdenied.md (French)
arnaud4d Sep 1, 2025
33b3b77
New translations overview.md (French)
arnaud4d Sep 1, 2025
09995df
New translations develop-components.md (French)
arnaud4d Sep 1, 2025
78fd719
New translations sessionclass.md (Spanish)
arnaud4d Sep 1, 2025
0dd8562
New translations updates.md (Spanish)
arnaud4d Sep 1, 2025
b40a2e5
New translations preemptiveweb.md (Spanish)
arnaud4d Sep 1, 2025
6808e58
New translations database.md (Spanish)
arnaud4d Sep 1, 2025
d40334f
New translations managing-formulas.md (Spanish)
arnaud4d Sep 1, 2025
f649a44
New translations wp-set-attributes.md (Spanish)
arnaud4d Sep 1, 2025
c49c8a7
New translations tcpconnectionclass.md (Spanish)
arnaud4d Sep 1, 2025
0ba24d0
New translations tcpeventclass.md (Spanish)
arnaud4d Sep 1, 2025
36c8ef8
New translations openaiparameters.md (Spanish)
arnaud4d Sep 1, 2025
21fab69
New translations sessionclass.md (Spanish)
arnaud4d Sep 1, 2025
06856f9
New translations tcpeventclass.md (Spanish)
arnaud4d Sep 1, 2025
0460afe
New translations wp-set-attributes.md (Spanish)
arnaud4d Sep 2, 2025
6f03f76
New translations openaiparameters.md (Spanish)
arnaud4d Sep 2, 2025
7f247f8
New translations object-get-data-source-formula.md (Spanish)
arnaud4d Sep 2, 2025
cfe974a
New translations object-set-data-source-formula.md (Spanish)
arnaud4d Sep 2, 2025
7713061
New translations orda-events.md (Spanish)
arnaud4d Sep 2, 2025
d6eba16
New translations tcpeventclass.md (Spanish)
arnaud4d Sep 2, 2025
7f0578d
New translations orda-events.md (Spanish)
arnaud4d Sep 2, 2025
55de2e4
New translations wp-set-attributes.md (Spanish)
arnaud4d Sep 2, 2025
b5702b7
New translations openaiparameters.md (Spanish)
arnaud4d Sep 2, 2025
8f5286b
New translations object-get-data-source-formula.md (Spanish)
arnaud4d Sep 2, 2025
90ed01f
New translations object-set-data-source-formula.md (Spanish)
arnaud4d Sep 2, 2025
c0bb3d5
New translations database.md (Spanish)
arnaud4d Sep 2, 2025
f25d05f
New translations generate-uuid.md (Spanish)
arnaud4d Sep 2, 2025
2dbaada
New translations generate-uuid.md (Spanish)
arnaud4d Sep 2, 2025
ed83f4e
New translations updates.md (Japanese)
arnaud4d Sep 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Session

Los objetos de sesión son devueltos por el comando [`Session`](../commands/session.md). Estos objetos ofrecen al desarrollador una interfaz que permite gestionar la sesión de usuario actual y ejecutar acciones como almacenar datos contextuales, compartir información entre procesos de sesión, lanzar procesos preferentes relacionados con la sesión o (sólo web) gestionar [privilegios](../ORDA/privileges.md).

:::info To learn more
:::info Para aprender más

Blog posts about this feature:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ En el parámetro *options*, pase un objeto que puede contener las siguientes pro
| onTerminate | Formula | Retrollamada activada justo antes de que se libere la TCPConnection | Indefinido |
| noDelay | Boolean | **Sólo lectura** cesactiva el algoritmo de Nagle si `true` | False |
| connectionTimeout | Real | Tiempo máximo (en segundos) para establecer la conexión. Si se supera, se interrumpe el intento de conexión | Definido por el sistema, generalmente ≥ 30 |
| TLS | Boolean | Enables TLS encryption for connections | False |
| TLS | Boolean | Activa el cifrado TLS para las conexiones | False |

#### Función callback (retrollamada)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The `TCPEvent` class provides information about events occurring during the life

| Lanzamiento | Modificaciones |
| ----------- | ----------------------------------- |
| 20 R9 | New `address` and `port` attributes |
| 20 R9 | Nuevos atributos `address` y `port` |
| 20 R8 | Clase añadida |

</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Lea [**Novedades en 4D 21**](https://blog.4d.com/en-whats-new-in-4d-21/), la ent
- Web services (SOAP): when [scalable sessions](../WebServer/sessions.md#enabling-web-sessions) are enabled, web services now run in [**preemptive processes**](../Develop/preemptive.md) in compiled mode. Make sure your SOAP code is thread-safe.
- Web server: the support of deprecated `4DSYNC/` and `4DCGI/` URLs is removed. No specific processing is done on these URLs anymore.
- Web user sessions are now returned by [`Process activity`](../commands/process-activity.md).
- The [`HIGHLIGHT TEXT`](../commands/highlight-text) command is now supported in the context of subforms.

## 4D 20 R10

Expand Down Expand Up @@ -126,7 +127,7 @@ Lea [**Novedades en 4D 20 R7**](https://blog.4d.com/en-whats-new-in-4d-20-R7/),
- Lenguaje 4D:
- Nuevos comandos: [Process info](../commands/process-info.md), [Session info](../commands/session-info.md), [SET WINDOW DOCUMENT ICON](../commands/set-window-document-icon.md)
- Comandos modificados: [Process activity](../commands/process-activity.md), [Process number](../commands/process-number.md)
- Deprecated commands (replacement): `GET LAST ERROR STACK` ([Last errors](../commands/last-errors.md)), `GET SERIAL INFORMATION` ([License info](../commands/license-info.md)), `PROCESS PROPERTIES` ([Process info](../commands/process-info.md)), `SET SCREEN DEPTH`, `C_XXX` commands ([var](../Concepts/variables.md#declaring-variables) and [#DECLARE/Function](../Concepts/parameters.md#declaring-parameters) declarations). Deprecated commands are prefixed with "\*o\*".
- Deprecated commands (replacement): `GET LAST ERROR STACK` ([Last errors](../commands/last-errors.md)), `GET SERIAL INFORMATION` ([License info](../commands/license-info.md)), `PROCESS PROPERTIES` ([Process info](../commands/process-info.md)), `SET SCREEN DEPTH`, `C_XXX` commands ([var](../Concepts/variables.md#declaring-variables) and [#DECLARE/Function](../Concepts/parameters.md#declaring-parameters) declarations). Los comandos obsoletos llevan el prefijo "\*o\*".
- 4D Write Pro:
- Nuevo comando: [WP DELETE SECTION](../WritePro/commands/wp-delete-section.md)
- Comandos modificados: [WP DELETE SUBSECTION](../WritePro/commands/wp-delete-subsection.md) y [WP RESET ATTRIBUTES](../WritePro/commands/wp-reset-attributes.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Event functions accept a single *event* object as parameter. When the function i

| Nombre de propiedad | Disponibilidad | Tipo | Descripción |
| :------------------ | :------------------------------------------- | :----- | :-------------------------------------------------------------------------- |
| `kind` | siempre | String | Event name ("touched") |
| `kind` | siempre | String | Nombre del evento ("touched") |
| *attributeName* | Sólo para eventos que involucran un atributo | String | Nombre del atributo (por ejemplo, "nombre") |
| *dataClassName* | siempre | String | Nombre de la Dataclass (*ej.* "Company") |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ La siguiente tabla indica si el modo apropiativo se utiliza o está disponible,
- Servidor de servicios web: gestiona las peticiones SOAP
- ***web setting*** means that the preemptive mode depends on the [**scalable sessions**](sessions.md#enabling-web-sessions) status:
- if scalable sessions are enabled, the preemptive mode is automatically used for web and web service processes.
- if scalable sessions are not enabled:
- si las sesiones escalables no están activadas:
- for web processes, the [**Use preemptive processes**](webServerConfig.md#use-preemptive-processes) option is taken into account.
- for web service processes (server or client), preemptive mode is supported at method level.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ This example illustrates the use of wk inside and wk outside constants:
WP SET ATTRIBUTES($wpRange;wk border color+wk outside;"#00FA9A")
```

Assuming all of the contents were selected, the result is:
Suponiendo que se hayan seleccionado todos los contenidos, el resultado es:

![](../../assets/en/WritePro/commands/pict2821715.en.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Por ejemplo, para insertar el número de página en el pie de página:

When used in a formula within the table, the **This** keyword gives access to different data according to the context:

| **Context** | **Expression** | **Tipo** | **Devuelve** |
| **Contexto** | **Expression** | **Tipo** | **Devuelve** |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Anywhere | [This](../commands/this.md).table | Object | Current table |
| | [This](../commands/this.md).row | Object | Current table row element |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The `OpenAIParameters` class is designed to handle execution and request paramet
| `formula` u `onTerminate` | Function | Una función que se llamará de forma asíncrona cuando termine. Asegúrese de que el proceso actual no termina. |
| `onResponse` | Function | A function to be called asynchronously when the request finishes successfully. Asegúrese de que el proceso actual no termina. |
| `onError` | Function | A function to be called asynchronously when the request finishes with errors. Asegúrese de que el proceso actual no termina. |
| `throw` | Boolean | Si es true, lanza un error si se produce uno. Only if no formula callback defined. |
| `throw` | Boolean | Si es true, lanza un error si se produce uno. Sólo si no se ha definido ninguna retrollamada de fórmula. |

Ver la [documentación sobre código asíncrono](../asynchronous-call.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,43 @@ displayed_sidebar: docs

<!--REF #_command_.Generate UUID.Params-->

| Parámetros | Tipo | | Descripción |
| ---------- | ------- | --------------------------- | ----------------------------------------------------------------- |
| version | Integer | &#8594; | UUID version: 4 (default) or 7 |
| Resultado | Text | &#8592; | New UUID as non-canonical text (32 characters) |
| Parámetros | Tipo | | Descripción |
| ---------- | ------- | --------------------------- | ----------------------------------------------------------------------- |
| version | Integer | &#8594; | Versión de UUID: 4 (por defecto) o 7 |
| Resultado | Text | &#8592; | Nuevo UUID como texto no canónico (32 caracteres) |

<!-- END REF-->

<details><summary>Historia</summary>

| Lanzamiento | Modificaciones |
| ----------- | ------------------------------ |
| 20 R10 | Support of *version* parameter |
| Lanzamiento | Modificaciones |
| ----------- | ------------------------------- |
| 20 R10 | Soporte del parámetro *version* |

</details>

## Descripción

<!--REF #_command_.Generate UUID.Summary-->The Generate UUID returns a new 32-character UUID identifier in non-canonical form<!-- END REF-->.
<!--REF #_command_.Generate UUID.Summary-->La función Generar UUID devuelve un nuevo identificador UUID de 32 caracteres en forma no canónica<!-- END REF-->.

An UUID is a 16-byte number (128 bits). It contains 32 hexadecimal characters. It can be expressed either in non-canonical form (series of 32 letters \[A-F, a-f\] and/or numbers \[0-9\], for example 550e8400e29b41d4a716446655440000) or in canonical form (groups of 8,4,4,4,12, for example 550e8400-e29b-41d4-a716-446655440000).
Un UUID es un número de 16 bytes (128 bits). Contiene 32 caracteres hexadecimales. Puede expresarse en forma no canónica (serie de 32 letras \[A-F, a-f\] y/o números \[0-9\], por ejemplo 550e8400e29b41d4a716446655440000) o en forma canónica (grupos de 8,4,4,4,12, por ejemplo 550e8400-e29b-41d4-a716-446655440000).

You can use the optional *version* parameter to set the **UUID version** to generate. The following values are accepted:
Puede utilizar el parámetro opcional *version* para definir la **versión de UID** a generar. Se aceptan los siguientes valores:

- **4** (default if omitted), for fully random UUIDs
- **7**, for random and timestamp UUIDs (chronological order matches lexical order).
- **4** (por defecto si se omite), para UUID totalmente aleatorios
- **7**, para UUID aleatorios y de marca de tiempo (el orden cronológico coincide con el orden léxico).

:::note

For more information on UUID version 7, please read [this blog post](https://blog.4d.com/sort-uuids-with-version-7).
Para más información sobre UUID versión 7, lea [esta entrada de blog](https://blog.4d.com/sort-uuids-with-version-7).

:::

In 4D, UUID numbers can be stored in fields (see [UUID Format](https://doc.4d.com/4Dv20/4D/20.2/Field-properties.300-6750280.en.html#106190). A [4D settings option](../settings/database.md#auto-uuid-version) allows generating version 7 UUIDs in automatic fields.
En 4D, los números UUID pueden almacenarse en campos (ver [Formato UUID](https://doc.4d.com/4Dv20/4D/20.2/Field-properties.300-6750280.en.html#106190). Una [opción de configuración 4D](../settings/database.md#auto-uuid-version) permite generar UUIDs de la versión 7 en campos automáticos.

## Ejemplo

Generation of a UUID in a variable:
Generación de un UUID en una variable:

```4d
 var MyUUID : Text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,28 @@ title: OBJECT Get data source formula

<!--REF #_command_.OBJECT Get data source formula.Params-->

| Parámetros | Tipo | | Descripción |
| ---------- | -------------------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| \* | Operador | &#8594; | If specified, object is an object name (string)<br/>If omitted, object is a field or variable |
| object | any | &#8594; | Object name (if \* is specified) or<br/>Field or variable (if \* is omitted) |
| formula | 4D.Formula | &#8592; | Formula associated with the form object (`Null` if no formula is associated) |
| Parámetros | Tipo | | Descripción |
| ---------- | -------------------------- | --------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| \* | Operador | &#8594; | Si se especifica, object es un nombre de objeto (cadena)<br/>Si se omite, object es un campo o variable |
| object | any | &#8594; | Nombre del objeto (si se especifica \*) o<br/>Campo o variable (si se omite \*) |
| formula | 4D.Formula | &#8592; | Fórmula asociada al objeto formulario (`Null` si no hay fórmula asociada) |

<!-- END REF-->

## Descripción

The **OBJECT Get data source formula** command<!--REF #_command_.OBJECT Get data source formula.Summary--> returns the formula (if any) associated object(s) designated by the *object* and *\** parameters.<!-- END REF-->
El comando **OBJECT Get data source formula**<!--REF #_command_.OBJECT Get data source formula.Summary--> devuelve la(s) fórmula(s) asociada(s) a los objetos designados por los parámetros *object* y *\**.<!-- END REF-->

Passing the optional *\** parameter indicates that the *object* parameter is an object name (string). If you do not pass this parameter, it indicates that the *object* parameter is a field or variable. In this case, you pass a field or variable reference instead of a string (field or variable object only).
Pasar el parámetro opcional *\** indica que el parámetro *object* es un nombre de objeto (cadena). Si no pasa este parámetro, indica que el parámetro *object* es un campo o variable. En este caso, se pasa una referencia de campo o variable en lugar de una cadena (campo o variable objeto de formulario).

When a formula is associated with a form object, it acts as the object's data source at runtime.
Cuando una fórmula está asociada a un objeto de formulario, actúa como fuente de datos del objeto en tiempo de ejecución.

If this command is applied to an object with no custom formula assigned, it returns the automatically assigned [dynamic form variable](../FormObjects/properties_Object.md#dynamic-variables).\
If the object does not exist or does not support formulas, it returns `Null`.
Si este comando se aplica a un objeto sin fórmula personalizada asignada, devuelve la [variable dinámica de formulario] asignada automáticamente(../FormObjects/properties_Object.md#dynamic-variables).\
Si el objeto no existe o no admite fórmulas, devuelve `Null`.

## Ejemplo

You want check what formula (if any) is bound to an object:
Desea comprobar qué fórmula (si la hay) está vinculada a un objeto:

```4d
$formula:=OBJECT Get data source formula(*; "myInput")
Expand Down
Loading
Loading