AudienceView Connect
AudienceView Documentation

Using Context Types for Widget Parameters

 

Information
If you have migrated from a previous version where the widgets did not have the 'Context' dropdown, the widgets will need to be recreated to support the 'Context' types.

Each of the widget parameter fields has a corresponding 'Context Type' dropdown associated with it. These dropdowns allow you to pull information into the widgets in the same way that they allow you to pull information into the article itself.

For more information, refer to Working with Context Fields.

The following example illustrates how to use context types to pull information into the Google Maps widget.

This example also assumes that you have entered the following information:

  • The latitudinal coordinates of the venue in the Venue Configuration application Venue|Basic page's 'Data 1' field.
  • The longitudinal coordinates of the venue in the Venue Configuration application Venue|Basic page's 'Data 2' field.

For information on finding the latitude information for a location, refer to Inserting the Google Maps Widget.

  1. Open the Content Management application from the AudienceView Desktop.
  2. Select the Articles tab.
    The Articles|Search page appears.
  3. Search for and select the article that you want to work with. For more information, refer to Content Management - Articles|Search Page and Performing Searches.
    The Articles|Basic page appears.
  4. Click next to the 'Default Context' field.
  5. Select Performance.
  6. Search for and select the performance that you want to use the Google Maps widget with.
    For more information, refer to The Find Performances Dialog Box.
  7. Select the Text tab.
    The Articles|Text page appears.
  8. Click 'Insert Widget'.
  9. Select Google Maps Widget from the dropdown.
    The Google Maps dialog box appears.
  10. Select venue_data1 from the dropdown next to the 'Latitude Override' field.
  11. Select venue_data2 from the dropdown next to the 'Longitude Override' field.
  12. Complete the rest of the fields as applicable.
    For more information, refer to Determining the Latitude and Longitude of a Location.
  13. Click 'Insert Widget'.
    The Calendar widget is inserted in the article text.
  14. Click 'Apply'
    A window confirms that the application updated the article.
  15. Click 'OK'.

When the article is loaded in AudienceView Online, the latitude and longitude information of the venue associated with the performance will automatically be pulled into the widget, and the appropriate location/map will be displayed. This prevents you from having to enter the venue's latitude and longitude each time the Google Maps widget is inserted.