Select to view content in your preferred language

It's possible to disable links to layers REST description in web map?

1153
4
Jump to solution
11-04-2016 01:14 AM
ZdeněkSoldán
Regular Contributor

Hello,

I would like to ask if it's possible to disable links to layers REST description in web map. This option is enable for every layer from web map after click on the three dots and I need to disable it.

Thanks for help.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  Sure you can disable that option in the LayerList widgets settings dialog by unchecking "Description / Show Item Details / Download"

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  Sure you can disable that option in the LayerList widgets settings dialog by unchecking "Description / Show Item Details / Download"

ZdeněkSoldán
Regular Contributor

Hello Robert,

Thank you for your answer. I tried to change the option DescriptionOrShowItemDetailsOrDownload in config.json to false. I also tried to comment this whole option, DescriptionOrShowItemDetailsOrDownload: "url" in PopupMenu.js and options in settings.js but I still see the option in my application...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  You should not have to mess with the json manually or the PopupMenu.js as the widgets settings dialog has a UI option for disabling this.

0 Kudos
ZdeněkSoldán
Regular Contributor

Oh man...

Now I look like a stupid  

Thank you

0 Kudos