Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
We have a managed package which uses FLEX, can some tell me how to set the value for ClientId in Flex in SOAP Header.
Thanks
Siddharth
Astadia
It should be similar to the way it's set in the AJAX Toolkit (except in ActionScript) as shown in the docs:
sforce.connection.client="ClientID";
But you must be sure the clientID is hidden from the user otherwise it will fail the security review.
Hope that helps,
Sati
Hi,
In flex i am not even getting any property like this to set the client Id. I have already done this in .Net and Ajax but not finding a way for Flex. Any help or a sample piece of code would be appretiated.
Use the Flex Toolkit (see tutorial at: http://wiki.developerforce.com/index.php/Tutorial:_Creating_Flex_Salesforce_Mashups) Add client="YOUR_CLIENT_ID" into the FLEX markup language
<salesforce:Connection id="force" client="YOUR_CLIENT_ID" />
If you are using the scripting language instead of the FLEX markup language, you can pass the Client ID
force.client("CLIENT_ID");
Hope this helps.
Best,
Danny
It should be similar to the way it's set in the AJAX Toolkit (except in ActionScript) as shown in the docs:
But you must be sure the clientID is hidden from the user otherwise it will fail the security review.
Hope that helps,
Sati
Hi,
In flex i am not even getting any property like this to set the client Id. I have already done this in .Net and Ajax but not finding a way for Flex. Any help or a sample piece of code would be appretiated.
Thanks
Siddharth
Use the Flex Toolkit (see tutorial at: http://wiki.developerforce.com/index.php/Tutorial:_Creating_Flex_Salesforce_Mashups)
Add client="YOUR_CLIENT_ID" into the FLEX markup language
<salesforce:Connection id="force" client="YOUR_CLIENT_ID" />
If you are using the scripting language instead of the FLEX markup language, you can pass the Client ID
force.client("CLIENT_ID");
Hope this helps.
Best,
Danny