How to change favicon dynamically

Hello guys,

Could you please help me to figure out a way of changing favicon dynamically by using AddFaviconTag action or some other way?

Will appreciate your help!


To change the favicon you can read this document. Just change the IconFileName to whatever rule you decide.



Hi Marcelo,

I  tried that way but I don't know why it haven't changed. Could it be a reason of file? In  the resources I imported two icons and via Iconfilename  tried to build some logic.

Hi Meri,

On your layout you should also have a AddFaviconTag that adds the default favicon. you need to delete this one from layout and add yours.