Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <cffunction
  2.        name            = "yourRemoteFunction"
  3.        returntype      = "any"
  4.        returnformat    = "json"
  5.        output          = "true"
  6.        access          = "remote"
  7.        >
  8.  
  9.         <cfargument name="SomeParam"    required="false"    type="string" />
  10.  
  11.         <cfset Local.Response = Application.YourInstantiatedCFC.yourLocalFunction(
  12.                 SomeParam   = Arguments.SomeParam
  13.         ) />
  14.  
  15.         <cfreturn Local.Response />
  16.     </cffunction>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement