Detailed Dataset on a Page not possible?
Author: jan_bogutzki
Publication Date: 7/6/2018 5:27
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
Tags: datascource, tpp
-
Author: Peter_Jodeleit - 7/12/2018 15:53
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,
Peter0 -
Author: Peter_Jodeleit - 7/13/2018 11:24
The feature will be included in the upcoming FirstSpirit release 2018-07.
0 -
Author: Peter_Jodeleit - 7/31/2018 13:27
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.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare