For some reason I still can't get it to work, error thrown says it can't
find the component - i checked to make sure it was posted and correct
spelling.


Here's what I've done:


<cfset object = createObject("component", "admin.store.cf-inf.cfc.products")
/>
<cfinvoke component="object" method="ListProducts"
returnvariable="qProducts">


Thanks, Mark

  _____  

From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 3:45 PM
To: CF-Talk
Subject: RE: Simple CFC question

If C:\inetpub\mysite is your web root then you should be able to
reference it like <cfset object = createObject("component",
"admin.store.cf-inf.cfc.products") />

Ben

-----Original Message-----
From: Mark Leder [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 3:31 PM
To: CF-Talk
Subject: Simple CFC question

New to CFC's. Trying to use dot notation to point to a cfc in a
directory.
Been reading docs and trying different things.  The docs state it's
relative
to the webserver root.

Can't it to work.  How do I write it?

The cfc is in this absolute directory path:

C:\inetpub\mysite\admin\store\cf-inf\cfc\products.cfc

Thanks, Mark

________________________________
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to