It is not obvious to me how we set the default value of a field to something like the requesting users username or the email address or some other attribute. In my scenario I am adding a custom action to act upon a IaaS vSphere virtual machine. As part of this action an email will be generated and I want the toAddress to be defaulted to the person logged in making the request. I can see other cases where I might want to default a field based upon various properties of the item I am interacting with. Is there an easy way to do such a thing. I have been looking through the documentation and I don't see any sort of programatic options with setting defaults or loading the pick lists. I believe I have cobbled together an action that will populate the default value for me based on the owner of the virtual machine but that took some jumping through hoops to accomplish. It would be nice to have some of this functionality in the advanced designer though.
↧