opensocial gadget with link to internal workspace

Is there any way to include in the noEntryLabel a link to an internal workspace document? Right now I am trying to compose the link manually, but I don't know how to retrieve the current user and format it from “user@something.com” to “user-something-com”.

This is my current code, which is missing the user part:

var link = NXGadgetContext.clientSideBaseUrl + “nxpath/default/default-domain/UserWorkspaces/“;

Any idea?

0 votes

0 answers

736 views

ANSWER