What is happening in the code is that i receive an email which i set
to a custom type, the email attachments are filtered and put into
dmfile or dmimage, then i want to bind the email and the email
attachments by array.

(The array is also used when people send an email and are selecting
email attachments through dmfile and dmimage.)

I set an objectid bij createuuid and use that to set the email
objectid and the data value for the array table, an earlier set
objectid by createuuid is used to set the dmfile or dmimage objectid
and the parent value for the array table.

So then do i need a structure like you state above? A appendArray
structure instead of createData?

On Nov 3, 2:18 pm, Tomek Kott <[email protected]> wrote:
> Marco, I believe you don't want to set the array property directly. Instead,
> you want to do something like the following:
>
> getData( objectid of the parent )
> appendArray( dataID )
> setData.
>
> Basically, you need to go through the parent type to set the array using
> setData or createData. Otherwise you need to create your own query, as
> FarCry doesn't (I believe) work with array tables except through the
> original type.
>
> Tomek
>
> On Mon, Nov 2, 2009 at 6:50 PM, Marco van den Oever <
>
> [email protected]> wrote:
>
> > I don't get an error, it's a webtop list with code that executes on
> > load.
> > Am debugging with cfdump, this code seems to be the problem as when i
> > cfdump an existing variable under it, it isn't dumped but the list
> > loads.
>
> > How can i debug better?
>
> > On Nov 3, 12:22 am, modius <[email protected]> wrote:
> > > What is the error?
>
> > > -- gb
>
> > > On Nov 3, 9:14 am, Marco van den Oever <[email protected]>
> > > wrote:
>
> > > > Hi all,
>
> > > > I am trying to create a array record to bind 2 items by array:
>
> > > > <!--- set file and email objectid to emailberichten_aemailafbeeldingen
> > > > array --->
> > > > <cfset obj = createObject
>
> > ('component',application.stcoapi.emailberichten_aemailafbeeldingen.typePath
> > ) /
>
> > > > <cfset stprops = {} />
> > > > <cfset stprops.data = emailantwoordobjectid_bindinguuid />
> > > > <cfset stprops.parentid = emailberichten_aemailbestanden_bindinguuid /
>
> > > > <cfset stprops.seq = "1" />
> > > > <cfset stprops.typename = "dmImage" />
> > > > <cfset obj.createData(stProperties=stprops) />
>
> > > > All variables and table exists, any tips???
--~--~---------~--~----~------------~-------~--~----~
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