Try our conversational search powered by Generative AI!

Page Routing Related


I have this WishlistPageController and It has its own Default View.

I have created another view for Wishlist to be rendered/printed as a PDF. For this I have created an action method(WishlistprintPDF) inside WishlistPageController.

Now I need to call this WishlistprintPDF Action method from by DefaultView.

I have tried used Ajax call -> It returns a bytestream, which i currently don't prefer

What I need is a straight forward url base route to the WishlistprintPDF Action method from my defaultView.

Any help is much appreciated!

Jun 27, 2023 18:26

Hi Ram,

Hae you seen this old post that discusses rendering any page as a pdf?


Jun 28, 2023 8:15

Thanks Paul for your input!

We fixed this by having a separate CMS page with required layout for the PDF.

We had used NRECO PDF Generator library for our purpose, which turns view into a PDF.

Jul 05, 2023 9:25

Given browsers have the ability to print to PDF, you could just create a print stylesheet instead.

Jul 30, 2023 21:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.