Description
This macro will hide its contents from the viewer if the context matches the parameters specified.
...
Note |
---|
|
Info |
---|
If the macro is added to a page with default values for all parameters, by default, the content within the macro body will be displayed after the page is published. This happens regardless of the value of the Match Using parameter, either all, or, any. |
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Start Date |
|
| The date and time from when the content should start being hidden, with respect to the server's timezone.The system will” then all items listed must match. | |||||||||
End Date |
|
| The date and time from when the content should stop being hidden. | |||||||||
Match Using |
|
| Default The default value is set to Any. | Set to “all” or “any“"all” or “any.”
For example:
User groups added - A, B, C The “user“ "user“ should be part of all the groups A & B & C for the content to be hidden with the Match Using: All criteria. Say if If the user is not part of C, then the content is not hidden in this scenario.
User groups added - A, B, C The “user“ "user" can be part of any group (A or , B, or C) , for the content to be hidden with the Match Using: Any criteria. | ||||||||
Users |
| Select the list of users to match. | ||||||||||
Special Username |
| The user to match, using unique usernames:
| ||||||||||
User Groups |
|
|
| The list of user group(s) to match. Type the group name and select from the dropdown option. (Cloud only) The group(s) to match are separated by a comma or semicolon (Server and Data Center only). e.g., 'confluence-users' will match all logged-in users. | ||||||||
Space Permissions |
|
|
| This property allows you to define whether the content” content" then followed by permission type, e.g., @self: view
These are the permission types:
| ||||||||
Content Types |
|
|
| The (list of) page types. May be:
| ||||||||
Display Types |
|
|
| This property allows the user to hide content only in a document exported to PDF or Word and not on the Confluence page. The (list of) display modes:
For more detailed information on Display Types usage and behaviors, check the Display Types parameter matrix page. | ||||||||
Current Space |
|
|
| The list of space keys for the spaces will be displayed in. | ||||||||
Action Types |
|
|
| The action is taking place.
| ||||||||
Labels |
|
|
| The list of labels to test is present or absent. For more detailed information on Label usage and behaviors, check the Label parameter matrix page. | ||||||||
HTTP Headers |
|
|
| The list of header "name:value" pairs to check for. This can either be of the form "name*:exact value" or "name::*regular expression". For example, to check if the current browser is Firefox, set it to This will confirm that the 'User-Agent' header contains 'Firefox'. What headers are available will depend on the browser being used. | ||||||||
Scope |
|
|
| (Since 1.6.0) Tests if the current location is in the specified scope. You can specify a particular page or set the scope to the children, descendants, or ancestors of another page:
| ||||||||
Trim |
|
| truefalse | If set to |