Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2007

Tip: Looking for answers? Try searching our database.

Pass data dynamically to a secondary data connection

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
steve_s - 08 Mar 2007 13:03 GMT
Hi!
I have a browser-compatible form published in Sharepoint. I have also
written a C#-Webservice, that reads data about the current Sharepoint-user
from Active Directory and passes information about his manager back to the
form.
And that is the problem: Is it possible to pass the username dynamically to
the Webservice (The user enters his name into the form, then this name is
passed)? I only found a way to pass a Parameter when defining the secondary
data connection, but I need to pass this information after the users enters
his username.

Pleas help me.
Greetz, Steve
Zhang Haiguang - 08 Mar 2007 16:36 GMT
You could add a rule to the textbox, then add a "Set a field's value" action
into the rule. Set the value of the username textbox to the parameter field
of the secondary data connection in the action.

http://www.infojetsoft.com

> Hi!
> I have a browser-compatible form published in Sharepoint. I have also
[quoted text clipped - 12 lines]
> Pleas help me.
> Greetz, Steve
steve_s - 09 Mar 2007 07:11 GMT
Thank you, this was exactly what I needed.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.