Hi Abul,
Presumably you have an InfoPath client based (i.e. no browser based) form that you want to open and pass parameters to. If this is the case then yes, this is possible.
I've achieved this before by specfying the parameters after the URL - e.g.
http://intranet.contoso.com/LeaveRequest.xsn?type=1
Then you have to use managed code to extract the parameters from the form loading event such as:
public
void FormEvents_Loading(object sender,
LoadingEventArgs e)
{
string typeValue = e.InputParameters["type"];
//do something with it
}
If you could use browser based forms it would be easier as you can use the Query parameter filter with the InfoPath form web part. Though with client side (filler) forms then you'll need to adopt an approach based on the above.
- Mark