the way I read matts reply, is you have to take it out of the pdf before
you enter it into ofbiz. then he gave reasons why this is the case.
which is, if you try to use a pdf, the responses will not be recorded
into ofbiz, but will be done on the users desktop. this would require
you to then provided a whay for the user to upload the pdf.
My perspective:
This would not be ofbiz survey but a seperate pages you created in ftl
with the pdfs linked to where the images are in ofbiz.
the page would have a link to upload the pdf, once completed, into a
folder on ofbiz.
Santosh Malviya sent the following on 7/16/2010 10:40 PM:
Hello Matt,
Could you share how to do it with html form, I tried with html/text but it
was giving error of "Error generating PDF: java.io.IOException: PDF header
signature not found."
Thanks and Regards
Santosh Malviya
On Sat, Jul 17, 2010 at 7:00 AM, Matt Warnock<
[email protected]> wrote:
You might try calling PDF Toolkit (pdftk), Adobe Acrobat on a PC/Mac, or
something similar to parse the data out of the PDF file so it can be
stored in OFBiz.
However, generally speaking, users might prefer a direct-entry html form
over a PDF, that has to be saved locally, altered in place, and
emailed/uploaded back.
--
Matt Warnock<[email protected]>
RidgeCrest Herbals, Inc.
On Fri, 2010-07-16 at 09:30 -0700, BJ Freeman wrote:
the show stopper is there is no provision to read from a Pdf and make it
entity formatted data.
Santosh Malviya sent the following on 7/16/2010 8:57 AM:
Hello list,
I have to generate questions from pdf in survey, for this I followed
these
steps: -
(1) Created dataResource with mimeTypeId "application/pdf" and
dataResourceTypeId with "image"( I tried it with survey and
surveyResponse
but it was giving error of not supporting)
(2) Uploaded a pdf in which I put data for surveyQuestions.
(3) Created a new content with contentTypeId "document" and then
associated
the created dataResource to the content.
(4) From surveyId tab I added pdf content id to the survey.
(5) Then I went to the questions tab under survey and tried to apply
questions from category drop-down(it shows name of added content
id)
but it does not show any questions from pdf after applying the selected
category.
Are these steps are correct or am I missing something.
Thanks and Regards
Santosh Malviya