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?

  • 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. – Harald Hoffelinck May 11 '18 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. – Alfonso Chavez N. May 17 '18 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.