I am using IP 2007 and SharePoint 2007. In this order I'd like to
- Create a new form programmatically and pre-populate some fields,
- Add form to SharePoint form library &
- send email with a link/URL to this specific form.
- the form contains DBXL which I am using to retreive data and submit data to a database
I think I can handle step 2, 3 & 4 but I'm not sure how to code step 1.
I have a program that pre-populates an xml file and attaches it to the email. I would rather pre-populate the xsn and add to Sharepoint, then send link to the form in an email (rather than xml attachment).
Would qRules help me achieve this with input pararmeters, if form is created programmatically?
Can someone direct me to code examples on how to populate fields on a xsn form template via code preferably C#?