Hi Ruth,
I didn't get a chance to look at the download link last night...
However, I'm slowly getting to grips with content management. I intend
to write a howto when I fully understand it. Alternatively, I could
break the howto into smaller chunks as I am learning it?
Cheers,
Chris
Ruth Hoffman wrote:
Hi Chris:
Have you a satisfactory answer to your question?
If so, could you share with us?
TIA
Ruth
Chris Snow wrote:
Thanks Erwan, will take a look tonight...
Erwan de FERRIERES wrote:
Hi Chris,
take a look to the ListTaskContent form, in the
/ofbiz/specialpurpose/projectmgr/widget/forms/TaskForms.xml file.
I'm sure you will find what you need in it !
Regards,
Le 19/10/2009 01:03, Chris Snow a écrit :
I'm just working my way through the content component and I would like
to display a link to download a PDF file. If I setup the DataResource
and Content as follows, how can I display the content?
<DataResource
dataResourceId="DR1105b"
dataResourceTypeId="OFBIZ_FILE_BIN"
objectInfo="/applications/content/data/pdftest2.pdf"
mimeTypeId="application/pdf"
/>
<Content
contentId="CDI1105"
dataResourceId="DR1105b"
contentTypeId="DOCUMENT"
/>
If the DataResource was ELECTRONIC_TEXT, I could display it in a
screen
like so:
<widgets>
<content content-id="CDI1105" />
</widgets>
How can I adapt this to work for the PDF download link?
Many thanks in advance,
Chris
--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP
Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk