This is very simple to accomplish IF you don't want a deployment in the inventory with their script resource.
You will definitely need to use XaaS which can easily present a dropdown of templates to choose from. You then have two easy options:
- After they select the template and press next, populate a read only text box with the script that they can copy + paste. The user can then cancel or submit the workflow which theoretically does nothing
- they select the template and submit the workflow. it then emails them with the script attached
If you really want it to become a deployment, which makes no sense to me, you will need to look into vRO dynamic types.
Thanks! for the advice - I'll give that a try.