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
kalyforminkalyformin 

Salesforce integration

We are creating a demo application that intergrates a Flex control into Salesforce. This process involves providing Salesforce user name and password within our Flex application code base Moving ahead is there a way we dont have to explicitly provide username and password within our Flex application code base?

 

Appreciate any feedback

 

 

werewolfwerewolf

Yes, you need to pass in a session ID using the {!API.Session_ID} merge field.

 

This tutorial discusses it a bit:

 

http://wiki.apexdevnet.com/index.php/Tutorial:_Creating_Flex_Salesforce_Mashups

 

Search for where it says:

 

The session_id parameter is interesting.