I am trying to create an api where i am trying to get entity model, but I am not able to get the entity model in DXA, my entityID is '3035-3036' where 3035 is componentid and 3036 is template id

model = ContentProvider.GetEntityModel(entityID, WebRequestContext.Localization);

if someone can help

  • 1
    Welcome to Tridion Stack exchange! Could you tell us more about your CM configuration like your Component Template and it's metadata properties? – Shahid Eqamuddin Nov 12 '19 at 17:54
  • 1
    Double-check in broker database Is that component is published with that DCP component template Id? – Velmurugan Nov 12 '19 at 19:50
  • Can you share the core.log error message of web app? – Velmurugan Nov 16 '19 at 9:46

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.