Play Using Relative URLs with the ServerInfo Class in InfoPath 2010
In this InfoPath 2010 video demo, Jill Anderson from the InfoPath test team introduces one of the newest members of the InfoPath Object Model, the "ServerInfo" class. She shows how you can use the members of this class to enable your form to submit data using a relative URL. This enables you to package a Site Collection as a WSP and move it to a new server. With these changes, the submit data connection moves to the new server as well.$0 $0 For more details, go to the InfoPath Team Blog.