When i use the json definition file in the add org ext. dialog, i cannot save without error message.
Compared to a working example of surveys it seem there are lots of differences between the json files
{
"urls":{
"icon_url":"{webresourcesSvcRef}/web/com.ibm.form.integrations.formiwidget/images/survey_widget_icon.png",
"url":"{webresourcesSvcRef}/web/com.ibm.form.integrations.formiwidget/Surveys.xml"
},
"type":"community_widget",
"name":"Surveys",
"description":"Surveys.desc",
"extid":"b9a1a165-eef4-4884-bb6a-46dc71a56e5e",
"payload":{
"defId":"Surveys",
"primaryWidget":"true",
"uniqueInstance":"true",
"loginRequired":"false",
"themes":"wpthemeWide",
"bundleRefId":"formiwidget",
"itemSet":[
{
"value":"{communitiesSvcRef}",
"name":"communitiesSvcRef"
},
{
"value":"{version}",
"name":"version"
},
{
"value":"{webresourcesSvcRef}",
"name":"webresourcesSvcRef"
},
{
"value":"5",
"name":"surveyNumberInOverview"
},
{
"value":"/surveys",
"name":"formSeverBaseUrl"
},
{
"value":"{opensocialSvcRef}",
"name":"opensocialSvcRef"
},
{
"value":"true",
"name":"isSC"
}
],
"url":"{webresourcesSvcRef}/web/com.ibm.form.integrations.formiwidget/Surveys.xml",
"modes":"view edit fullpage",
"iconUrl":"{webresourcesSvcRef}/web/com.ibm.form.integrations.formiwidget/images/survey_widget_icon.png",
"showInPalette":"true",
"helpLink":"{helpSvcRef}/index.jsp?topic=/com.ibm.cloud.communities.doc/community_survey_frame.html",
"description":"Surveys.desc"
},
"$$hashKey":"object:22"
}