I am using the sbt accessing different pieces of data from Connections ( 4.5 ) using xPages on Domino 9.01 FP2 HF384.
When I execute the code below I get an error the method can not be found. Yet this works fine on the playground when pointed to my connections instance.
Any thoughts on what could be wrong?
<xp:this.value>
<![CDATA[#{javascript:
var communityService = new com.ibm.sbt.services.client.connections.communities.CommunityService("connectionsSSO");
var communityId = "39a2302a-f07f-425d-bfcb-54f1b9564268";
var startDate = new Date();
startDate.setFullYear(2012,01,01);
var events = communityService.getCommunityEvents( communityId, startDate.toUTCString());
return events;
}]]>
</xp:this.value>