R
Rob Blitz
Sorry for the newbie question...
I have a form that I'd like to populate with the user's name when they open
the form from the template located on a web server or Sharepoint site. I
know how to wire up drop down lists to secondary data sources (in SP1), but
this is just a plain old text field that holds the employee's name. Since
the user is online when they retrieve the form, their Infopath app can
connect to a Web Service or SQL database to get this info based on their
Windows login. Once the user opens the form and saves it, it's unique to
them and I won't need to make a network call for their name after that.
I'm unsure when to invoke the call: should I do it in the _Startup (for
which I can't find any documentation in the SDK, BTW)? Or in OnLoad()
handler? Are these the same thing?
Or am I even approaching this the right way?
Confused,
Rob
I have a form that I'd like to populate with the user's name when they open
the form from the template located on a web server or Sharepoint site. I
know how to wire up drop down lists to secondary data sources (in SP1), but
this is just a plain old text field that holds the employee's name. Since
the user is online when they retrieve the form, their Infopath app can
connect to a Web Service or SQL database to get this info based on their
Windows login. Once the user opens the form and saves it, it's unique to
them and I won't need to make a network call for their name after that.
I'm unsure when to invoke the call: should I do it in the _Startup (for
which I can't find any documentation in the SDK, BTW)? Or in OnLoad()
handler? Are these the same thing?
Or am I even approaching this the right way?
Confused,
Rob