Building custom gadgets : Creating Google gadgets : Using an external location

Using an external location

Google gadgets are stored in the following locations:

n  
n  

The location of the XML file must be given as a URI path, for example:

http://www.google.com/ig/modules/ajaxsearch.xml.

Because the gadget file renders using the Information Console, the location must be accessible from the server running Information Console. For example, an import gadget using the URI http://localhost/mygadget.xml loads the gadget from a web server on Information Console.

Google also offers a gadget hosting service for developers. If you have direct access to the server that Information Console is using, you can store Google gadgets in the server.

For example, add a directory named myGadgets to the default Windows location of Information Console:

C:\Program Files\Actuate11\iServer\servletcontainer\iportal\

Add an import gadget using that directory, as shown in the following URL:

http://localhost:8900/iportal/myGadgets/sampleGoogle.xml

Figure 8-8 shows the gadget named sampleGoogle.xml loaded from directory in the Information Console server.

Figure 8-8  Adding a local Google gadget to the dashboard

 


(c) Copyright Actuate Corporation 2011