wsGetAllChannels

Provides all the channels defined in the Application.cfc as an array.

wsGetAllChannels (); wsGetAllChannels('channelName'); → returns array

This function requires Adobe ColdFusion 10 and up.  Not supported on Lucee, etc.

Argument Reference

channelName string

If specified, returns all sub-channels listed under the entered channel name. If left unspecified, the function returns all channels registered under the current application.

Examples
Sample code invoking the wsGetAllChannels function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub