addedValuesDocs

 
Home

Variables

Forms

Reports

Queries

Groups

Globals

Preferences

Triggers

Updaters

Audit Tables

Timed Tasks

Import

Export

Remote Search

Tropes

Help

Macros

Report a Bug

 
 

Editing Report pictureListerRicoPicture.

A Report template to build text using values from addedValues variables in a context. A context can be the current message, the current member or a refererence to and item in a "Hit list" returned by a search.

Use this page to modify the contents and layout of report pictureListerRicoPicture. You may use variables in several ways. The simplest way is to show its value by referencing it, and you an use the following shorthands in reports to call macros with the variables current values. In the list that follows, multiply valued variables must be subscripted, such as variable[subscript], where the subscript must be a literal number or a language code.

  • [[variable]] - Inserts current value of a variable. The variable may be a global.
  • [[variable pictureRef]] - Inserts current value of variable as a picture. The variable may be a global.
  • [[variable shortcuturl]] - assumes current value of variable is a shortcut, and returns the url it contains. The variable may be a global.
  • [[variable shortcutStaticURL("optional template name"e;)]] - assumes current value of variable is a shortcut, and returns the url it contains, converting to the static site url if the page is being static rendered. The optional template name applies in sites configured for Scalable Content. The variable may be a global.
  • [[variable shortcut]] - Inserts current value of variable as a shortcut. The variable may be a global.
  • [[variable activeLink]] - Inserts current value of variable as an active link. The variable may be a global, but must take a string value which is an email address or url
  • [[variable mailthisPage("reportname", "target", "templatename")]] - Inserts current value of variable as the text of a link to the addedValues mailpage data entry page, specifying the report called reportname. target is optional, when provided sets the target in the link. templatename is optional, when provided sets the template of the page the user sees to specify the destination and personal message.
  • [[variable reportpageLink("reportname", "templatename", "target")]] - Inserts current value of variable as the text of a link to a page which displays the hit details using the report called reportname. templatename is optional, when provided sets the template of the page. target is optional, when provided sets the target in the link.
  • [[variable reportpagePopup("reportname", "templatename", "width", "height", "scrollquot;, "resizable")]] - Inserts current value of variable as the text of a link to a popup window which displays the hit details using the report called reportname. templatename is optional, when provided sets the template of the page. Width, height, scroll and resizable are optional, they will override the default parameters of the addedValueMacros.getPopupLink macro which generates the link
  • [[variable processmacros]] - Inserts current value of variable with shortcuts expanded and macros processed. Illegal macros in the text are first neutered.
  • [[variable labellookup("global variable name")]] - 'looks up' value of variable in the title part of the pre-defined values of the global variable and returns value part if found. Inside macros expression use the builtin string function labelLookup(<string expression>, global variable name) to lookup the value of the expression.
  • [[variable asLinkTo("linked variable name")]] - Returns the value of the linked variable for the entity pointed at by variable. The variable must be string valued, and take vaue shortcut, pictureRef or gem which each point at other entities.

Two other shorthand ways to report all the values of a multiple valued variable are

  • [[variable list(delimiter)]] - Inserts current values of variable as a list. delimiter is optional, if absent, no parentheses are permitted and a comma is used to separate values. If present, the delimiter must be a quoted character string. The variable may be a global.
  • [[variable ul(params)]] - Inserts current values of variable as an HTML unordered list. params is optional, if absent, no parentheses are permitted. If present, the params must be 1 to 4 quoted strings specifying the string to start the report (default "<ul>"), the string to end it (default "</ul>"), the string to start each item (default "<li>"), and a string to end each item (default "</li>") - in that order.

Most powerfully, any appearance of a variable name in a macro expression will be replaced by the current value just before the macro is evaluated at run-time. You may use all legal macros and [[addedValuesbuiltins]]. For example, if variables called picName and picWidth existed, you might write

{pictureRef(picName, "alt text here", width:picWidth)}

Two commonly used addedValues macros, query and page, have special pseudo-macros which take constant parameters. Using these allows addedValues to keep track of in-use reports, queries or variables and protect against their deletion while in use.

  • [[call report("reportname")]] returns the same result as {addedValueMacros.page("reportname")}
  • [[call query("queryname", "reportname")]] returns the same result as {addedValueMacros.query("queryname", "reportname")}
  • [[call query("queryname", "reportname", "sortBy")]] returns the same result as {addedValueMacros.query("queryname", "reportname", "SortBy")}
Revert to:   discarding saved version

Report definition

Eligible Variables (see also Builtins)

  • global String addedValues.logo
  • global String domainNamePattern
  • global String groupNames
  • global String USPhoneNumber
  • global String USstates
  • global String USZipCode
  • String alsoListedIn
  • String attachFile
  • String authorName
  • String body
  • String bodyType
  • Integer ctReads
  • Row Placeholder episodeIPTC []
  • String episodeIPTCnumber [] (episodeIPTC)
  • String episodeIPTCnumberString [] (episodeIPTC)
  • Integer image.height
  • String image.mimetype
  • String image.shortcut
  • String image.url
  • Integer image.width
  • Integer inResponseTo
  • String ipAddress
  • Boolean isStaticRenderCurrent
  • Timestamp lastUpdate
  • String member
  • Timestamp mostRecentChange
  • Integer msgnum
  • Boolean neverTrackChanges
  • String newsItem.department
  • String newsItem.description
  • Boolean newsItem.flPosted
  • Boolean newsItem.flReleased
  • Timestamp newsItem.PostTime
  • String newsItem.url
  • Row Placeholder pluginInfo.commentIt []
  • String pluginInfo.commentIt.content [] (pluginInfo.commentIt)
  • String pluginInfo.commentIt.email [] (pluginInfo.commentIt)
  • String pluginInfo.commentIt.permaLinkURL [] (pluginInfo.commentIt)
  • String pluginInfo.commentIt.permalinkURLfragmentID [] (pluginInfo.commentIt)
  • String pluginInfo.commentIt.poster [] (pluginInfo.commentIt)
  • Timestamp pluginInfo.commentIt.postTime [] (pluginInfo.commentIt)
  • Boolean pluginInfo.commentIt.privateComment [] (pluginInfo.commentIt)
  • Timestamp postTime
  • String responses
  • String setNameTo
  • String setPathTo
  • String setSubjectTo
  • String siteStructurePaths []
  • String imageShortcut
  • String lowcaseSubject
  • String memberName
  • String storytype
  • String subject
  • String template
  • Row Placeholder trackback.inbound.urls []
  • String trackback.inbound.urls.excerpt [] (trackback.inbound.urls)
  • Boolean trackback.inbound.urls.flPosted [] (trackback.inbound.urls)
  • String trackback.inbound.urls.title [] (trackback.inbound.urls)
  • String trackback.inbound.urls.url [] (trackback.inbound.urls)
  • String trackback.inbound.urls.weblogName [] (trackback.inbound.urls)
  • Timestamp trackback.inbound.urls.whenPing [] (trackback.inbound.urls)



Create your own Manila site in minutes. Everyone's doing it!