Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.5.3


Section


Column
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




Features used to implement the example



Example: Google Maps location for an address

Show the Google map location for an address. The adress is stored in another custom field Address (Text Field (single line)).

A valid configuration for this Calculated Text Field:

Code Blocktitle


Text to be parsed:

%{10407}

!=

null

?

"<iframe

width=\"100%\"

height=\"500\"

id=\"gmap_canvas\"

src=\"https:\/\/maps.google.com\/maps?q="

+

replaceAll(toLowerCase(%{10407}),"

","%20")

+

"&t=&z=13&ie=UTF8&iwloc=&output=embed\"

frameborder=\"0\"

scrolling=\"no\"

marginheight=\"0\"

marginwidth=\"0\"><\/iframe>"

:

null


Note that:

  • %{10407} is the field code for Address


Once configured and added to an issue screen, the result will look like this:




Other examples of this custom field

Incoming Links
pageCalculated Text Field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "calculated-field" and space = currentSpace()