dev

image post

Getting some insights from Jacoco html report

A simple script to count packages that contain classes with low coverage
Andrés Canavesi - Nov 29, 2021
After running the Jacoco report generator we can open it and see the coverage results. There are some results the I wanted to know, for example, how many packages contain uncovered classes and how many contain coverage under a given threshold


image post

Invalid request provided: AWS::AppFlow::FlowCreate - Salesforce integration

This is a common error when a field is mapped in App Flow but it doesn't exist in Salesforce
Andrés Canavesi - Nov 19, 2021
Resource handler returned message: "Invalid request provided: AWS::AppFlow::FlowCreate Flow

image post

Call an Apex method from Process Builder

See how to configure a Flow with process builder to execute an Apex method in Salesforce
Andrés Canavesi - Nov 11, 2021
As a thumb of rule in Salesforce you should always try to create new business logic through point-and-click but sometimes our logic it's a bit special and we need some Apex code.


image post

AppFlow Salesforce: how to sync up relationships

An elegant solution to sync up relationships from Salesforce to AppFlow
Andrés Canavesi - Nov 10, 2021
Only basic types such as strings or numbers can be passed through AppFlow which means that look-up fields will be ignored. There's a way you can do it with some work from using the Salesforce out-of-the-box Process Builder tool, a custom object and some lines of Apex code.

image post

flexsearch tutorial

We are going to build a small example to see how it works.
Andrés Canavesi - Nov 10, 2021
It's a module available through npm or yarn to index in-memory data. With this module, you will be able to search or display related data on your site. We are going to build a small example to see how it works.

image post

Load dynamic data into a table using Lightning Web Component

Create a custom tab to display a Lightning Web Component
Andrés Canavesi - Nov 04, 2021

image post

jsxBracketSameLine - Prettier how to configure

bracketSameLine is the new version of jsxBracketSameLine
Andrés Canavesi - Oct 29, 2021
Pro tip: instead of running by hand, you can integrate it with you favorite IDE


image post

How to configure and use testcontainer in Node.js

testcontainer as a Node.js module to create dynamic containers
Andrés Canavesi - Oct 13, 2021

image post

How to connect to a MySQL database in Node.js

Andrés Canavesi - Oct 12, 2021
To connect to a MySQL database in Node.js is pretty straightforward with the module mysql2.

image post

Node.js Express Mysql stack deployed on Heroku

How to build a rest API from zero using Node.js, Express and MySQL
Andrés Canavesi - Oct 09, 2021
Let's build a Rest API from scratch that uses a MySQL database. We are going to use Node.js and Express as a framework to generate some scaffolding for our Rest API

image post

Node.js and typescript project template

Andrés Canavesi - Oct 08, 2021
A project template with typescript, jest and linter among others configurations

image post

This is most likely not an error with the salesforce cli

Please ensure all information is accurate and try again. (Salesforce)
Andrés Canavesi - Oct 07, 2021
Error authenticating with auth code due to: grant type not supported

image post

jsonplaceholder: a free fake API for testing and prototyping

JSONPlaceholder is a free online REST API that you can use whenever you need some fake data.
Andrés Canavesi - Sep 13, 2021

image post

flexsearch example

A super simple example to show how to index a collection of data and then run a full-text search
Andrés Canavesi - Sep 09, 2021
flexsearch It's an awesome package to index in-memory data



image post

javascript lazy load images

javascript lazy load images
Andrés Canavesi - Aug 31, 2021
javascript lazy load images