dot notation and cfc

HI there
I am trying to access a cfc from a folder above the current folder im in..

I cant seem to do it.. ive tried everything and looked everywhere.

Is there a workaround to this..

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

you should have maped that folder in your IIS or your CF admin and you can access that folder by just referancing it.
You can map paths in CF admin not IIS.

You cannot call CFCs relatively only absolute.
Example, create a mapping to your root folder called /myApp pointing to d:\inetpub\wwwroot\myApp\ (replace with your own values) then you can call any CFC located in that directory as

createObject( "component", "myApp.someCFC" )

createObject( "component", "myApp.someOtherDirectory.someCFC" )

createObject( "component", "myApp.someOtherDirectory.etc.someCFC" )
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

chizzy60Author Commented:
how do i mapping if i have no control over the coldfusion admin..?

I dont host it.
you need to contact your provider

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I am going to call the directory that you cfc file is in "someDirectory" and the cfc someCFC

Try this:

<cfset thisPath=ExpandPath("*.*")>

and then call the cfc file like so:  #thisPath#someDirectory/someCFC
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.