You need to sign in to do that
Don't have an account?
Wolfgang Fernandes
Get parameters via URL using Live Agent - SalesForce
How to retrieve and pass parameters via url using live agent ? Using the Add Custom Detail I can recover only one parameter. Someone even used this requirement? If you can help, thank you !
NOTE: When adding code please use the "Add a code sample" button (icon <>) to increase readability and make it easier to reference.
Prechat on the screen where the agent has the live button I have the following code :
I'm going hardcoded because I have no information on the previous screen but I'm aware que the url will come fitted with the values. I would like know how do to recover them.
With the above it'll map that data to your Contact object and the field Email, LaunchCode__c and with the saveToTranscript method, it will save it to the LaunchCode__c field on the Transcript object.