I'm having issues trying to figure out how to set up a definition query for the layers that I'm loading into the local layer widget without having to redo the service from the server. Do you have an idea on how this can be done using the local layer widget code?
Solved! Go to Solution.
ok, I solved the mystery.
I finally got the LocalLayer in the configs folder.
The instructions that comes with the LocalLayer widget says to add the reference to the widget in:
"open the client\stemapp\themes\TabTheme\layouts\default\config.json in a text editor...."
However, Rebecca's "Web AppBuilder Developer Edition–Customization Resource List" correctly points out to add the reference in default AND layout1 folders. That made the difference.
I guess I learnt two lessons. Do not add customized widgets unless you add one ESRI's widget first to initiate creation of the configs folder.
Second, Read Rebecca's list.
THANK YOU Robert and Rebecca for your time.
Danel,
I know this is late to the conversation but WAB - Date range picker talks about definition expression