# Replace screen

![](/files/zOmrQXkvPA4KIRdqwDLb)

{% tabs %}
{% tab title="Entry Vars" %}
**Page Transition:** Select the page within the application that you want to access.\
**Page input data:** This Entry Vars only appears when the destination page has some input data and initial values ​​can be assigned so that the page can perform its function properly.**(opcional)**

**Transition:** Select the animation with which the screen transition will be displayed.**(opcional)**

**Transition Speed:** Select the animation speed with which the screen transition will be displayed. **(opcional)**

**Step by Step :**
{% endtab %}

{% tab title="Callbacks & OutVars" %}
**(Does not contain callbacks)**

OutVars:&#x20;

&#x20;If a landing page is not selected, it will display an error message

&#x20;`"[pushPage] INVALID TARGET PAGE"`

If the landing page was removed from the application, a message with the following error will be displayed&#x20;

`"[pushPage] INVALID TARGET PAGE *ID_PAGE*"`

{% endtab %}

{% tab title="Features" %}
En comparación con la función Push Screen, la función Replace screen no crea índices para poder retornar a las pantallas desde donde fue invocado, es decir, que para poder retornar a la pantalla anterior, se tiene que utilizar nuevamente la función Replace Screen direccionando a la pantalla anterior.

Los valores de input data pueden agregarle o no valores, ya que todo va a depender de la funcionalidad de la pantalla de destino, puesto que los input data también pueden ser usadas de forma interna y no necesita valores de pantallas diferentes.
{% endtab %}

{% tab title="examples" %}
![](/files/yfORZOMFQWlwSdgw0RK0) ![](/files/s0c1kkjRstp6tllOvdF4)
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/reference/funciones/navigation-e/replace-screen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
