Niagara PX help
I need help with the PX editor my first question is how do you add weather service to a PX page? My second question is how can I make a hyperlink button email someone when the user clicks it?
For your first question, drag your Weather Report onto your px and the Make Widget window will open. Select workbench view and then Current Weather View if you want the weather icon and temp. If you want to display all of the current weather data on the px then under the Weather Report drag the Current out and in the Make Widget box select properties and then on the far right highlight all of the property fields you want to display.
For your second question unless things have changed I dont think you can hyperlink to a URL from workbench. You can however do it through the browser. Open BajaUI in your palette. In the Widgets folder drag a button out and add a value binding to it. In the hyperlink you would put your URL. I am pretty sure for it to work you have to prefix it with http://.
Thanks for your help with the weather, it was so simple I felt stupid I had to ask for help. On the email it still does not work I am trying to use mailto to get it to work like in HTML if I just put in mailto:email@example.com it does nothing if I put in http://mailto:firstname.lastname@example.org it opens gmail.com. I can make it work if I use the email client in the jace but it does not let me supply a email address for the client to email to.
Wow, I totally misread your second question. I thought you wanted to hyperlink to a website. My appologies. I will have to look into that one but I bet Freddy or Digo may know the answer.
I am pretty sure that using mailto:email@example.com (with or without the http://) will only open your default mail program on your PC - same as from any other web page.
Unfortunately I have only used an alarm through the email service so cannot really help.
"Once men turned their thinking over to machines in the hope that this would set them free. But that only permitted other men with machines to enslave them."
- The Reverend Mother Gaius Helen Mohiam
That is how I want it to work, if I put in mailto:firstname.lastname@example.org I want it to open outlook (or whatever the default mail program is) with email@example.com as the send to email address, but if I use just the mailto: syntax it does absolutely nothing when I click it.
mailto:firstname.lastname@example.org would not work in px hyper-link. Px hyper-link accept any xxx:yyy string and that doesn't mean anything.
Embeded html view doesn't help either. Px view does recognize the "mailto" link but clicking it does not bring up anything.
Only pure html file works. And you can do:
<a href="mailto:email@example.com?subject=why this doesn't work in px?">Click Here</a>
is there a way of making a 5 day forcast with and have the day display/update attached to it (Today, Fri, Sat, Sun..)?
use a bound label binding as below...
in the "text" field of the bound label, use the following...
It will then change to the actual day on the forecast.
Thanks Tommy!! worked great!!
Knowledge is money - Ignorance is expensive!!
no problem... I am sure that someone told me how to do it many moons ago as well !!!
Sharing knowledge is key, or it will be lost !!!
have a great weekend !!
what about the emailService
Originally Posted by CountryBumpkin
...Action Button to station:|slot:/Services/EmailService/send
also look at program/emailSender ... a little script that will do it too....can be modified if needed.
1 + 1 = 3 ( *** for very large values of 1)
...everybody wants a box of chocolates and long stemmed rose
Be brave. You cannot get eaten by an imaginary tiger.