我已经开发了一个iWidget,它可以用一个开放的社交嵌入体验小工具创建状态更新,但它不起作用。
这是我发送给服务器的开放社交部分数据:
"openSocial": {
"embed": {
"gadget": "http://questionmine.com/app1/design/template/widgets/openSocial.xml?__dev_proxyPolicy__=intranet_access&__dev_policySet__=GADGET_TRUSTED%2CGADGET_SSO&__dev_appContexts__=EMBEDXP",
"context": {
"communityid":"urn:lsid:lconn.ibm.com:communities.community:' . $key . '",
"id": "' . $_POST['project'] . '",
"video":"' . $video . '",
"design":"' . $design . '",
"headline":"' . $headline . '"
}
}}
这以前在另一个连接服务器上工作过,我需要做任何额外的设置才能允许这个小工具吗?
发布于 2013-06-26 19:48:46
有一个名为opensocial-config.xml的文件
例如,在Deployment Manager上,它可能是.../local/con/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/localhostCell01/LotusConnections-config/opensocial-config.xml
<developer enabled="true" allowSSOFeature="true" allowIntranetProxyAccess="true">
<developer-hosts-whitelist allServers="true">
<!--
List of base URLs that are allowed to publish 'developer-mode' gadgets
<host url="http://{host.com}/base/url/1" />
...
<host url="http://{another.host.com}/base/url/N" />
-->
</developer-hosts-whitelist>
</developer>您想要切换到启用了true的allowSSOFeature allowIntranetProxyAccess也要将白名单AllServers切换到True
编辑/local/con/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/LotusConnections-config/opensocial-config.xml
重新启动连接服务器
它应该会重新启动,并启用所有发布的小工具以呈现为EE
https://stackoverflow.com/questions/17298422
复制相似问题