IntentArchitect / Support

A repository dedicated to handling issues and support queries
3 stars 0 forks source link

Application Template - 'Include By Default' toggle for module doesn't work as expected #31

Closed Laura-BSC closed 1 year ago

Laura-BSC commented 1 year ago

What happened?

I wanted to update my application template so that certain modules are no longer included by default. Changing the toggle does not prevent the module from being included by default.

image image

On further inspection of 'metadata.iatspec', I discovered that the component element has an attribute 'included' which isn't updated when the toggle is changed, but rather, there is a nested element 'includedByDefault' that is changed. If I manually change 'included="true"' to '"included="false"', the module is not selected by default when I create a new project using the application template.

image

What version of Intent Architect are you using?

4.0.1-pre.13

Additional information

Please note that this issue was occurring on version 4.0.0 of Intent Architect as well

JonathanLydall commented 1 year ago

Hi @Laura-BSC,

Because you've applied the option on the Module, it affects whether or not it is uncheckable on the list of modules when expanding components on the right of the Application Template UI.

To control whether a Component Is required you will need to use the option on the Component element (Azure Functions in your screenshot).

Laura-BSC commented 1 year ago

Thanks, completely missed that