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 so that when a user selects an asset marker or runs assets through an action, FotoWeb opens a separate browser tab and navigates to a URL defined by the content of a metadata field as part of the URL string.

This can be used, for example, 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 (metadata field #005) is populated. This is done by choosing that the marker shows when the content of the field does not equal nothing (as in the screenshot below). 

Next, choose the marker icon and color (also shown in the screenshot).
 

Google marker setup 1.PNG

Go to the Action tab in the marker setup and select Go to URL. Enter the URL to execute when a user selects 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.

For a complete list of workflow asset tags, see Dynamic tags. 

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 following 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}}