Creates a link to the current page with an updated querystring. To be used in ThemeBuilder panels, will not work if added in the Confluence editor.
Categories: navigation
Storage Format
<ac:macro ac:name="panel-querystring"> <ac:parameter ac:name="parameter">value</ac:parameter> <ac:rich-text-body> <!-- link name --> </ac:rich-text-body> </ac:macro>
Wiki Markup
{panel-querystring:parameter=value} <!-- link name --> {panel-querystring}
Parameter | Name | Description | Type | Default | Required |
---|---|---|---|---|---|
addquery | Add Query | The query string to add to the current url | string |
| |
removequery | Remove Query | The query string to remove to the current url | string |
| |
class | CSS Class | The CSS class to add to the link | string |
| |
id | HTML ID | The HTML id to add to the link | string |
| |
tooltip | Tooltip | The tooltip to use on the link | string |
| |
flag | Flag | A list of flags, one of which must be defined for the content to be displayed | string |
| |
notflag | Not Flag | A list of flags which must not be defined for the content to be displayed | string |
|
<ac:macro ac:name="panel-querystring"> <ac:parameter ac:name="addquery">food=cheese</ac:parameter> <ac:rich-text-body> Add Cheese </ac:rich-text-body> </ac:macro>
{panel-querystring:addquery=food=cheese} Add Cheese {panel-querystring}
When used on a page with spaceKey AD and page name Parent, the link when clicked changes this url
<domain>/display/AD/Parent
to
<domain>/pages/viewpage.action?title=Parent&food=cheese&spaceKey=AD
There is information in the url that can be used for additional functionality in the page.