Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to detect if in preview mode, inside macro execute() funciton?

sushsada August 4, 2015

My macro must only work on actual pages, not in the "Insert Macro" dialog preview

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
sushsada August 4, 2015

conversionContext.getOutputType() is "preview" if in preview mode!

TAGS
AUG Leaders

Atlassian Community Events