Page 1 of 1

How to add a favicon

Posted: Sat Apr 23, 2016 2:01 am
by jyoung
How do you add a favicon to the web server on an IBM i?

There does not seem to be a way to do this in a LANSA web page, so it looks like it needs to be done at the server.

Re: How to add a favicon

Posted: Mon Apr 25, 2016 9:16 am
by dannyoorburg
Hi,

it IS a property of PRIM_WEB, the Web Page itself, it's the Icon property.

Code: Select all

Begin_Com Role(*EXTENDS #PRIM_WEB) Icon(#SYDIMG01)
You should even be able to change it at runtime.

Danny

Re: How to add a favicon

Posted: Wed Apr 27, 2016 12:27 am
by jyoung
Gah, Looks like I somehow missed that.

That works, thanks.