External URI in an app

@mike.maxwell @bravenel

Guys
Is there a way to open an external URL in a new webpage from an app?

Using the standard 'a href' etc does not seem to work

I'm working on a new update notification for my apps and wanted to provide a 'clickable' link to my github for that app

Thanks

Andy

4 Likes

Add
target='_blank'

to your a href tag

I tried that one and it didn’t seem to work.
I’ll try again in case there was a typo

This is how I used it.

	`input "token", "text", title: "<span title='Click Tutorial link to open webpage.' >API Token </span>" + "<a href='https://community.lifx.com/t/creating-a-lifx-http-api-token/25' target='_blank'>(Tutorial)</a>", description:"", required: true`

Ah!
I missed the ‘ ‘ either side of the _blank

I’ll try again in the morning

Cheers

Andy

I haven't tested this, but I believe the optional style: "external" in the href will pop up a new window to do things as well.

1 Like