- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Detailed Dataset on a Page not possible?
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
- Labels:
-
OCM
-
Third Party Preview
-
TPP
- Tags:
- datascource
- tpp
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The feature will be included in the upcoming FirstSpirit release 2018-07.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

