-
Improvement
-
Resolution: Fixed
-
Major
-
6.2.10
-
None
-
None
In our Ecommerce Headless demo, we have a requirement to fetch custom NodeTypes with the TemplateAnnotationsEndpoint in addition to normal Page nodes. This is currently not possible, but would be very easy to implement. I have created and attached a working implementation for this. With this change, it is also possible to fetch campaigns from the Campaign manager or Mobile Pages.
It would be great if we could include this change into the standard implementation and document it properly.
Attached you find the Endpoint implementation:
TemplateAnnotationEndpointFixed.java
TemplateAnnotationEndpointDefinition.java
And our decoration file to configure it:
(light-modules/headless-ecommerce-config/decorations/spa-rendering/restEndpoints/templateAnnotations/templateAnnotationEndpoint.yaml)
1.
|
Implement | Completed | Dai Ha | |
2.
|
QA | Completed | Chuong Doan Huy |