ReferenceProvider | Community
Skip to main content
olegd52630483
Level 2
Oct 23, 2018 4:36 PM UTC
Solved

ReferenceProvider

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.
joerghoh
joerghohAccepted solution
Employee
Oct 23, 2018 6:55 PM UTC

Chose the granite version.

2 replies

joerghoh
joerghohAccepted solution
Employee
Oct 23, 2018 6:55 PM UTC

Chose the granite version.

Translate
smacdonald2008
Level 10
Oct 23, 2018 5:06 PM UTC

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.

Translate