It seems to me that your gadget is not quite up-to-spec. You're initializing canvasView with gadgets.views.ViewType.FULL_PAGE and profileView with ViewType.DASHBOARD.
http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/Gadgets-API-Specification.html#gadgets.views.ViewType Our own docs do indeed offer these views, but the canonical name for them is the opensocial name (i.e. "canvas" and "profile"). If you initialize profileView with "profile" and invert the if clause in your main() function, your gadget will survive this and future updates: if (currentView.getName() == "profile") { retrieveDataForProfileView(); } else { // canvas, default view retrieveDataForCanvasView(); } -- You received this message because you are subscribed to the Google Groups "orkut Developer Forum" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.

