LocalLayer widget error when switching themes

1058
2
08-09-2016 08:38 AM
JasonChen
New Contributor

Hi,

I installed LocalLayer 2.0 and try the WAB 2.0 and WAB 2.1.

I get this "create widget error: widgets/Coordinate/Widget" error when I switch among different themes.  If I remove the LocalLayer widget configuration from the config.json of the default layout of each theme, then this error does not occur.

Not sure if the problem is caused by the layers I added into the LocalLayer configuration.

Appreciate if anyone could help debugging.

0 Kudos
2 Replies
CynthiaKozma
Occasional Contributor II

Did you ever figure this out?  I am having the same exact problem.

0 Kudos
deleted-user-CQZbjNeBXm49
Occasional Contributor III

Cynthia & Jason,

See instruction below, which states that for every theme you need to do the following:

###Setting up the LocalLayer Widget for Other Themes:

Completing the steps above will only affect the default "Foldable Theme" for the WAB.  In order to add the Local Layer widget to the any of the other themes, you'll need to perform the same snippet addition to the appropriate config.json file located at a location similar to the path below,

```javascript
client\stemapp\themes[theme name]\layouts\default\config.json
```

Baba