Hi,
I'am very happy to get LayerToggleButton, it's exactly that i want with 3 buttons i can change state of my 50 layers by only one click on the specific button.
Now, i must parameter layers to display, it's fastidiouis and i'm afraid to make some mistakes.
i had parameted in ArcGIS Pro some tasks to display this layers, so after execute the display task, in python i can easely extract the name and the source of layer "...myfeaturelayer/[Layerid]."
But how to convert this datas in something seems to be an itemid to put in my LayerToggleButton/config_widgets_LayerToggleButton_Widget_2.json ?