We see json Data if we preview any component Presentation, Can we have same preview functionality as we had in web form based application ?


Not sure how current this information is, but according to this blogpost, yes you can.

There's some template and webapp changes needed to get it to work, they're detailed in the post I linked to.

  • I think following the above post we can enable page preview only. We cannot have component presentation preview. But I guess we tweak it further to have CP preview for DD4T.
    – Rajesh G
    Jul 8 '17 at 10:20
  • Component Presentations will need the context of where they appear to have a realistic preview. It might be worth either offering a "simple" preview with rich text and limited styles or consider using Topology Manager to resolve all the places a Component Presentation is embedded on a page. Without a CMS page, though, there isn't an easy programmatic way to know where Dynamic Component Presentations appear.
    – Alvin Reyes
    Jul 10 '17 at 8:52
  • The blogpost is not up to date, but the approach is still the same. You may need to update the code a bit.
    – Quirijn
    Jul 14 '17 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.