jan_bogutzki
I'm new here

Detailed Dataset on a Page not possible?

Jump to solution

Hi Community,

after getting the teasers of our blog working, we are looking forward to get the detailed pages also working with TPP. For this we have one page with a connected datasource. Generating the projects pages, firstspirit generates one page document for every blog entry with this one detail page. But how can i simulate this with TPP? Is there a special parameter for previewId() to set the detail dataset?

best regards

Jan

0 Kudos
2 Solutions

Accepted Solutions
Peter_Jodeleit
Crownpeak employee

Hi Jan,

Is there a special parameter for previewId() to set the detail dataset?

currently there is no such parameter, we added this feature request to our roadmap. We will post an update here when a FirstSpirit release including this feature is available.

If it is really urgent it should be possible to simulate the new feature using the "editorId()" function.


Best regards,
Peter

Peter

View solution in original post

0 Kudos

To be more precise: With the FirstSpirit relase 2018-07 you can now provide a page ref node and an entity to the previewId function:

$CMS_VALUE(previewId(element: ref("products").target, entity:product))$

You can e.g. iterate over a list of products provided from a contentSelect function and produce a corresponding list of preview ids using this syntax.

From a table template a call to previewId() without parameters will do the same for the current dataset / entity, this hasn't changed in this release.

Peter

View solution in original post

0 Kudos
3 Replies
Peter_Jodeleit
Crownpeak employee

Hi Jan,

Is there a special parameter for previewId() to set the detail dataset?

currently there is no such parameter, we added this feature request to our roadmap. We will post an update here when a FirstSpirit release including this feature is available.

If it is really urgent it should be possible to simulate the new feature using the "editorId()" function.


Best regards,
Peter

Peter
0 Kudos

The feature will be included in the upcoming FirstSpirit release 2018-07.

Peter
0 Kudos

To be more precise: With the FirstSpirit relase 2018-07 you can now provide a page ref node and an entity to the previewId function:

$CMS_VALUE(previewId(element: ref("products").target, entity:product))$

You can e.g. iterate over a list of products provided from a contentSelect function and produce a corresponding list of preview ids using this syntax.

From a table template a call to previewId() without parameters will do the same for the current dataset / entity, this hasn't changed in this release.

Peter
0 Kudos