Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
tutorial:adm:assign_roles_to_contract_-_import_of_data_from_csv [2019/06/12 14:15] hanakp |
tutorial:adm:assign_roles_to_contract_-_import_of_data_from_csv [2019/11/12 12:37] michalp |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Assign roles to contract EAV - Import of data from CSV ====== | ====== Assign roles to contract EAV - Import of data from CSV ====== | ||
+ | |||
+ | This task assigns roles to contracts via selected EAV for main contract definition. | ||
==== Prepare CSV file ==== | ==== Prepare CSV file ==== | ||
Line 11: | Line 13: | ||
</ | </ | ||
- | CSV file can have optional number of columns, role and automatic role definitions | + | CSV file can have optional number of columns, role and eav columns are specified in setup of LRT. |
- | If you want to assign role to all user contracts, | + | *If you want to assign role to all user contracts, |
==== Create new LongRunningTask ==== | ==== Create new LongRunningTask ==== | ||
Line 21: | Line 23: | ||
Now we need to create new LRT with these attributes: | Now we need to create new LRT with these attributes: | ||
- | - Task type - **ImportCSVUserContractRolesTask** | + | - Task type - **ImportCSVUserContractRolesTaskExecutor** |
- Import csv file - dropzone to select or drop csv file | - Import csv file - dropzone to select or drop csv file | ||
- Column with username - name of the column with username | - Column with username - name of the column with username |