Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
Document Properties Marker
overridefalse
Short DescriptionAuthors occasionally need to have a look at a page as if they where in the role of a reader. The pretend-being-a user space property supports switching roles. With the use of the Web API Extension and the Bookmarklets Extension switching roles is now really easy! 
Doctypetopichide
NameBeing a Pretender 
Parent
Parent Property
propertyParent
property-nameName
 

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
propertyAudience
 

Level of Experience
Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesCompetent
propertyLevel of Experience
 

Expected Duration20 min 
Subject
Name List
doctypesubject
propertySubject
 

Categories
Name List
doctypecategory
propertyCategories
 

Tags

Tag List
render-list-as-comma-separated-valuestrue
namesConfluence, projectdoc Toolbox, Web API, REST, bookmarklets
propertyTags
space-keyPDAC

 


Iteration

Iteration
valuefilled

hide
Type

Name List
doctypetopic-type
render-no-hits-as-blanktrue
namesTip
propertyType

 


Sponsors
Name List
doctypestakeholder
render-no-hits-as-blanktrue
propertySponsors
 

Sort Keyhide
Column
width30%
Panel
titleContents

Table of Contents
indent20px
stylenone

Section
show-titlefalse
titleDescription

The projectdoc Toolbox provides additional visuals for writers. For instance, every transclusion renders a box to make it obvious that information is transcluded from another page. There are also additional buttons for editing and - if you are using fragments caching - reloading caches manually.

If a author wants to have the page rendered as if she was a reader, the pretend-being-a Pretend Being A property in the user space needs to be set to the value reader. Once set, the fragment of a page shown above renders link this:

The box with the extra widgets is no longer visible.

This short tip explains how the PDAC1, the Web API Extension, and the Bookmarklets Extension support users to switch roles quickly using the pretend-being-a user space property.

Caution Box

This tip requires

Add-on on the Atlassian MarketplaceVersionLicense
projectdoc Toolbox1.14+commercial
Web API Extension1.2+free
Bookmarklets Extension1.0+free

...

Section
titleBookmarklets

What would be most productive is an entry to the page menu provided by Confluence. But if not everyone needs switching roles, this menu will soon be cluttered. What would be more convenient is the option for each user to compile her own menu according to her specific needs.

Bookmarklets allow to create menus in the browser. These menus are personalized and may be exported from and imported into different environments. Typically browsers also allow to sync them.

So how will it look like to create a pretender bookmarklet? First of all: it is already provided once you install the Bookmarklets Extension. The bookmarklet is called Pretender.

The Bookmarklet Extension provides a Bookmarklet Editor. This is a simple Confluence page with some macros attached. 


Simply select the bookmarklet you want to install to your browser and then drag and drop it to your browser's menubar.

...

Section
titleResources
Tour
TitleShort Description
projectdoc Toolbox 
Web API Extension 
Bookmarklets Extension 
Bookmarklet Editor 
Pretender Bookmarklet that changes the pretended role of a user.
Views on Documents
Document Properties 
Space Properties pretend-being-a
 Pretend Being A
Document Properties Marker Macro 
Fragments Cache for Transclusions 
curlCommand line tool and library
for transferring data with URLs.
Atlassian REST API BrowserInteractive API explorer for Atlassian products.

...