Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

If page id corresponding then ...

Daniel Vlad
Contributor
February 19, 2018

How can I query the page id so if the corresponding ID is true, he will executing my command? In my case, he should choose another export scheme (scroll office).

Unfortunately it does not work with my code:
#ElseIf ($ pageManager.getPage) == "274334942")

I try this one, also doesn´t work:

$content.getIdAsString()

 

 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
October 23, 2023

Hi @Daniel Vlad ,

try the following code :

$ pageManager.getPage(274334942L)

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events