Ok...I've gotten my form to work so far...:-) I'm hooked into a Web Services...my default view will return the information I need. I created an "Email" view that the form will switch to using rules before it creates the e-mail using this code:
var oEnvelope = XDocument.View.Window.MailEnvelope;
oEnvelope.To = "
[email protected]";
oEnvelope.Subject = "Subject";
oEnvelope.Visible = true;
What I'd like is for the Subject to be filled in dynamically using both "hard coded" text, and parameters from the form. So, for instance, I'd like the subject to say:
Employee information for 'DYNAMIC PART GOES HERE'
So "Employee information for " will always be in the subject, and it would take the name from my form and put it after that. I've seen how to do that when I use "Submit"...but I can't seem to get it to work in my code. I've tried:
concat("Employee information for ", CDSID)
But alas...it isn't meant to be...how can I do this in my code??
Thanks for any help!!
Dave