generator-office icon indicating copy to clipboard operation
generator-office copied to clipboard

Compose assets generated for a read form-only add-in

Open waldekmastykarz opened this issue 11 years ago • 3 comments

Is it by design that even if you choose to have a Mail Add-in registered with the read form only the generator still creates assets for compose forms (ie. app files + manifest.xml registration info)?

waldekmastykarz avatar Sep 18 '15 17:09 waldekmastykarz

I just looked at that behavior and it seems odd to me. Adds unnecessary clutter to the project.

ricalo avatar Oct 07 '15 22:10 ricalo

Yup... that's a bug. Need to index.js#L465-L491 so it checks which one you've selected.... also need to update the tests so they ensure only the correct stuff is added.

andrewconnell avatar Oct 10 '15 11:10 andrewconnell

I believe we would also need to generate the correct Form elements in the manifest.xml file so that we include ItemRead and ItemEdit forms only if applicable.

waldekmastykarz avatar Oct 10 '15 15:10 waldekmastykarz