Posts

Showing posts from August, 2024

Build Your Own CI/CD Pipeline in Salesforce (Using GitHub Actions)

 https://www.salesforceben.com/build-your-own-ci-cd-pipeline-in-salesforce-using-github-actions/?ref=pablogonzalez.io

Report Is Not Visible - In Salesforce

 1. he is having 1. object level, 2. field level (1. report fields,2.filter field on the report),  3. report folder shared 4. On object def - enable the check box "allow reports". 5. add a license to that person(who is not able to see the report) - if that object resides in the Managed Package.

Lead Auto-Response Rules - Error for no-reply@domin - Salesforce

 For - no-reply@domin email for Lead Auto-Response Rules  - was getting error? Solution :  1. set -> Organization-Wide Addresses -> Purpose(field) -> User Selection and Default No-Reply Address (need to select this value). 2. write custom flow. 3. apex code.

soql on CustomLabel

Image
 soql on CustomLabel - Custom Label select id,name,value from CustomLabel  Note : checkbox : Use Tooling API IS CHECKED

Salesforce - Rest Resource Testing Using Work bench

Old :  /services/apexrest/API/ProjectContactLink 1. in the above URL "ProjectContactLink" is the rest resource and before is a common URL for us 2. for the domain to get the endpoint URL to hit from the client side we add the domain to before this. how do I get the Salesforce domain  i) Go to the developer console in the browser address bar and copy the main domain . New 24-10-2024 : --------------------- For the workbench below it is fine to hit the  get method  /services/apexrest/ProjectContactLink

DevOps interview with 2+ years of experience

  I recently went through an interview with 2+ years of experience that really put my DevOps knowledge to the test. Thought I'd share some of the questions I was asked, which might help others preparing for similar roles: 1. **What are the day-to-day activities of a DevOps Engineer?** 2. **How do you overcome hurdles in DevOps?** 3. **Why do we need Shell scripting in DevOps?** 4. **What’s the difference between a `cron` job and running it under `sudo`?** 5. **How do you address security issues in `cron` jobs?** 6. **How do you set up Apache on a Linux server?** 7. **What are the steps to convert HTTP to HTTPS?** 8. **What are some limitations of Shell scripting?** 9. **What’s the difference between `$*` and `$@` in Bash?** 10. **Explain Primary Key vs. Foreign Key in databases.** 11. **What’s the difference between the `HAVING` and `WHERE` clauses in SQL?** 12. **Explain different types of JOIN commands in SQL.** 13. **What’s the difference between `DROP`, `TRUNCATE`, ...

Einstein and Code Analyzer - Salesforce

 install salesfroce  - Einstein and Code Analyzer sfdx plugins:install @salesforce/sfdx-scanner

salesforce automatically switches to classic when inspecting an element on browser | SFDC Quest

https://www.youtube.com/watch?v=-RP78jEqDtI solution between 2 to 2:30  min of video

Platform Event usage to refresh lwc screen - after featur method execution for record update auto refresh view

create one platform event Publish platform event using apex  EventBus.publish(new CaseScreenUpdateEvent__e(PublishScreenRefresh__c=true) subscribe in lwc to refresh screen HTML code : <template>      <div class="slds-section slds-is-open">       <h3 class="slds-section__title">         <button aria-controls="expando-unique-id" aria-expanded="true" class="slds-button slds-section__title-action">         <!-- <svg class="slds-section__title-action-icon slds-button__icon slds-button__icon_left" aria-hidden="true">             <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#switch"></use>           </svg>-->           <span class="slds-truncate" title="Section Title">SLA Information</span>         </button>       </h...