The reason for the question is that in the share widget, the url (see image) shows a "?visiblelayer=" parameter but only that of the extent worked, so that got me curious
EDIT: As using the embed option look foolish if only the extent parameter works in the WAB Dev edition
Hi. I've been working on this based on this ESRI document, which seems to elude to the fact that you can make layers visible using the URL. See 'Set Layer Visibility'. Use URL parameters to modify maps—ArcGIS Online Help | ArcGIS
Of course (as with most ESRI articles), the demonstration link works, but I have not been able to get this to work with one of my own web maps.
Think your problem is that you are confusing the url abilities of the AGOL Map Viewer (which is what your link is referencing) and the supported url parameters of WAB:
Perhaps, but shouldn't modifying the URL for a webmap and a webapp work basically the same? For example, using the /?find= with a wemapp URL and using &find= with a webmap URL both do the same thing.
So if I have a webmap that is used in a webapp, shouldn't I be able to turn a layer visible regardless of whether it is in a map or an app??
Hopefully that makes sense.
Actually No, As the only url parameters that are parsed from the url in WAB are those that are supported by the App and not all the one supported by the web map.