Posts

Post HTML articles from Salesforce to Community

Image
  <div style="Font-family: Helvetica; font-size: 16px; color: #333333; padding:0px 50px; border-radius: 5px; border:solid 1px transparent;"> <br> <p style="font-weight:bold; text-align:left;">Sponsoring a job</p> <p style="text-align:left; padding:20px 0px;"> <a href="https://indeed.my.site.com/employerSupport1/s/article/360023139391">How to view billing and invoice details</a> <br> <a href="https://indeed.force.com/employerSupport1/s/article/What-are-Objective-Campaigns">What is an Objective-based Campaign?</a>     </p>     </div>

Query User's who is assigned to Permission set and Related queries

 Query User who is assigned to Permission set  SELECT Id,Assignee.Name,Assignee.Profile.Name,Assignee.Id FROM PermissionSetAssignment WHERE permissionSet.Name ='Permissionset Name' Query Custom Permission SELECT Id,MasterLabel,DeveloperName FROM CustomPermission Query Permission Set Group SELECT Id,MasterLabel,DeveloperName FROM PermissionSetGroup  Query Custom Label  Select Id,Name,Value From Customlabel Reference a 'permission set' in a 'formula,' 'workflow rule,' or 'validation rule' or Flow Builder https://help.salesforce.com/s/articleView?id=000386266&type=1

Give edit access on community site to one user via permission set ?

Go to newly created Permission set then "System Permissions" For Builder : Access Experience Management Access pages and dashboards available in Experience Management. Create and Set Up Experiences Create Experience Cloud sites, manage settings, membership, login and registration, branding, and associated Site.com site. Manage Experiences Access Experience Management to view site dashboards and set up Reputation point system and levels. Moderate Experience Cloud Site Users Allows users to manage Experience Cloud site member access, such as freezing a user. Show App Launcher in Experience Cloud Sites Display the App Launcher icon in Experience Cloud sites. Show Company Name as Site Role Allow users to see other users' company name in site role. For  Workspaces : Manage Experiences Access Experience Management to view site dashboards and set up Reputation point system and levels.

Reset Password for X user

User usr = [SELECT Id FROM User WHERE username ='<username>']; System.setPassword(usr.Id,'<password>');  Example :  User usr = [SELECT Id FROM User WHERE username = 'muralikrishnasfdc@gmail.com']; System.setPassword(usr.Id,'password0');

Removing Unused Reports and Dashboards from Private folder

Add the Salesforce Inspector Reloaded in Google Crome  Run the below queries and Delete it if required SOQLS:  SELECT Id,ownerid,owner.name,owner.isactive, developername FROM Report USING SCOPE allPrivate where owner.isactive = false SELECT Id,ownerid,owner.name,owner.isactive, developername, DashboardResultRefreshedDate FROM Dashboard USING SCOPE allPrivate where owner.isactive = false

After file upload not showing in case related list from Guest user public portal

Image
 Need to update " enableGuestFileAccess " as true In All site meta data or Experience Cloud meta data  < types >         < members > * </ members >         < name > Network </ name >     </ types >

Salesforce Extension's

 EasyCrud https://chromewebstore.google.com/detail/easycrud/pinobandfaignmchcgcofdbadbabojhk ORGanizer for Salesforce https://chromewebstore.google.com/detail/lojdmgdchjcfnmkmodggbaafecagllnh Salesforce Code Coverage Navigator https://chromewebstore.google.com/detail/salesforce-code-coverage/jkhdmmenajlichmlmfjjadkggpokeamp Salesforce Fix Highlight Panel fields https://chromewebstore.google.com/detail/mpojfljaefhfcmfjmcpbaihpimjmeohn SOQL Extractor and Analyzer for SalesForce https://chromewebstore.google.com/detail/soql-extractor-and-analyz/deihalhihjdilndoidoclmhmgllebkfj?hl=en This is to compare two different salesforce profiles and find the difference https://chromewebstore.google.com/detail/crazy-compare-for-salesfo/bncmdklijpjfpmpdmobeafcegnnkkjff?hl=en-GB