You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "Robert G." <ga...@mercon24.de> on 2013/07/16 22:00:34 UTC

add pdf file to ecommerce product site for download

hey guys, 

I know the subject is lots of time here, but I could not get the right way.
Maybe someone has a hint for me.

I have a product and want to offer a data sheet as pdf for free download for
my customers.

I found the content tab on product where I can add a download content.

there I choose a file from my local desctop and upload it.

the system creates a content and a data resource. There I added the mime
type "...pdf"

But I cannot download the content. Do I have to put the file by hand in a
specific folder of the application and link the dataresource to it?

Cause this way I want to avoid, because normal employees do not have acccess
to the application structure, and I want them to have an easy upload. how do
you handle these cases?

Kindly

Robert



--
View this message in context: http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: add pdf file to ecommerce product site for download

Posted by "Robert G." <ga...@mercon24.de>.
ah thats great, thanks



--
View this message in context: http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642877.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: add pdf file to ecommerce product site for download

Posted by Harsha Chadhar <ha...@tcs.com>.
Hi Robert,
                 Those files are stored in the ImageDataResource entity in 
form of Blobs (java.sql.Blob) (Since the pdf is saved in database with 
data resource type=Image).  In my opinion transferring the database into 
another system may not affect this data. it will be retained back.


-Harsha



From:
"Robert G." <ga...@mercon24.de>
To:
user@ofbiz.apache.org
Date:
07/17/2013 06:03 PM
Subject:
Re: add pdf file to ecommerce product site for download



last question:

do you know where the file is saved?

that when I transfer the database to another system and I want to have the
files there too, that I know what to copy.

thanks in advance



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642859.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: add pdf file to ecommerce product site for download

Posted by "Robert G." <ga...@mercon24.de>.
last question:

do you know where the file is saved?

that when I transfer the database to another system and I want to have the
files there too, that I know what to copy.

thanks in advance



--
View this message in context: http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642859.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: add pdf file to ecommerce product site for download

Posted by "Robert G." <ga...@mercon24.de>.
ah no, funny now it works when I changed language to english....crazy...ok
thank you!



--
View this message in context: http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642858.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: add pdf file to ecommerce product site for download

Posted by "Robert G." <ga...@mercon24.de>.
Hey Harsha, 

thanks. This is what I allready found, but that does not work :)

it creates a content and a data resource. The link is also shown, but it
throws an error concerning "no protocol" and I cannot find the uploaded file
within my data structure of the application. Do you know where it is placed?



--
View this message in context: http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642857.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: add pdf file to ecommerce product site for download

Posted by Harsha Chadhar <ha...@tcs.com>.
Hi Robert,
            Did you use the product content type= "Digital Download" for 
uploading the pdf file? if yes then you can download the uploaded file 
from Content Manager where a download link is given below the 
corresponding data resource screen. you can also provide this download 
link from wherever you want the content to be downloaded.

- Harsha




From:
"Robert G." <ga...@mercon24.de>
To:
user@ofbiz.apache.org
Date:
07/17/2013 01:32 AM
Subject:
add pdf file to ecommerce product site for download



hey guys, 

I know the subject is lots of time here, but I could not get the right 
way.
Maybe someone has a hint for me.

I have a product and want to offer a data sheet as pdf for free download 
for
my customers.

I found the content tab on product where I can add a download content.

there I choose a file from my local desctop and upload it.

the system creates a content and a data resource. There I added the mime
type "...pdf"

But I cannot download the content. Do I have to put the file by hand in a
specific folder of the application and link the dataresource to it?

Cause this way I want to avoid, because normal employees do not have 
acccess
to the application structure, and I want them to have an easy upload. how 
do
you handle these cases?

Kindly

Robert



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you