Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Open a web page from Infopath and parse a Infopath variable

Posted on 2011-03-04
4
Medium Priority
?
535 Views
Last Modified: 2012-06-27
Hi Experts,

I'm looking for a way to a webpage from a Infopath form and sending a paramater to it.

Like :

patient.asp?PID=<patientID>

should effectuate in:

patient.asp?PID=7767853

In what shape?   a hyperlink or Button will do

Can this be done in Infopath 2007 without code sign certificates?
And how?

Thanks

0
Comment
Question by:Steynsk
  • 2
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 2000 total points
ID: 35037147
this is really pretty straightforward.
Create a field for the url
Set the field value with a function
concat( "http://static url path PID=", pidvalue)
Then add a hyperlink control which uses the field as the value.

Then you have a dynamic hyperlink.
0
 
LVL 1

Author Comment

by:Steynsk
ID: 35037725
Hi Clayfox,

Thanks for the quick response. But can yu please provide some more directions?
 I'm not a experienced user of the VB editor in Infopath.

Thanks
0
 
LVL 28

Expert Comment

by:clayfox
ID: 35037754
no VB!

Just need a rule to set the field value or make it a default, it depends on your form setup.

Then just add the hyperlink control and go to properties and you can use the function button on both the display and the value portions of the hyperlink.
0
 
LVL 1

Author Closing Comment

by:Steynsk
ID: 35171668
thanks
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question