1 Reply Latest reply on Feb 3, 2010 12:03 AM by SunilAdobe

    Change Service Destination at runtime


      I´m working with Coldfusion cfc´s as dataprovider.


      How can i change the path to the cfc at runtime?





        • 1. Re: Change Service Destination at runtime
          SunilAdobe Adobe Employee

          If you are using the DCD workflow that is data menu connect to Coldfusion, this is a bit cumbersome, you have to change the source attribute of the service by using


          Myservice.serviceControl.source = "changed CFC";

          But I would not recommend this as your types and methods would have got defined for the earlier CFC.


          If you are not using DCD workflow and just using RemoteObject, then you can change this source attribute.




          1 person found this helpful