Dynamic logo in "Admin >Themes" based on embedded data | XM Community
Skip to main content
Solved

Dynamic logo in "Admin >Themes" based on embedded data

  • September 15, 2021
  • 7 replies
  • 734 views

onxycircus

Dear community,
we have different webshops with the same corporate design but different logos. For the survey in question, we are currently using a theme from the admin section. Currently, a static logo is implemented there, but this can be removed at any time if it helps to solve the problem.
We now want to change the logo dynamically via an embedded data. We would tend to store the logo itself in the library, but we are also open to this.
Does anyone have an idea how to tackle this? I suspect a code-based solution, but I don't know anything about it and would appreciate your help. 🙈 In return, I am happy to offer my support with most non-code-based solutions. 😉
Many thanks in advance and best regards 😘
Marc

Best answer by onxycircus

I have now made it very simple for myself:
image.pngimage.pngThanks for your help anyway!

7 replies

Forum|alt.badge.img+3
  • Level 2 ●●
  • 42 replies
  • September 15, 2021

onxycircus My understanding based on previous posts on this topic is that logo cannot be dynamically changed. I had a similar situation. I set the logo display to none which will eliminate the white space of the logo and then used dynamic banner images as header. Create a contact list in directories and store the image URLs as embedded data. Use Authenticator to pull that ED into the survey and use it as image source (


MatthewM
Level 6 ●●●●●●
Forum|alt.badge.img+30
  • Level 6 ●●●●●●
  • 1085 replies
  • September 15, 2021

My experience too is that Embedded Data is not compatible with Admin Themes. I tried to pipe text into a header in an Admin Theme before and it would not populate, even though it does in a header created locally in a survey's Look & Feel menu.


Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2050 replies
  • September 15, 2021

You can add JS to admin themes and use it to dynamically change the logo based on the ED.


onxycircus
  • Author
  • 1 reply
  • Answer
  • September 16, 2021

I have now made it very simple for myself:
image.pngimage.pngThanks for your help anyway!


Forum|alt.badge.img+1
  • 1 reply
  • March 29, 2022

https://community.qualtrics.com/XMcommunity/discussion/comment/40556#Comment_40556Thank you so much for this. Followed your example and managed to dynamically change the logos😎


MsIreen
Level 5 ●●●●●
Forum|alt.badge.img+23
  • Level 5 ●●●●●
  • 456 replies
  • September 15, 2023

I have now made it very simple for myself:
image.pngimage.pngThanks for your help anyway!
 

I think it is borderline genius! Will do same also 


YenMejia_Voce
QPN Level 4 ●●●●
Forum|alt.badge.img+25
  • QPN Level 4 ●●●●
  • 34 replies
  • June 12, 2024

I have now made it very simple for myself:
image.pngimage.pngThanks for your help anyway!
 

Hi! Hope you’re doing well! 

I found this and I think it’s so helpful for a project I’m managing. I tried this but doesn’t work, did you have another consideration?