function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
hihomeyhihomey 

Setting Client ID with Flex Toolkit

Hi,
 
I have an urgent need. I'm getting the API_DISABLED_FOR_ORG exception in Actionscript for a trial Prof. Edition. We're certified and have a client ID. How do I set this header via the Flex toolkit? Do I need to go under the covers for this, hopefully it won't be too painful.
 
Any help is much appreciated.
 
Thanks
Ron HessRon Hess
Great question,
there is no built in facility for this yet.

You will need to modify Transport.as
look at or near line 81 where headers for the HTTPservice() are constructed.

You can add your header element and value there, i believe.

It's a minor pain if you've never built the sdk/src tree before.

There is work going on in this tree, the last tested / released version is dated 11/29, so to be safe you can grab the tree as of 12/1/07.