Access Keys:
Skip to content (Access Key - 0)

ask

What Does This User Macro Do?

Where Is This Macro Used?

Macro Settings

Macro name: ask
Macro has body: false
Body processing:  
Output: Macro generates wiki markup

Source Code

## last updated: 9/1/08 by: othomas
## Usage: {ask}
## Optional parameters:
##   provider   = service provider name
##   department = department name
##   type       = question|action|escalation
##   topic      = unique topic key (matches smart router key)
##   topicLabel = full text label to use for topic
#set ( $provider   = $param0 )
#set ( $department = $param1 )
#set ( $type       = $param2 )
#set ( $topic      = $param3 )
#set ( $topicLabel = $param4 )
#set ( $remoteUser = $action.remoteUser.name )
{panel:title=Ask|borderStyle=solid|borderColor=#6699ff|titleBGColor=#EAECFF|bgColor=#ffffff}
#if( $provider )[Ask the $provider#if( $department ) ($department)#end#if( $type == "question" )
about#elseif( $type == "action" ) to#elseif( $type == "escalation" ) to escalate a request concerning#
{else}#if( $topic ) about#end#end#if( $topic )#if( $topicLabel) $topicLabel#else
$topic#end#end.|http://localhost:8080/smartrouter/ask?provider=$!generalUtil.doubleUrlEncode($!provider)
department=$!generalUtil.doubleUrlEncode($!department)&type=$!generalUtil.doubleUrlEncode($!type)&
topic=$!generalUtil.doubleUrlEncode($!topic)&username=$!generalUtil.doubleUrlEncode($!remoteUser)]#
{else}This article is about an unsupported topic. [Are you supporting it?|Home:Are you supporting it?]#end
{panel}

The K.B. Handbook

Documentation and information about using The Knowledge Base


Last Modified:

December 08, 2008

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
confluence-only confluence-only Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki