2

For our current implementation we are not using the HTML Design, and we've created a component to be included on our Header Include page, but as of now we always get the favicon as null Our Schema looks like this: enter image description here

and the multimedia link allows only Favicon Schema:

enter image description here

Our entity is configured as:

@SemanticEntity(
    entityName = "customizeicon",
    vocabulary = SDL_CORE,
    prefix = "s",
    public_ = true
    )
    public class InternetFavicon extends AbstractEntityModel {
        @SemanticProperty("s:icon")
        private MediaItem icon;
    }

Is there a proper way to achieve this without the need to use HTML Design Configuration?

2
  • have you set the logging of your dxa webapp to debug ? Normally, if such issues occur, the modelbuilder should provide some logging, which should give you some indication of the problem. May 11, 2018 at 14:46
  • Thanks for the comments, the problem was a wrong mapped schema to the entity, after fixing that the problem is now gone. This question can be closed. May 17, 2018 at 7:36

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.