eXo Platform 3.5

## Chapter 9. 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 do the following actions on the Google Gadget files:

- Create .xml files.

- Edit .xml files in the Code or WYSIWYG Editor.

- Preview them in the Preview Tab.

## Create Google Gadget

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

1. Click the New icon on the toolbar and then select Google Gadget from the drop-down menu.

2. Select File > New > Google Gadget on the top menu.

3. Open the existing gadget from the local system by selecting File > Open Local File on the top menu.

4. Upload the existing gadget directly to JCR by selecting File > Upload File... on the top menu.

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

Illustration. Google Gadget Operations

## Preview Google Gadget

To preview the Google Gadget, do as follows:

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

- Step 2: Click the Show Preview button on the toolbar; or select Run > Show Preview on the top menu.

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