0

I'd like to use an OpenSocial gadget within the "My Page" screen to display a Grid of results.

Clicking on a link in the grid would popup either a Dialog (like for the "Share" button) or a Flyout (like for embedded experiences in the activity stream).

How would I achieve this? Is it documented anywhere?

dvdsmpsn
  • 2,839
  • 1
  • 26
  • 40

2 Answers2

1

David there is an example of how to do this in the developer bootstrap page in Connections. You should be able to call gadgets.views.openGadget API to open a dialog.

Ryan Baxter
  • 1,237
  • 2
  • 8
  • 16
  • Thanks Ryan, For the record, the relevant gadget can be located at e.g.: http://connections4.example.com/connections/resources/web/com.ibm.lconn.gadget/test/container/gadgets/bootstrap_views.xml Requiring the following: – dvdsmpsn Feb 05 '13 at 03:10
  • *See:* https://greenhouse.lotus.com/connections/resources/web/com.ibm.lconn.gadget/test/container/gadgets/bootstrap_views.xml for a complete gadget ;) – dvdsmpsn May 08 '13 at 12:02
0

Further to Ryan's point, you can see some info on using the bootstrap page on developerworks, you'll want to look at the views example gadget. Unfortunately you can only open a dialog in Connections, the EE style flyout is not available to gadgets on My Page.

Frances McMullin
  • 5,516
  • 2
  • 18
  • 19
  • Thanks David, having access to Dialog only seems entirely appropriate - Flyout would not work well for gadgets in the right hand column. – dvdsmpsn Feb 05 '13 at 03:15