{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenNTF/SocialSDK/issues/1663","labels_url":"https://api.github.com/repos/OpenNTF/SocialSDK/issues/1663/labels{/name}","comments_url":"https://api.github.com/repos/OpenNTF/SocialSDK/issues/1663/comments","events_url":"https://api.github.com/repos/OpenNTF/SocialSDK/issues/1663/events","html_url":"https://github.com/OpenNTF/SocialSDK/issues/1663","id":59308022,"number":1663,"title":"Trying to use communityService.getCommunityEvents(communityId, startDate.toUTCString());","user":{"login":"StevenRieger","id":3527145,"avatar_url":"https://avatars.githubusercontent.com/u/3527145?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenRieger","html_url":"https://github.com/StevenRieger","followers_url":"https://api.github.com/users/StevenRieger/followers","following_url":"https://api.github.com/users/StevenRieger/following{/other_user}","gists_url":"https://api.github.com/users/StevenRieger/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenRieger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenRieger/subscriptions","organizations_url":"https://api.github.com/users/StevenRieger/orgs","repos_url":"https://api.github.com/users/StevenRieger/repos","events_url":"https://api.github.com/users/StevenRieger/events{/privacy}","received_events_url":"https://api.github.com/users/StevenRieger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-27T23:09:12Z","updated_at":"2015-03-05T22:32:13Z","closed_at":"2015-03-05T22:32:13Z","body":"I found a great snippet on the playground that works great on the playground however, when I run it in my xPage I get the following :(  I am running on prem connections 4.5 and I have several other scripts from the playground that run great.  \r\n\r\nThoughts?\r\n\r\n2/27/15 3:02 PM: Exception Thrown                                       \r\nContext Path: /dblms/lmsIntraNet.nsf                                    \r\nPage Name: /xpMain.xsp                                                  \r\nControl id: dataView2                                                   \r\nProperty: value                                                         \r\nScript interpreter error, line=6, col=119: Unknown member               \r\n'getCommunityEvents' in Java class 'com.ibm.sbt.services.client.        \r\nconnections.communities.CommunityService'                               \r\n     4: startDate.setFullYear(2012,01,01);                   \r\n     5: var events = communityService.getCommunityEvents(    \r\ncommunityId, startDate.toUTCString());                                  \r\n->   6: return events;                                       \r\ncom.ibm.xsp.exception.EvaluationExceptionEx: Error while executing      \r\nJavaScript computed expression                                          \r\nat com.ibm.xsp.binding.javascript.JavaScriptValueBinding.getValue      \r\n(JavaScriptValueBinding.java:132)                                       \r\nat com.ibm.xsp.component.UIDataIterator.getValue(UIDataIterator.java:  \r\n422)                                                                    \r\nat com.ibm.xsp.component.UIDataIterator.createDataModel(UIDataIterator.\r\njava:206)                                                               \r\nat com.ibm.xsp.component.UIDataIterator.getDataModel(UIDataIterator.   \r\njava:160)                                                               \r\nat com.ibm.xsp.extlib.renderkit.html_extended.data.                    \r\nAbstractDataViewRenderer.initViewDefinition(AbstractDataViewRenderer.   \r\njava:241)                                                               \r\nat com.ibm.xsp.extlib.renderkit.html_extended.data.DataViewRenderer.   \r\ninitViewDefinition(DataViewRenderer.java:88)                            \r\nat com.ibm.xsp.extlib.renderkit.html_extended.data.                    \r\nAbstractDataViewRenderer.writeMainContainer(AbstractDataViewRenderer.   \r\njava:698)                                                               \r\nat com.ibm.xsp.extlib.renderkit.html_extended.data.                    \r\nAbstractDataViewRenderer.encodeBegin(AbstractDataViewRenderer.java:144) \r\nat com.ibm.xsp.renderkit.ReadOnlyAdapterRenderer.encodeBegin           \r\n(ReadOnlyAdapterRenderer.java:146)                                      \r\nat javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.  \r\njava:956)                                                               \r\n......                       "}}