Displaying the "source" of a data connection

S

Scott Spradlin

I have a data connection that points to a SharePoint form library.

I'd like to put a button on the form that when clicked would display (using
a rule -- no code) the url specified for that data connection.

Easy?

Thanks,
Scott
 
G

Greg Collins [InfoPath MVP]

Ultimately you will need code to do what you want. Rules just don't have the features to accomplish this.

You can mix code and rules by having code popualte a field in a secondary data source with the connection URL, and then use rules on the button to show the value of that secondary data source field... but it comes down to needing code to grab that connection URL.

Hope this helps.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


I have a data connection that points to a SharePoint form library.

I'd like to put a button on the form that when clicked would display (using
a rule -- no code) the url specified for that data connection.

Easy?

Thanks,
Scott
 
Top