RE: [coldbox:17193] Add Mapping To Wirebox Failing

Where is ClientService.cfc located in regards to your web root? Also, I think the models convention is plural. Usually, if you have a CFC in the root of your models folder like so:


You can map it like so:


This is because models is the default scan location that WireBox starts searching in. Alternatively, depending on what mappings you have, you can also specify a full component name like so:


Since DevBox creates new sites as a folder in the main web root. As a rule of thumb, you can always test by doing just a regular createObject() call until you find the path that actually matches the location of the CFC.



ColdBox Platform Evangelist
Ortus Solutions, Corp

ColdBox Platform: