Unanswered
Hello,
You could of course manually upload and track it, but if you want to determine that it is relatively universally here:
Q2_CONFIG.filemap['assets/images/logos/logo.png']
Q2_CONFIG.filemap['assets/images/logos/logo_large.png']
From a Tecton app it would be window.parent.Q2_CONFIG
I would recommend some kind of override in like WEDGE_ADDRESS_CONFIGS or something just in case it is not there.
46 Views
0
Answers
4 years ago
4 years ago
So this isn't an image that we'll upload. We're trying to use the FI's logo. For example in the sandbox dashboard it has the Total Access logo in the top left. We're trying to see if we can use that same logo in our embedded page
— David Maksimov 4 years agoBecause TotalAccess is the default logo. It will show as undefined if you call: https://demo.q2.com/salesdemo_experimental/uux.aspx#/login
— Trey Teter 4 years agoBut if you go to Salesdemo here:
https://demo.q2.com/salesdemo_experimental/uux.aspx#/login
open up the console by inspecting and running the command:
window.parent.Q2_CONFIG.filemap['assets/images/logos/logo.png']
You will see how it will behave in most environments.
Oh gotcha. Thanks for the clarification
— David Maksimov 4 years agoIs there a way we can have this config variable available in the sandbox? We want to make sure we can test this out before we push it to production
— David Maksimov 4 years agoHello, my recommendation is to use WEDGE_ADDRESS_CONFIGS. There is no easy way to populate that value. Plus, WEDGE_ADDRESS_CONFIGS is more flexible.
— Trey Teter 4 years ago