I am trying to add hyperlink with url field into textbox.
"can be accessed at " + <a href=First(Fields!url.Value,"dsScheduleA")>First(Fields!url.Value,
"dsScheduleA");/a>
this one is for expression for value. is this working fine?
You can't add a working hyperlink using HTML - you must use the ACTION property of the textbox.
For the text box, your text expression would be
="can be accessed at " & Fields!url.Value,"dsScheduleA")
Then go to the Action property and select Go to URL and select the URL field.
Related
The label that I'd like to change the caption of has the name: "lblEventNameLabel"
The text box that holds the value that I want to update the label has the name "txtEventNameLabel"
The name of the report is "rptBookingConfirmation"
I've got as far as creating this Macro in the "On Load" part of the report:
SetProperty
Control Name lblEventNameLabel
Property Caption
Value [txtEventNameLabel]
When I open the report it updates the caption to "[txtEventNameLabel" instead of the value that is in the text box. I've also tried chaning the Value in SetProperty to [rptBookingConfirmation]![txtEventNameLabel] and [Reports]![rptBookingConfirmation]![txtEventNameLabel] but those have the same result.
Any help would be much appreciated!
Me.lblEventNameLabel.Caption = "Your Text"
I am extremely new to Powerapps in fact this is my first project with it. What I want to do is link to a web-page that contains a Knowledge base the body of the hyperlink stays as it is the only thing that changes is the ID it needs to look for.
I have created an app and each article contains its own KB# and i need that KB# to be inserted into the hyperlink. The Text I marked in bold below is the only change in the link. I have created a button that should run the Hyperlink once click and in the OnSelect area I add the below but that is just a static link.
If(Rule2, Launch("https://placeholder.com/nav_to.do?uri=%2Fkb_view.do%3Fsysparm_article%3D||KB0010007||%26sysparm_stack%3D%26sysparm_view%3D")
, Launch("https://placeholder.com/nav_to.do?uri=%2Fkb_view.do%3Fsysparm_article%3DKB0011526%26sysparm_stack%3D%26sysparm_view%3D")
)
You should use string concatenation operator &
In your case:
If(Rule2,
Launch("https://placeholder.com/nav_to.do?uri=%2Fkb_view.do%3Fsysparm_article%3D||KB" & DataSource.column_name & "||%26sysparm_stack%3D%26sysparm_view%3D") ,
Launch("https://placeholder.com/nav_to.do?uri=%2Fkb_view.do%3Fsysparm_article%3DKB0011526%26sysparm_stack%3D%26sysparm_view%3D") )
In Access I have some difficulties to create a search form based on a Query. The search form will be based on the title
Steps:
1. On my query field I add this formula
[Forms]![Main Menu]![SearchInput]
I added a InputBox (SearchInput) and a Button in the Main Menu form.
I connected the Button to the Query.
Result
When I type A in the SearchInput box suppose to render all the Title that contains a A but it returns nothing.
I had to put this into the Criteria of the Query
Like "*" & [Forms]![Main Menu]![SearchInput] & "*"
I have a textbox with the following expression- ="MailTo:example#gmail.com".
I have tried with and without the quotes. With the quotes, I just get the actual text, which is MailTo:example#gmail.com. Without the quotes, I receive an error about using a colon.
What I want to do is hyperlink the email address so that it can be clicked on in the report, and have outlook open. How can I achieve this?
Apparently, the above does not describe my problem enough...let's see if this works...
Right click the textbox and go to Textbox properties, in the Action tab select Go to URL and use the expression you need:
="mailTo:example#gmail.com"
Also if you set the Place Holder Markup Type property to HTML you can use an expression like this:
="<a href=" & CHR(34) &
"mailto:alejandro.zuleta#example.com" & Chr(34) &
">send mail to alejandro</a>"
Which results in a hyperlink to the specified mail address that executes your default E-Mail client to send the mail.
Let me know if this helps.
I'm trying to use the following to open a new window while passing some values to the url. I'm new at this so I'm guessing it's something minor.
="javascript:void(window.open('https://website.com/Move/Closeout.aspx?cusid=" & Fields!CustomerID.Value & "&soid=" & Fields!SalesorderID.Value', '_blank'))"
In the report, the link doesn't even appear as a link and when I click on it, nothing happens.
You need to set up the url as a navigation link. So your field expression will simply be Fields!CustomerID.Value then right-click the cell, select Text Box Properties... then Action. Select the Go to URL radiobutton and enter your javascript expression in there:
="javascript:void(window.open('https://website.com/Move/Closeout.aspx?cusid=" & Fields!CustomerID.Value & "&soid=" & Fields!SalesorderID.Value', '_blank'))"
This will turn the displayed CustomerID in the cell into a clickable link.
I also change the Font.Color to Blue to indicate it is a link.