Hi Arindam,

To download a pdf file you just need to add a request in controller and inside 
view-map entry set the type as "screenfop", content-type as "application/pdf" 
and encoding as "none".

Now in Screen widget section you have to add '.fo.ftl' template under <xsl-fo> 
</xsl-fo> tag.

You can take reference from http://bigfish.salmonllc.com/bfDemo.html.

In admin module go to the 'Customer' section and search for a customer. Then 
take the mouse over to tools icon(very right in list) and click on 'Export 
Customer To Pdf' link. It will allow you to download a customer pdf file.

Hope it will help you! Please feel free to ask any query.

Thanks,
Praveen Agrawal
[email protected]


-----Original Message-----
From: Arindam Kesh [mailto:[email protected]] 
Sent: Friday, February 15, 2013 12:51 PM
To: [email protected]
Subject: Catalog Manager: How to add a link for file download, to a Product?

Hi,

I have created a product using Catalog Manager UI and I am able to see the 
product in http://localhost:8080/ecommerce. Now I want to add a hyperlink to 
the product page. Using this hyperlink, I should be able to download a certain 
PDF document from the Ecommerce page. How do I do that?

Please help.

Regards,
Arindam


Reply via email to