Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| tutorial:dev:dynamic_form_localization [2018/06/06 09:38] – tomiskar | tutorial:dev:dynamic_form_localization [2018/06/07 07:03] (current) – tomiskar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Dynamic form - localization ====== | ||
| + | |||
| + | {{tag> configuration eav form}} | ||
| + | |||
| + | The aim of this tutorial is show the way, how to add localization for [[devel: | ||
| + | |||
| + | ===== What do you need before you start ===== | ||
| + | |||
| + | * You need to install CzechIdM 8.1.0 (and higher). We have CzechIdM installed for this tutorial on server '' | ||
| + | * Create an identity, which has permission to work with dynamic forms (at least read form definitions and attributes). We are using the default '' | ||
| + | |||
| + | ===== 01 Create new dynamic form ===== | ||
| + | |||
| + | We will create new dynamic form for identity. From will be shown on identity detail on 'More information' | ||
| + | |||
| + | Go to menu ' | ||
| + | * Type - '' | ||
| + | * //type is '' | ||
| + | * Code - '' | ||
| + | * //code is '' | ||
| + | * Name - '' | ||
| + | |||
| + | Define form attributes as bellow (required is code and name only, other attribute properties are optional for this tutorial): | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ===== 02 Add localization ===== | ||
| + | |||
| + | On form definition detail new tab 'Form localization' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | Copy form definition section from how-to, then go to '' | ||
| + | <code json> | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== 03 Test ===== | ||
| + | |||
| + | Go to identity detail and '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | |||