Jump to content
  • 0

Favicon in DataPages


eunha

Question

7 answers to this question

Recommended Posts

  • 0

Hi! Yes, it is possible.

1. First, create an app parameter and upload your desired favicon as a file. 

 

image.png.1800f50eb0d810c4f9a2bc91daf69745.png

 

2. Then, go to your DataPage and add the code below. Click the Source first before pasting the code. The "[@app:Icon/]" part should be replaced by the app parameter you just created. You may select the app parameter by clicking the field picker beside the Source button and choosing its name.

 

<link href="[@app:Icon/]" rel="icon" type="image/x-icon" />

 

Please note that the code above should be applied in the Search form header of your Report DataPage if there is any. :)

Link to comment
Share on other sites

  • 0
On 1/1/2022 at 3:21 AM, GoodBoy said:

Hi! Yes, it is possible.

1. First, create an app parameter and upload your desired favicon as a file. 

 

image.png.1800f50eb0d810c4f9a2bc91daf69745.png

 

2. Then, go to your DataPage and add the code below. Click the Source first before pasting the code. The "[@app:Icon/]" part should be replaced by the app parameter you just created. You may select the app parameter by clicking the field picker beside the Source button and choosing its name.

 

<link href="[@app:Icon/]" rel="icon" type="image/x-icon" />

 

Please note that the code above should be applied in the Search form header of your Report DataPage if there is any. :)

I tried the solution kindly provided by GoodBoy, but it doesn't work for me. Are there any other solutions out there?

Link to comment
Share on other sites

  • 0

P.S. I must elaborate: the solution kindly provided by GoodBoy works, but only the first time. After you've hit finish and the favicon appears, one can delete the code. The problem is, if one is as clumsy as I was, and "uploads" the wrong favicon. The same code will not replace it the second time.

Any further suggestions are welcomed.

Disregard, it was cached.

 

Link to comment
Share on other sites

  • 0

Hi @BenjaminS, you can try to use the code below:

<script>
document.head.insertAdjacentHTML('beforeend', ` <link rel="shortcut icon" type="image/x-icon" href="[@app:Favicon/]" />`)
</script>

You can insert this on the Header of your submission or report datapage. Also, make sure that you're using the ".io" file extension on your app parameter.

 

-Potato

Link to comment
Share on other sites

  • 0
14 hours ago, PotatoMato said:

Hi @BenjaminS, you can try to use the code below:

<script>
document.head.insertAdjacentHTML('beforeend', ` <link rel="shortcut icon" type="image/x-icon" href="[@app:Favicon/]" />`)
</script>

You can insert this on the Header of your submission or report datapage. Also, make sure that you're using the ".io" file extension on your app parameter.

 

-Potato

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...