Supported Views
UCSF has decided to support a number of views beyond the spec. We also decided to deprecate a few as they do not fit well within our usage and performance guidelines.
Supported View Table
- View - a gadget view of the app, one or many views may render at once. the Layout Page defines the size, and location of the view.
- Layout Page - a page that contains the container code and renders the views of the applications. The layout page determines if the application code is rendered inline or inside an iframe.
- Data Focus - The Data in this view should focus on the described relationship.
- VIEWER - Data presented is from the current Logged in User.
- OWNER - Data Presented is from the OWNER of the viewed profile.
- NULL - No User Data is available, the viewer is not logged in
- OWNER = VIEWER - The User is logged in and is Looking at their own Profile Data
| View | Spec | UCSF Layout | Data Focus | Definition | Notes |
| CANVAS | OpenSocial | special page | VIEWER | Minimal wrapping HTML, Full App | for limited use |
| PROFILE | OpenSocial | ProfilesDetails.aspx | OWNER | Renders on a user's profile page | Not sure if this should be big or small, ours is pretty big |
| SMALL | UCSF | many | VIEWER | Small, Ad-like data to entice VIEWER to CANVAS | requires special permission |
| HOME | OpenSocial | ProfileEdit.aspx | OWNER = VIEWER | Large View for Edits | OpenSocial says this should be a small view but we need it to be big |
profile should not be deprecated because the app may need to navigate to "profile" even though the profile view a given app is not approved render.