# Assistant

## How to Create an Assistant

| ### What to do:
| To create an assistant, it is necessary to define the masks, tables etc. first. Further information can be found in the DataView manual. Further information can be found in the DataVIew documentation or the example.
| Select Manager > Tools > Assistant. The mask Assistant Definition is opened.
| Switch to Insert mode with the button .
| Enter the assistant name in the field Assistant.
| Please note down, the assistant ID (A number) as it is required later for calling up the assistant.
| Enter the dialog steps.
| The fields Dialog Step and Method are compulsory fields whereas the field Remark is optional. The fields dialogue step and method are compulsory fields whereas the field remark is optional. A form is usually opened with a LogiView procedure with the userexit lgv_nosel_run(Logic model/Procedure).
| Save the assistant definition.
| Define a menu item for calling the assistant. This requires the userexit xform_ass_exc (A number)