Here is an article from Abhinav Asthana regarding The 2022 API Platform Landscape: Trends and Challenges
Here is the API Platform Landscape diagram by POSTMAN
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Here is an article from Abhinav Asthana regarding The 2022 API Platform Landscape: Trends and Challenges
Here is the API Platform Landscape diagram by POSTMAN
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Sharing here a piece of code for Clearing validation errors on clicking the clear filters icon on LWC lightning-input.
Generally, the errors don’t get cleared in the first click because the element’s values are still intact even though you are setting start_date and end_date to null. A workaround would be to put a delay and wait for the input values to change and report validity after the function finishes.
handleClear() {
this.start_date = null;
this.end_date = null;
window.setTimeout(() => {
this.template.querySelectorAll('lightning-input').forEach((element) => {
element.reportValidity();
});
}, 10)};
}
Happy Coding !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Here are a few ways, we can delete the debug logs
Sol-1: Using SOQL query in the DC editor
SELECT ID from APEXLOG
Â
Run this query in the Developer Console – Query Editor tab (at the bottom)
Select the tooling API
 checkbox.
Now Delete all the records.
Sol-2: Using SFDX CLI commands
sfdx force:data:soql:query -t -q "SELECT Id FROM ApexLog" -r "csv" > logs.csv
sfdx force:data:bulk:delete -s ApexLog -f logs.csv
Sol-3: Using Apex debugger chrome extension
Here we can select debug size. for example, select 5000 and delete all the debugs at once.
1. Open the Developer Console
2. Select the Query Editor tab near the bottom of the console page
3. Select the Use Tooling API check box.
4. Execute the query ‘select id from apexlog’
5. Query Results will list available rows to be deleted
6. Use the keys Shift and Arrow Down together to select all rows for deletion
7. Click Delete Row.
Sol-5: Using WORKBENCH
Sol-6: Using JavaScript
Open the browser console and execute the below js script to delete the logs
(function() {
var request = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function() {
this.addEventListener('load', function() {
if(document.querySelector('[id$="thetracetable"] tbody tr')){
document.querySelectorAll('[id$="deleteAll"]')[0].click();
}
});
request.apply(this, arguments);
};
})();
document.querySelectorAll('[id$="deleteAll"]')[0].click();
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Sharing here useful information on Free Salesforce Career & Certification Courses.
Thanks, Christine Marshall for sharing this with us.
Free Salesforce Career & Certification Courses
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Here are some useful youtube videos on salesforce ci and cd on how to create a Salesforce CI/CD pipeline from the scratch.
Hope these videos will help to learn how to set up the Jenkins pipeline from scratch in the Salesforce world.
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Here are a few lists of free Salesforce courses on Udemy.
Click the below link to see all courses
List of Free Salesforce courses on Udemy
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
Sharing here a few resources for learning javascript.
A Smarter Way to Learn JavaScript
SamsTeachYourself – All in one (HTML, CSS, and JavaScript)
Javascript for Absolute Beginners
Sams Teach Yourself – Available Books
JavaScript for impatient programmers (ES2022 edition)
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hi Friends,
The command line is one of the most useful and efficient tools we have as developers and as computer users in general.
Sharing here a useful article that helps beginners and also experienced developers.
Command Line for Beginners – How to Use the Terminal
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Hello Friends,
Sharing here the useful youtube videos playlist to learn from the basics of DevOps to how your app is deployed using Docker, Kubernetes, Jenkins, GitLab, with an automated CI CD pipeline, monitoring, and more.
Thanks to Thetips4you for sharing the videos list.
Here is the video playlist for those who want to learn the new technologies free of cost.
https://www.youtube.com/c/Thetips4you/playlists
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂
Use the native .toLocaleDateString() function which supports several useful params like locale (to select a format like MM/DD/YYYY or YYYY/MM/DD), timezone (to convert the date), and formats details optionsÂ
const testCases = [
new Date().toLocaleDateString(), // 8/19/2020
new Date().toLocaleString(undefined, {year: 'numeric', month: '2-digit', day: '2-digit', weekday:"long", hour: '2-digit', hour12: false, minute:'2-digit', second:'2-digit'}),
new Date().toLocaleDateString('en-US', {year: 'numeric', month: '2-digit', day: '2-digit'}), // 08/19/2020 (month and day with two digits)
new Date().toLocaleDateString('en-ZA'), // 2020/08/19 (year/month/day) notice the different locale
new Date().toLocaleDateString('en-CA'), // 2020-08-19 (year-month-day) notice the different locale
new Date().toLocaleString("en-US", {timeZone: "America/New_York"}), // 8/19/2020, 9:29:51 AM. (date and time in a specific timezone)
new Date().toLocaleString("en-US", {hour: '2-digit', hour12: false, timeZone: "America/New_York"}), // 09 (just the hour)
]
for (const testData of testCases) {
console.log(testData)
}
For more information refer here
Happy Learning !!
Keep watching this space for more updates.
Have a nice day 🙂