exam questions

Exam 9A0-384 All Questions

View all questions & answers for the 9A0-384 exam

Exam 9A0-384 topic 1 question 19 discussion

Actual exam question from Adobe's 9A0-384
Question #: 19
Topic #: 1
[All 9A0-384 Questions]

Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?

  • A. Properties-get("cq:temp|ate"/-);
  • B. Page.getTemplate();
  • C. Page.getTemplate().getPath();
  • D. resource.getTemplate.getPath();
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://helpx.adobe.com/experience-manager/using/using-sling-apis.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
starcitynews0023
4 years, 10 months ago
Answer is C, Page.getTemplate().getPath();
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago