- Видео 11
- Просмотров 40 908
That Salesforce Guy
Индия
Добавлен 17 окт 2021
Welcome to That Salesforce Guy.
My name is Rohitkumar and on this channel I will be sharing my experiences about my Salesforce Journey.
I will be doing live streams and solving Trailhead as well as some custom projects.
If you have any ideas do share them so I can learn from you guys as well!
Feel free to drop a comment or an email if you have any questions.
My name is Rohitkumar and on this channel I will be sharing my experiences about my Salesforce Journey.
I will be doing live streams and solving Trailhead as well as some custom projects.
If you have any ideas do share them so I can learn from you guys as well!
Feel free to drop a comment or an email if you have any questions.
Why You Should Use Salesforce Code Analyzer | Salesforce Best Practices
In this video tutorial, I am going to show you how to use Salesforce Code Analyzer to ensure your code adheres to best practices, helping you identify problems earlier while you develop.
This powerful tool helps you to enforce coding standards, and ensure your code is optimized as per Salesforce Standards using PMD, CPD, ESLint, RetireJS etc.
You can generate a detailed static code analysis report using this tool. As pre-requisite you need SFDX CLI and Java Installed.
⏲️Timestamps
00:00 Intro
00:30 SF Best Practices
02:25 Apex Recipes
03:30 Salesforce Code Analyzer
04:28 How to Install
06:10 How to Scan
08:45 Java JDK
09:24 Execute Scan Command
10:00 Output HTML file
11:38 Apex PMD
13:40 CI CD Pipelin...
This powerful tool helps you to enforce coding standards, and ensure your code is optimized as per Salesforce Standards using PMD, CPD, ESLint, RetireJS etc.
You can generate a detailed static code analysis report using this tool. As pre-requisite you need SFDX CLI and Java Installed.
⏲️Timestamps
00:00 Intro
00:30 SF Best Practices
02:25 Apex Recipes
03:30 Salesforce Code Analyzer
04:28 How to Install
06:10 How to Scan
08:45 Java JDK
09:24 Execute Scan Command
10:00 Output HTML file
11:38 Apex PMD
13:40 CI CD Pipelin...
Просмотров: 1 164
Видео
Format Apex Code in VS Code using Prettier | Salesforce VS Code Tutorial
Просмотров 1,9 тыс.5 месяцев назад
In this tutorial, we'll walk you through the steps to beautify, format your Apex Code in Visual Studio Code, while doing Salesforce Apex Development, there is no default formatter in VS Code for Apex language other than Developer Console. Prettier is one of the best code formatters and offers Apex Plugin which you can use to format your Apex Class / Code. You can also format LWC using Prettier ...
Run Salesforce Apex Test Class in VS Code | Apex Test Coverage in VS Code
Просмотров 8 тыс.Год назад
Learn why Salesforce developers should use Visual Studio Code (VS Code) to run Apex test classes and methods. In this video, I have explained how you can run a salesforce apex test class, test method through VS code and get the test results. You will be able to run apex test classes and test methods effectively after watching this video. 📌Subscribe - www.youtube.com/@ThatSalesforceGuy/?sub_conf...
Automate Salesforce Authentication (Access Token) in Postman | Salesforce API with Postman
Просмотров 2,3 тыс.Год назад
In this tutorial, we dive into automating the Salesforce authentication process in Postman. Say goodbye to manually capturing access tokens and streamline your API requests. With this step-by-step guide, you'll learn how to automate the authentication process, retrieve the access token from Salesforce, and seamlessly integrate it with Postman. Save time and boost your productivity by leveraging...
Best Error Handling Logic for Salesforce Apex | Salesforce Best Practices
Просмотров 3,3 тыс.Год назад
In this video, we will cover most efficient and easy to implement error handling technique in Salesforce Apex. Whether you are a beginner or an experienced developer, it's essential to understand how to handle errors effectively to ensure your code runs smoothly. We will go over try-catch blocks, custom object to store exception. This is highly effective method, specially for analysing issues w...
How to call Apex Method from Integration Procedure
Просмотров 2,4 тыс.Год назад
In this video, I have explained how to call an Apex method from Omnistudio Integration Procedure, for this you will have to create an apex class with interface "vlocity_cmt.VlocityOpenInterface" and a method "invokeMethod". You need to add Remote Action element to your Integration Procedure and pass this apex class name and method name to Remote Class and Remote Action fields respectively. This...
7 Must Have Google Chrome Extensions for Salesforce Developers / Admins #salesforce #productivity
Просмотров 3 тыс.2 года назад
Discover the top Salesforce extensions to boost your productivity and streamline your workflow. In this video, we highlight the best Salesforce extensions on Google Chrome for increased efficiency and productivity. These extensions will help you do your daily tasks fast and efficient whether you are a developer or an admin. Extensions Link : bit.ly/3kNDCNn #learnonline #youtubelearning #chromee...
How to create custom Inbound REST API using Apex in Salesforce | #salesforce #api
Просмотров 6 тыс.2 года назад
This tutorial shows you how to create a custom Inbound REST API using Apex in Salesforce. We'll cover everything from creating the request/response wrapper, setting the endpoint, and creating a record by hitting API using Postman. 📌 Pre-Requisite Video ➤➤ Connected App & Postman with Salesforce : ruclips.net/video/Bx0qLA8E01M/видео.html By the end of this video, you'll have a solid understandin...
How to use Connected App in Salesforce | Setup Postman for API Testing #salesforce #api
Просмотров 7 тыс.2 года назад
In this video, I'll show you how to use a connected app in Salesforce to get a bearer token and create an account record using Postman. We'll start by setting up the connected app in Salesforce, then move on to using Postman to request the bearer token and make API calls to create an account record. By the end of this video, you'll have a solid understanding of how to use connected apps in Sale...
API Basics - Inbound and Outbound APIs in Salesforce | #salesforce #api #learnonline
Просмотров 6 тыс.2 года назад
In this video, we are going to look into API Basic Concepts - Inbound and Outbound APIs using the practical example. I will be starting series on API where I will be teaching how to create your own custom Rest API frameworks but before that I wanted to create this basic API overview video, in upcoming videos we are going to deep dive into more details about Salesforce APIs and their Testing. #l...
Authenticate Salesforce Org with VS Code | Run Apex Code, SOQLs in VS Code
Просмотров 1,3 тыс.2 года назад
Links : Download Salesforce CLI : developer.salesforce.com/tools/sfdxcli SFDX Commands: bit.ly/3PXxihT Timestamps : 00:00 - Intro 01:13 - Creating Project 02:36 - Authenticate Salesforce Org 04:20 - Run Apex Code in VS Code (Anonymous Apex Window Alternative) 06:24 - Run SOQL in VS Code 07:10 - Package.xml explained in short 09:05 - Deploy Class on Org through VS Code 10:00 - Duplicate Apex Scr...
If some criteria’s are not tested in test classes what to do??
You need to debug your test method / main class.
@ i mean that is not testable how to bypass those criteria in test classes it is not possible to test 100%code coverage right some criteria not passes inside test classes
I want to use the authorize URL. How can I do that?
Which authorize URL?
Thanks for providing this video to config Code Analyzer. Would you happen to have any info on how to replace existing PMD rule set with own custom rule set?
I will suggest refer the documentation, there are plenty of configs you can do, also there is git repo - just raise a discussion ticket there - alot of people help.
Where you installed plugin how Totally bullshit important points are not covered
You can check the timestamps but incase you didn't follow the video then here it is --> 01:29 How to Install Prettier, if you need further help feel free to hop on discord and I will help you. Also, In the world where you can be anything, Be Kind! 🙂
Man you're way too fast and can't able to grasp. You didn't even said how to setup salesforce API in Postman.. Other than else good explanaiton
I have already explained it at 05:45
Thanks bro. The nost simple explain APIs Salesforce 💪🏼
Happy to help!
Smmoth video bro!
thanks bro :)
I’ve been struggling to get Prettier working properly after installing it, knowing I was missing some key settings. After wasting time on tons of unhelpful videos, I finally found yours, and it explained everything clearly! You showed exactly what I needed to fix and mainly how to configure it properly. Thank you
Glad you were able to fix it! Cheers 🍻🍻
Exactly what I was looking for! Recently, I installed the code analyzer, but it wasn’t running as expected. I knew I was missing some setting or configuration. After searching through countless useless RUclips videos, Today I found yours, and it was a game-changer. Your video clearly explained the missing settings and how to save the result file. Thank you for addressing the root issue-most people show how to install extensions but rarely explain how to configure them. Please continue sharing videos on similar issues to help beginners like us!👍👍
Thank you for the kind words Sumit, I have planned some videos. Stay connected :)
thanks for your sharing, i have a question is this is the link of an external application with my own saleforce, so now i have an app that has many users, each user of the system can connect to my own saleforce. is there a way that each user in my system does not have to set up in saleforce but just needs to log in with the link and accept the permissions that my system needs to be able to access their saleforce api?
IF you want external users to access salesforce data then you can setup SSO (Single Sign On) with JIT (Just In Time)
also I was recording this video late night around 1 AM haha!
I have installed the Salesforce extension and java as well. But, RunTest not show in test class.
Did you try using Java Adoptium?
Go to settings, search for Salesforcedx-vscode-core: Retrieve-test-code-coverage and enable the box
@@ThatSalesforceGuy Thanks, I made mistake on java configuration. It is working now. Thanks!
Informative video, Thank you
Glad you liked it Sachin! Stay tuned for more videos :)
can you make one playlist for salesforce admin for integrate with other system without coding it will be very helpful, and big fan of yours
Sure! I have some OmniStudio tutorials coming soon! Thanks alot for the support :)
*** Checkout Extensions created by me : Salesforce Login Manager : chromewebstore.google.com/detail/beemdmmeeddbifmjlaiboldgnffddibd?authuser=0&hl=en Salesforce OmniStudio Helper : chromewebstore.google.com/detail/gaogdijndgigjopjiidpemfglhokcmpe?authuser=0&hl=en Comma Inserter for SOQL : chromewebstore.google.com/detail/mkpajbolnpjffffffhokhfefmjmdfgeb?authuser=0&hl=en
Smooth and to the point 🙌
Glad you liked it!
You forgot to mention Salesforce changeset helper in the video, it was really helpful for deployments Thanks in advance😊
its a good one but these days everyone uses GIT and CI CD Pipelines for deployment, new video coming soon :D
I really love your videos they are very helpful.......
Thanks alot Ajay! I will be posting more soon :) Stay tuned, Appreciate the kind words.
@@ThatSalesforceGuy sure , I do love the content that you made and no one is talks about those basics
Hi, how about the body in JSON format, is it something we write it manually? Thanks in advance.
Body is something that will contain data if not the URL Params, if your goal is to send information to Salesforce then you have to send data in body or URL params.
@@ThatSalesforceGuy great thanks, I have just come across the channel, and watched allll the videos. It would be really great if you could upload videos more frequently. Thank you!!!
@@agamyashvant5545 yeah, I have planned video series and will be posting regularly now :)
thanks a lot for the video, the only thing missing is the color in the cls, being like this a lot of time and need it
You can use different VS Code themes for that. I'm using Monokoi Pro here.
You made it really Easy to understand & engaging. Thanks
Thank you for your feedback :)
Superb !
Thanks a lot
Superb !
Thank you! Cheers!
Superb !
Thanks a lot
Superb !
Thank you! Cheers!
For those who are still not able to get token: Go to setup search oauth and open id connect settings then trun on oauth username password flows.
great thanks
You are welcome!
Excellent video , just had one doubt can you explain the callback URL in detail , on what exactly you used that particular URL??
Thank you, regarding callback url, umm imagine a callback URL like a doorbell. When a computer finishes its job, it rings this special doorbell to tell your computer, 'I'm done!
I have Debug System.debug(oppList) How can see Debug In Testclass in vs code
In output tab only you have to search, I will suggest put it as System.debug('oppList --> '+oppList); so you can hit CTRL + F and search for oppList , you will find your debug statement.
not working getting { "error": "invalid_grant", "error_description": "authentication failure" } i double check the client_id client_secret etc ip relaxation is selected and password+security token is also added still sam eissue
there is one setting in profile to disable this
Thank you , I was searching for a tool which made going through the logs easy & this vid solved my prob .
You are welcome, stay tunned for new videos, uploading soon :) I have created some Chrome Extensions and working on some web apps!
RunTest not show in test class. let me know any extension need to install in vs code
Make sure you have Salesforce Extension pack installed + Supported Java Version.
Good content .please create more videos on rest integration
sure, I have few planned ahead :)
Need more practical videos on integration
Check this ou --> ruclips.net/video/T9S6odjkxNE/видео.htmlsi=LVHCkzXJkIjY4-Mu I will be posting few more videos soon.
Man even after I deploy it to the org it is not visible in testing - apec tests section
can you check if you are adding @isTest to class and method?
Thanks man! Just what i wanted!
Glad I could help :) I am working on a scalable API Framework as well, will publish it soon next week.
Really helpful video compared to the other demos I've seen. Note that now Salesforce is transforming Omnistudio into the standard object. The class should be instead "global without sharing class RemoteClass implements omnistudio.VlocityOpenInterface"
Thank you, I have also shared two codes on my github you can check --> github.com/rohitasare7/Salesforce/tree/main/UtilityClasses
Once again Sir, I am here going through all the videos really love the content Keep Posting the videos😄😄😄😄😄😄
Thanks alot Ajay, I have planned few good tutorials but I am just having some hard time in my life right now so I am taking some break. Although I will mostly start creating content next month :) Take care.
Bro, can we use catch( exception EX) for all scenarios. I seen there many many types of exception handlings like catch(NullPointerException e), catch(DmlException e), AuraHandled Can we use just basic can we use catch( exception EX). Or do we need to use these specific one ? Please help me out with this clarification
yes, you can use ( exception ex) for all scenarios, you can use ex.getMessage(); and ex.getStackTraceString(); methods to get info on your error/exception. The reason salesforce has provided different types of exceptions is to get more granular information, like in DmlException you can call getDmlFieldNames, getDmlType etc (refer developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_classes_exception_methods.htm) So it again depends on your use case if you need more granular data but as far as I have seen, generic exception when implemented with getMessage & getStackTraceString methods is enough. I will be doing another video in depth for exceptions and handling, might include some open source frameworks (but I don't want to include extra unncessary code in any project where chances are most likely it won't be utilized haha) Thanks for the question btw.
@@ThatSalesforceGuy Thanks for the clarification ❤️
anytime!@@SfdcLearner
You are showing in classic, can you show in Lightning?
If you are a good admin, lightning or classic doesn't matter :)
Hi , Salesforce Guy, you videos is very interesting and helpful keep making videos and sharing salesforce knowledge , Thankyou
Glad you liked it Sagar :)
Thanks buddy
Happy to help
Please explain each extension in detail
Hi Bhima, sure I will be posting some detailed videos soon.
Fantastic Video thank you for sharing
Glad you liked it Mark! I will be posting more framework related videos soon this year.
Really appreciate the hard work,
Thanks alot!
Thanks alot Sir, for making such Videos
Thanks alot Ajay!
Thank You. Can you also help on How to write test class for the same class?
Hello Santosh, sure I will be posting the video for API Framework, I will share complete code then. Stay Tuned :)