-
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.
Popular Salesforce Blogs
DevOps For Salesforce - All You Need To Know
While most modern software development is Agile, small and medium scale businesses do not have the opportunity nor the resources to move in that direction. Most…
5 Ways to Speed Up Your Non-profit Business | Salesforce Guide
Mission, communication, and motivation are the three pillars of success for non-profit organizations. According to NonProfitPRO, these three steps help charities achieve their goals. First,…
Revolutionizing Sales Productivity With Salesforce Lightning Voice With Just Click To Call!
Salesforce has come up with this whole new concept of lighting voice to support the customers anywhere in the world. It is something "out of…
Popular Salesforce Videos
Sharing and Visibility With Salesforce
Watch this amazing to understand the Salesforce sharing model, and how to structure profiles, roles, and sharing rules to control visibility. Do let us know…
Salesforce Object Search Language: What is SOSL and when to use SOSL?
When to Use SOSL? Use SOSL when you don’t know which object or field the data resides in, and you want to: Retrieve data for…
Security for Salesforce Developers: Data Security
In this series, we review the most important concepts that developers must understand to create secure applications on the Salesforce platform. We talk about data…