Posted 29 June 2009 - 01:54 PM
How to lock a global canvas? According to Create a Global Canvas document on this website, I can turn the locked attribute to be true.
The locked atttribute is for the mashcanvas tag or for portletref tag. I tried with both, but cannot lock my canvas.
Posted 30 June 2009 - 01:53 PM
<body urlType="shared" url="portal.jsp?staticMode=true"/>
The locked attribute will prevent the user from removing portlets on the tab I have noticed several odd behaviors for this setting in testing things for this thread, so I am going to log them as issues. I will keep this thread up-to-date with updates/findings.
For the time being, set the tab that the canvas is bound to as static and that will lock everything sdown and ensure the user cannot make any further changes. It is essentially the same thing the "locked" attribute promises to be, but I can verify it functions as documented. I use it all the time.
<body urlType="shared" url="portal.jsp?canvasName=someLockedCanvas&staticMode=true"/>