Thursday, 15 November 2018

Auto-including objects for generation

A feature of the code generation editors in Studio Developer  is that whilst the editor is open it will detect changes to action blocks and procedure steps and automatically flag them for generation.

You can therefore open the required editors (for example client and server) and then when you have completed your changes to the model, switch to the editor and the objects will be pre-selected for generation.

Note that only the changed action blocks and procedure steps are flagged and a full impact analysis is not performed. For example if you change the import view of an action block or change the length of an attribute, the impacted objects are not selected for generation. For these situations, you can use the 'Generate Used By' feature where you select an action block and it will flag all callers for generation.

No comments: