Monday, 30 September 2024

Predictive AI

 Artificial intelligence that studies historical data, identifies patterns and makes predictions about the future that can better inform business decisions.

keywords : Historical, Predict, forecast

1.For actionable insights, accurate forecast.

2.Aids strategic decision - making.

Predictive analytics models can be categorized into two main types: 

1.classification model (Binary or multiclass)

 Note : If you want to predict a categorical or discrete output value.

2.regression model (linear or nonlinear)

 Note : if want to predict a continuous or numerical output value.


Classification models are used to predict a categorical or discrete output value based on one or more input variables. For example, you can use a classification model to predict whether an email is spam or not based on its sender, subject, and content. Classification models can be binary or multiclass, depending on the number of possible output values. Binary classification models have only two output values, such as yes or no, while multiclass classification models have more than two output values, such as red, green, or blue. Some of the common classification models are decision trees, k-nearest neighbors, support vector machines, and neural networks.


Regression models are used to predict a continuous or numerical output value based on one or more input variables. For example, you can use a regression model to predict the sales revenue of a product based on its price, features, and customer feedback. Regression models can be linear or nonlinear, depending on the relationship between the input and output variables. Linear regression models assume a straight line relationship, while nonlinear regression models can capture more complex and curved relationships. Some of the common regression models are simple linear regression, multiple linear regression, polynomial regression, and logistic regression.


Saturday, 14 September 2024

Salesforce winter'25 updates

 1.Enhanced User List view


Make inline edits with an enhanced user list view.


Enable this feature! Go to the 'User Management Settings' page in Setup and enable the 'Enhanced User List View'.


View, sort, and filter user entries in a list format while making inline edits directly, thereby streamlining data updates. 

This enhancement allows for quick updates and modifications without the need to navigate away from the list view, making 

it easier than ever to manage user information.


2.New 'Dynamic Highlights Panel' Component in Lightning App Builder


Use the new Dynamic Highlights Panel in Lightning App Builder to easily configure your key fields, instead of using compact layouts in Setup.

You can make quick adjustments to this panel right in Lightning App Builder by dragging fields from the Fields tab, 

just like you do with fields in the Field Section. The panel is responsive and supports up to 12 fields. 

You can set component visibility, customize actions, and see changes immediately on the desktop.


3.New option 'Object Access' available on sObjects


Quickly check object permissions in Object Manager.


Get a comprehensive view of the permission sets, permission set groups, and profiles that grant access to a specific object, 

including the level of access granted in Object Manager via the new Object Access menu item in the sidebar. 

With this read-only Object Access Summary in Object Manager, you can quickly check object permissions, 

making it easier to troubleshoot issues, perform security reviews, and determine how to grant users access effectively.


4.'Access Granted By' feature on View Summary of the user record


We’ve made user management easier than ever by providing visibility into the profiles, permission sets, 

and permission set groups that grant permissions to a specific user.

You can now quickly access information about a user’s assigned object, field, user, and custom permissions on the User Access Summary page. 

Simply go to the user record in Setup and click View Summary. To see how an individual permission was granted, click the row-level action and select Access Granted By.


5.'View summary' in Public groups


Manage public groups more efficiently.


Simplify managing public group membership with our enhanced public group summary page. You can handle the users, roles, 

and nested groups within a public group easier than ever before. You can search through all current and available members, 

adding or removing up to 100 members simultaneously. Now that’s a productivity booster! Additionally, 

you can edit and delete the selected public group directly from its summary page.


Wednesday, 11 September 2024

𝟓 𝐀𝐩𝐞𝐱 𝐔𝐧𝐢𝐭 𝐓𝐞𝐬𝐭 𝐭𝐢𝐩𝐬 𝐞𝐯𝐞𝐫𝐲 𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 𝐝𝐞𝐯 𝐬𝐡𝐨𝐮𝐥𝐝 𝐤𝐧𝐨𝐰

 𝟏. 𝐂𝐨𝐝𝐞 𝐬𝐭𝐨𝐫𝐚𝐠𝐞

You can save up to 6 MB of Apex code in each org, but test classes annotated with @isTest don’t count toward this limit.


𝟐. 𝐍𝐨 𝐬𝐞𝐩𝐚𝐫𝐚𝐭𝐞 𝐝𝐚𝐭𝐚𝐛𝐚𝐬𝐞 𝐟𝐨𝐫 𝐭𝐞𝐬𝐭𝐢𝐧𝐠

Even though test data rolls back, it still uses the same database. For objects with unique field constraints, inserting duplicates in tests can result in errors. Be careful!


𝟑. 𝐓𝐞𝐬𝐭 𝐦𝐞𝐭𝐡𝐨𝐝𝐬 𝐝𝐨𝐧’𝐭 𝐬𝐞𝐧𝐝 𝐞𝐦𝐚𝐢𝐥𝐬

No worries about accidentally spamming your users. Test methods are safe from triggering emails.


𝟒. 𝐍𝐨 𝐞𝐱𝐭𝐞𝐫𝐧𝐚𝐥 𝐜𝐚𝐥𝐥𝐨𝐮𝐭𝐬 𝐢𝐧 𝐭𝐞𝐬𝐭𝐬

Test methods can’t make callouts to external services, but you can use mock callouts to simulate API responses.


𝟓. 𝐒𝐎𝐒𝐋 𝐬𝐞𝐚𝐫𝐜𝐡𝐞𝐬

Any SOSL search in a test returns empty results by default. To ensure predictable results, 

use Test.setFixedSearchResults() to define the records you want.