What you probably want to do is use setData within your manifest.cfc

Use the code below as a guide, replacing type and property names.

<cfset objType = CreateObject
("component","#application.types.yourType.typepath#")>
<cfset stProps = structNew()>
<cfset stProps.objectID = createUUID()>
<cfset stProps.prop1 = propValue1>
<cfset stProps.prop2 = propValue2>
<cfset stProps.prop3 = propValue3>
<cfset crtImage = objType.setData(stProperties=stProps)>

Chris


On Jan 15, 10:52 pm, elaine montoya <[email protected]> wrote:
> I know how to create a plugin. And I've create the manifest.cfc when I
> do. But I have never created a plugin with content that I want to be
> inserted into a database. I'm looking at the farcryCMS manifest - and
> it is no different than a normal manifest. I don't see anything where
> it is inserting content into a database. Are you seeing something I'm
> not?
>
> elaine
-- 
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