Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
nhthinh-axonivy authored Dec 5, 2024
1 parent 2b634cb commit 2417724
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,32 @@ How To Use

Follow these steps to use the IFrame approach:

#. **HTML Dialog Independence**
Ensure your HTML User Dialog is independent of the **Portal**. You can use the ``frame-_x_`` template in the designer or your own custom template.
**Portal** will automatically render it in an IFrame.
#. **HTML Dialog Independence**

Ensure your HTML User Dialog is independent of the **Portal**. You can use the ``frame-_x_``
template in the designer or your own custom template. **Portal** will automatically render it in an IFrame.

#. **Configuration Levels**
If you want custom behavior, configure at one of the following levels to open your tasks in an IFrame:

- **Task Level**: Set the ``embedInFrame`` field in Task custom fields to:

- ``true``: Start inside IFrame.
- ``false``: Do not start inside IFrame.
- Leave unset to use case or engine-level configuration.

|task-embedInFrame|

- **Case Level**: Set the ``embedInFrame`` String field in Case custom fields to:

- ``true``: Start inside IFrame.
- ``false``: Do not start inside IFrame.
- Leave unset to use engine-level configuration.

|case-embedInFrame|

- **Engine Level**:
- **Engine Level**:

The **Portal Administrator** can globally configure all tasks to start inside IFrames by setting the ``Portal.EmbedInFrame`` value in the Portal settings.
Refer to :ref:`update-portal-settings`.

Expand Down

0 comments on commit 2417724

Please sign in to comment.