Skip to content
CYNOSYS

CYNOSYS

  • Salesforce
  • Javascript
©2019 CYNOSYS
Categories Salesforce

Pattern Matching Strings in Apex (Regex)

Posted on May 11, 2022May 12, 2022by xenon
regex
This article demonstrates how to use Pattern and Matcher Apex classes in Salesforce. How do I extract URLs from HTML content in Salesforce? Sample HTML - <html> …
Continue reading "Pattern Matching Strings in Apex (Regex)"
Categories Salesforce

Child to Grandparent Event Communication in LWC

Posted on March 5, 2021March 5, 2021by xenon
Events are actions or occurrences that happen in the system. In LWC, these Javascript events are used to communicate from child to parent or beyond. There are three main ways t…
Continue reading "Child to Grandparent Event Communication in LWC"
Categories Salesforce

How to generate multipart/form-data request body for Apex HTTP Callout

Posted on February 23, 2021February 24, 2021by xenon
HTTP Callouts are used for integrating external REST-based services with Salesforce. Apex provides three built-in classes to work with HTTP services and create HTTP requests like …
Continue reading "How to generate multipart/form-data request body for Apex HTTP Callout"
Categories Salesforce

Convert 18-character Salesforce Id to a 15-character case-sensitive string

Posted on February 1, 2021March 3, 2021by xenon
In Spring 21 release, Salesforce introduced new method in System.Id namespace to convert 18 charater id to 15 character. String Id_15_char = '0D5B000001DVM9t'; String Id_18_cha…
Continue reading "Convert 18-character Salesforce Id to a 15-character case-sensitive string"
Categories Javascript

Advanced Javascript Concepts

Posted on June 16, 2020June 16, 2020by xenon

This article explains how to use most advanced, but must learn Javascript concepts including Prototypes, Proxies and Callbacks.

Continue reading "Advanced Javascript Concepts"
Categories Javascript

Debugging Javascripts with Chrome DevTools

Posted on March 9, 2020December 15, 2022by xenon

A complete guide to advanced Javascript debugging using Google Chrome Developer Tools (DevTools), with step by step instructions.

Continue reading "Debugging Javascripts with Chrome DevTools"

Posts navigation

Page 1 Page 2 Page 3 Next
Search