Skip to main content

 

Documentation & User Guides | FotoWare

Example: Navigating to a URL when executing an action or an interactive marker

A workflow can be configured in such a way that when a user clicks on an asset marker or runs assets through an action, FotoWeb opens a separate browser tab and navigates to a certain url, using the content of a metadata field as part of the URL string.

This can for example be used to display additional information about an asset in an external system.

A simple example - Googling for the content of the Title field

Start by configuring a marker that shows when the Title field is populated. This is done by choosing that the marker shows when the content of the field does not equal nothing (see screenshot below). Next, choose the marker icon and color (also shown in screenshot).

Google marker - General settings

 

Now go to the Action tab in the marker setup and enable the checkbox labeled Go to URL. Then fill in the URL to execute when a user clicks on the marker.

The screenshot below shows the current Google search syntax followed by an asset code that inserts the content of the asset's metadata field 005 - Title.

A complete list of workflow asset tags can be found in a separate topic.

Google marker setup - Go to URL

 

This is the URL that is used in the example. To try it out, copy the URL below:

https://www.google.no/search/?q={{asset.metadata:005}}

Note: Google's query string can vary from one country to another. Your browser may be set to use a country-specific version rather than the global google.com domain.

Another example: Searching for the photographer's name on flickr

The below link can be used to perform a full-text search for a photographer's name (based on the Byline field 80), in all of flickr's public collections.

In this case it makes sense to change the field check of the marker to the Byline field (80) rather than the Title (005) as used in the above example.

https://www.flickr.com/search/?text={{asset.metadata:080}}