0

We need to recover Component Info (schema id or component Template id) in order to know how to apply a condition with this info.

Via PageMeta we could observe that always component presentation meta comes null.

Definition of fields in PageMetaImpl, "this.componentPresentationMetas = null"

Info that we need to recover "getTemplateId()"

So we need if we have another alternative to recover this info of a component embedded in a page or there are another function that be able to do that.

Any advice for this?

3
  • Can you give some context? What kind of project is this?
    – Quirijn
    Nov 22, 2022 at 15:15
  • The way the question is posed it is quite hard to understand what you're trying to do, and where... can you add more info please?
    – Nuno Linhares
    Nov 23, 2022 at 17:02
  • How can recover component information via PageInfo if SDL give us only null info about component presentation? Are another function related with the page that could give us these information?
    – Sergi TG
    Nov 28, 2022 at 9:34

0

Your Answer

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