-
How to get Encoded Value when querying in Salesforce Batch Class?
I have created a text field on user in which i am saving the sharepoint login name which i have to use for some further api requests.
Sharepoint login name is saved in the following format: i:0#.f|membership|test@test.onmicrosoft.com
But when i query the same field in batch class strangely | character is automatically encoded to | and following system debug is shown
i:0#.f|membership|test@test.onmicrosoft.com
I want the original value stored to make a valid API request. Also i wanted to know the reason why this is happening.
Log In to reply.