Select to view content in your preferred language

Sidebar - Text Displayed When No Feature is Selected

153
3
Jump to solution
3 weeks ago
ArmstKP
Regular Contributor

Is it possible to change this text highlighted in the screenshot below?

ArmstKP_0-1718635022524.png

 

0 Kudos
1 Solution

Accepted Solutions
SarahMcDonald_Esri
Esri Contributor

Hi @ArmstKP 

There is currently not a way to update this text, this is a request that we have heard in the past and are looking into it. 

Thanks!

Sarah

View solution in original post

3 Replies
SarahMcDonald_Esri
Esri Contributor

Hi @ArmstKP 

There is currently not a way to update this text, this is a request that we have heard in the past and are looking into it. 

Thanks!

Sarah

KellyHutchins
Esri Frequent Contributor

@ArmstKP  As Sarah pointed out we do have plans to enhance the configuration experience to let you modify the default text. We wanted to wait until we had a system in place to allow translation of those strings into multiple languages in place. We now have the ability to translate user defined strings in the app and will work on exposing these as configuration options later this year. 

In the meantime there is a "hacky" way that you can change the text you asked about if all you want to do is change it for one language.  Custom CSS can be used to hide the existing text and use a CSS pseudo element to add in new text.   

Steps:

1. Configure your Sidebar App

2. Use the "Search settings" option to search the configuration for "Custom CSS" and click Edit

3. Paste the following CSS into the Custom CSS text area after replacing the "Your custom text goes here" with the text you'd prefer. 

#popupPanel .esri-widget__content--empty:after {
    content: "Your custom text goes here";
}
.esri-widget__heading{
display:none;}

 

ArmstKP
Regular Contributor

@KellyHutchins Thanks so much for reaching out and giving me this work-around in the meantime!  Much appreciated.

0 Kudos