Thanks for reporting this bug. To workaround this issue, Add the code in the sample marked in RED as shown below:1. In application_preinitializeHandler, add portal.load() just above portal.signIn(); // load the portal
portal.load()
portal.signIn();
2.private function portal_loadHandler(event:PortalEvent):void
{
signOutButton.visible = true;
if(portal.signedIn)
{
var user:PortalUser = portal.user;
helloLabel.text = "Welcome " + user.fullname;
var queryParams:PortalQueryParameters = new PortalQueryParameters(null, 20, "numViews", "desc");
queryParams.ofUser(user.username);
queryCallResponder.token = portal.queryItems(queryParams);
}
}