Can't read my widget's config in my web appbuilder

3590
1
02-21-2015 05:29 AM
zhongrenGu
New Contributor III

in the config of widget is this:

1.png

but ,in debug is this:

2.png,

,so, please help me,thanks!

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Esteemed Contributor

Zhongren,

   Is your manifest.json set to know that your widget has a config.json?

"properties": {

    "inPanel":true,

    "hasLocale":true,

    "hasStyle":true,

    "hasConfig":true,

    "hasUIFile":true,

    "hasSettingPage":true,

    "hasSettingUIFile":true,

    "hasSettingLocale":true,

    "hasSettingStyle":true,

    "IsController":false,

    "hasVersionManager": false

  }

Is your config.json in the same folder as the Widget.js and named "config.json"?

0 Kudos