ReferenceProvider | Community
Skip to main content
olegd52630483
Level 2
October 23, 2018
Solved

ReferenceProvider

  • October 23, 2018
  • 2 replies
  • 1327 views

I would like to list my own references in the ReferenceDialog

when I publish a page on AEM 6.4.

The question is, which interface do I have to implement:

com.day.cq.wcm.api.reference.ReferenceProvider (marked as depricated for AEM 6.4)

or

com.adobe.granite.references.ReferenceProvider

Thank you!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Chose the granite version.

2 replies

smacdonald2008
Level 10
October 23, 2018

If one is marked depreciated - then use the this one: ReferenceProvider ("The Adobe AEM Quickstart and Web Application.")

The use of this API could be implemented in a custom workflow step that you use to publish a page.

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 23, 2018

Chose the granite version.