Home > ColdFusion, Config, Flex > Configure Flex to Use ColdFusion Mappings

Configure Flex to Use ColdFusion Mappings

If you want to store your CFCs outside of your ColdFusion web root , you can do this by mapping a directory in ColdFusion.  This is all well and good, except by default, Flex isn’t configured to work with mappings.  Here’s the remedy:

  1. Navigate to ‘C:\ColdFusion8\wwwroot\WEB-INF\flex\’
  2. Open the ‘remoting-config.xml’ file in your favorite text editor.
  3. Locate the <use-mappings>false</use-mappings> tag.  (Around line 24 )
  4. Change the value to true. <use-mappings>true</use-mappings>

That’s it!  Now you should be able to point your remote objects to the mapped directory you set up for your CFCs using the ColdFusion Administrator.

Categories: ColdFusion, Config, Flex Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.