Add a cfproperty statement for the "status" property and set the
default to approved.

Sean

On Sep 17, 12:58 am, AJ Mercer <[email protected]> wrote:
> For a project I have been working on, we have just noticed that when a file
> is uploaded for a custom type, the file size property is not been set
>
> <cfproperty ftseq="2130" ftwizardStep="Project Information"
> ftfieldset="General Details"
> name="aFiles" type="array" hint="Project Date Sheet." required="no"
> default=""
> ftLabel="Data Sheet"
> ftType="array" ftJoin="dmFile"
> ftShowLibraryLink="false" ftAllowAttach="true" ftAllowAdd="true"
> ftAllowEdit="true" ftRemoveType="detach"
> bSyncStatus="true">
>
> If a file is uploaded via associated media section for a page the property
> is set.
>
> Is there something I have do do in my component to set this property?
> It looks like it is set in dmFile.beforeSave()
>
> Also, does anyone know how to make the uploaded file have the status set to
> approved?
>
> --
>
> *AJ Mercer*
> <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
> community="Open" /> <http://webonix.org>http://twitter.com/webonix

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to