Newforma Info Exchange Tenth Edition Help  

 

Create an Extended Widget

Perform the following steps to create an extended widget for use on the Project Home page.

You must be an administrator to create extended widgets.

To create an extended widget

In this example, you will create an extended image widget to display a weather map.

For more information on the types of extended widgets available, please refer to Extended Info Exchange Widgets.

1.     On the Info Exchange server, locate the nwc.xml file in the Info Exchange installation folder.

The default location for the file is C:\Newforma Info Exchange\Tenth Edition\UserWeb\App_Data\nwc.xml.

2.     Open the xml file in an xml editor.

3.     In the Extended Widget Set section (indicated by the <ExtendedWidgetSet> tags), add the following information to create the extended widget (a description of each field included in the widget definition appears below):

<ImageWidget ID="NortheastWeather" Title="Northeast Weather" Url="http://radar.weather.gov/ridge/Conus/Loop/northeast_loop.gif" ForceRefresh="True"/>

  • Image Widget ID. A unique identifier for the image widget. This is a required field.

  • Title. The title of the widget panel containing the image url as it should appear in the Project Home page. This is a required field.

  • Url. The url of the image to be displayed. This can be a static (JPEG) or looping GIF) image.

  • ForceRefresh. If ForceRefresh is set to true, the image will be re-downloaded from its original source on every page refresh. This is an optional field.

The code for the extended widget must be placed between the start and end <ExtendedWidgetSet> tags or it will not be available on the Project Home page.

Details for the fields required to create RSS Feed and Link List widgets are included in the nwc.xml file.

4.     Save the changes to the nwc.xml file. The extended widget is now available for users to add to the Project Home page.

For information on adding widgets to the Project Home page, please refer to Configuring Info Exchange Widgets.