eXo Platform 3.5

## Chapter 8. Operations With Google Gadget

The Google Gadget file is in the .xml format with the special MIME type "application/x-google-gadget". In eXo IDE, you can:

- Create & Edit a Google Gadget.

- Preview a Google Gadget.

## Create a Google Gadget

To create the Google Gadget within eXo IDE, do one of the following ways:

The first way: Click on the toolbar and then select Google Gadget from the drop-down menu.

The second way: Go to File --> New --> Google Gadget from the top menu.

The third way: Open the existing gadget from the local system by going to File --> Open Local File from the top menu.

The forth way: Upload the existing gadget directly to JCR by going to File --> Upload File... from the top menu.

For the third and forth way, you must select the MIME type: "application/x-google-gadget".

## Preview a Google Gadget

1. Open your desired Google Gadget file which was previously saved.

2. Click on the toolbar;

Or, go to Run --> Show Preview from the top menu.

The gadget is opened in the Gadget Container of the Preview tab as described in the Google Gadget Operations illustration above.