AnsweredAssumed Answered

Why is a widget's config file name based on the label attribute?

Question asked by jenkins on Feb 25, 2015
Latest reply on Mar 2, 2015 by jenkins

I have a question about widgets in the WAB.  Why is the config file based on the widget's label instead of its name?



If the widget is named "eSearch" and I change the label to something else that I think my users will better understand, like "Search & select", why does the json config file in the configs folder change to match the new label name?



It seems to me that the label property should just be used for the text that is displayed to the user while the name attribute would be used by the code to identify the widget. 



This is not an eSearch question specifically, the out of the box widgets do this too. When this happens, your config file no longer matches the widget's folder name or name attribute.