How to add a favicon

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jyoung
Posts: 643
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

How to add a favicon

Post by jyoung » Sat Apr 23, 2016 2:01 am

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.

dannyoorburg
Posts: 152
Joined: Mon Jan 04, 2016 9:50 am
Location: Australia

Re: How to add a favicon

Post by dannyoorburg » Mon Apr 25, 2016 9:16 am

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

jyoung
Posts: 643
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: How to add a favicon

Post by jyoung » Wed Apr 27, 2016 12:27 am

Gah, Looks like I somehow missed that.

That works, thanks.

Post Reply