Here is one example of working dynament code to upload files and save
them to the repository:

<rde-dm:reference mode ="read-multipart" attachment-attribute ="files"
report-tag="debug"/>

<rde-dm:attribute mode="for-each" attribute="files" source="request"
alias="attachment" type="children">
     <rde-dm:include content="[#context:attachment#]"/>
     Read LS content-Type :::::: <rde-dm:attribute mode="read"
attribute="attachment.LSContentType" source="context"/>

     <!-- upload file -->
     <rde-dm:content content="[#request:imageName#logo
[##].getSystemDateAsLong()#].gif"
             importdef="importFile" importtask="importFile"
             mode="import" ref-type="named" type="blob"
             project="crm_testing"
             group="[#request:imageGroup#data/logo#]"
             ref="[#context:attachment#]"
             report-tag="debug" rde-id="1001" overwrite="true">
        </rde-dm:content>

</rde-dm:attribute>

--

You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.


Reply via email to