enonic/wem-ce — pull request #40 by vfi (2012-09-07 12:18:00+00:00)
Title: CMS-238 Use new getGraph rpc call in admin

Use new account getGraph rpc call in admin. The rpc call does not support only json post (and not form post). To call the method form the UI, you can use the following pattern:

Admin.lib.RemoteService.account_getGraph( { key: "key" }, function(r) { } );

The key is not the old "48294879823FB4892793" format, but the new "user:store:name" format. The search panel still uses the old format, but also sends over the new key format (new_key). Use this to pass in to the new rpc method.