Skip to main content
added 6 characters in body
Source Link
Saurabh Gangwar
  • 6.5k
  • 1
  • 16
  • 32

A Page has component presentations on it. And, and a component presentation is component plus component template. In your case, you want the component so that you can fetch Title field from it.

So, all you need to do in PT code is:

  1. Get the component presentations array on the page.
  2. Select the component presentation of your need.
  3. Get the component out of the component presentation.
  4. Get the title field value from the component.

A Page has component presentations on it. And a component presentation is component plus component template. In your case you want the component so that you can fetch Title field from it.

So you need to do in PT code is:

  1. Get the component presentations array on the page.
  2. Select the component presentation of your need.
  3. Get the component out of the component presentation.
  4. Get the title field value from the component.

A Page has component presentations on it, and a component presentation is component plus component template. In your case, you want the component so that you can fetch Title field from it.

So, all you need to do in PT code is:

  1. Get the component presentations array on the page.
  2. Select the component presentation of your need.
  3. Get the component out of the component presentation.
  4. Get the title field value from the component.
Source Link
Saurabh Gangwar
  • 6.5k
  • 1
  • 16
  • 32

A Page has component presentations on it. And a component presentation is component plus component template. In your case you want the component so that you can fetch Title field from it.

So you need to do in PT code is:

  1. Get the component presentations array on the page.
  2. Select the component presentation of your need.
  3. Get the component out of the component presentation.
  4. Get the title field value from the component.