Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

ReferenceProvider

Avatar

Level 3

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!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Chose the granite version.

View solution in original post

2 Replies

Avatar

Level 10

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.

Avatar

Correct answer by
Employee Advisor

Chose the granite version.