Post 6 – Building Your First Lightning Web Component for Salesforce Series

If you are already a Salesforce developer then you know that server-side Apex Unit tests are required, but client-side JavaScript tests are not and if you are like most developers, you probably think that creating tests should be optional, kind of like documenting, right?

https://saramorgan.net/2020/01/02/post-6-building-your-first-lightning-web-component-for-salesforce-series/

Sara Has No Limits

This will be the sixth of a series of posts I will be doing over the next few weeks. They will all lead up to the introduction of my new course in December 2019 titled, “Building Your First Lightning Web Component for Salesforce” from Pluralsight. These posts will contain final code snippets of the code used in each course module, but will not include all the tips and best practices about using Visual Studio Code and SFDX, along with the way I personally approach teaching in my video courses.

Handling Testing and Wrapping Up

If you are already a Salesforce developer then you know that server-side Apex Unit tests are required, but client-side JavaScript tests are not and if you are like most developers, you probably think that creating tests should be optional, kind of like documenting, right?

You might not believe this, but writing tests (even for non-required JavaScript)…

View original post 965 more words

Java client for advanced pdf conversion using a Salesforce org

All we know renderAs="pdf". nThe good news is now Salesforce has an advanced pdf converter: renderAs="advanced_pdf" <apex:page sidebar="false" showHeader="false" renderAs="advanced_pdf">
 <html lang="en-US" >
 <head>
 <meta charset="UTF-8" />
 </head>
 <body>
 <h1>Hello, world!</h1>
 </body>
 </html>
</apex:page>Still this functionality is a pilot what It means that you need to create a case and someone from support will activate It in your org. "Advanced … Continue reading Java client for advanced pdf conversion using a Salesforce org

Salesforce client for an Apex RESTful web service

An example about how to consume a Salesforce api rest, in particular: /services/apexrest/ The example shows how to authenticate using username and password to get the access token and then how to do a request to this Salesforce web service: @RestResource(urlMapping='/hellorest') global class HelloRest { @HttpPost global static String echo(String name) { String echo = … Continue reading Salesforce client for an Apex RESTful web service