I am testing the SBT and when I set a data source via the fileservicedata binding e.g.
<xp:this.data>
<xe:fileServiceData var="fileServiceData1" endpoint="connections" timeout="0" clearOnRendering="true">
<xe:this.serviceType>
<xe:connectionsFileData loaded="true"></xe:connectionsFileData>
</xe:this.serviceType>
</xe:fileServiceData>
</xp:this.data>
It does not work. However if I choose the JavaScript approach e.g.
<xp:this.value><![CDATA[#{javascript://
var fileService = new com.ibm.sbt.services.client.connections.files.FileService();
return fileService.getMyFiles(null);
}]]></xp:this.value>
I get data returned. What can be the cause of failure for the first approach? It is the default approach in the xpagessbt demo db.