add pdf file to ecommerce product site for download

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

add pdf file to ecommerce product site for download

Robert Gan
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
Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Harsha Chadhar
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." <[hidden email]>
To:
[hidden email]
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


Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Robert Gan
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?
Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Robert Gan
This post was updated on .
ah no, funny now it works when I changed language to english....crazy...ok thank you!

Edit: Seems not to be the language. Yesterday it has not worked now it works, maybe I was almost sleeping :)

Thanks again!
Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Robert Gan
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
Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Harsha Chadhar
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." <[hidden email]>
To:
[hidden email]
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


Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Robert Gan
ah thats great, thanks
Reply | Threaded
Open this post in threaded view
|

Re: add pdf file to ecommerce product site for download

Prasad
Can you please forward the mail content to my mail prasad@cogxar.com.... even i am facing the same problem...

Thanks in advance...