Community
cancel
Showing results for 
Search instead for 
Did you mean: 
PaulF_IntelCorp
Employee
86 Views

Web Services Explorer Does Not Show Custom Service in Projects

For anyone having a problem with custom web services not showing up in the list of web services, update your apiconfig.json file to have these field within the service description object:

{
  "name": "Lower Case API",
  "description": "A great API",
  "dashboardUrl": "http://developer.example.api",
  "auth": "key",
  "requiredLibraries": [
      "http://example.api/example-api.js"
  ],
  "compatibleProjectTypes": [
    "com.intel.xdk.projecttype.jsapp",
    "com.intel.xdk.projecttype.webapp",
    "com.intel.xdk.projecttype.iotapp"
  ],
  "signature": "apiSecret"
}

Some previous examples have the field 'compatibleProjectTypes' placed at the wrong level within the json file. This will be fixed in the next major XDK update, expected mid to late summer of 2016. 

See this thread for additional information > https://software.intel.com/en-us/forums/intel-xdk/topic/633302 <

Tags (2)
0 Kudos
0 Replies