You need to sign in to do that
Don't have an account?

Iam Unable to login to my developer login after taking professional edition my org ID is Org: (00D2w00000O0COe .I am unable login to throught forget password . Please help me
.I am unable login to throught forget password .
Please help me

Trailhead Recommendations?
I registered with trailhead.
I’m an SDR looking to expand my Salesforce skill set. Let’s pretend I have none. Particularly looking for the basics around reporting, and any other trails that may be beneficial to spend some time with.
My goal is to have a competent understanding of SF to build my sales as I enter a closing role and the relevant tools in SF that will help me gain an advantage.
Thanks in advance!

Below are few trailhead links, hope it helps:)
https://trailhead.salesforce.com/en/content/learn/modules/sales_admin_sales_reports_for_lex
https://trailhead.salesforce.com/en/content/learn/modules/sales-activity-analysis

Challenge Not yet complete... here's what's wrong: We can't find a page with the name 'SolarBot Status Page With Chart'.
Ada also tells you that the SolarBot Status Averages report needs some tweaks. First, the Support team wants to see trends over time, so they want the report to show data by week instead of by day. Second, they want a graph for this report called Weekly Panel Temperature and kWh that shows average panel temperature and average kilowatt hours as lines over time. Third, they want to see this graph on each SolarBot record page. Create the page and call it SolarBot Status Page With Chart. Include only information about the individual SolarBot in the chart.
What kind of page should I go for? I created a Lightning Record Page, a page layout, and it is not detecting any kind of page
Thanks in advance


Please make sure on right side you are entering the label name for the chart, selecting the report "SolarBot Status Averages" and adding filter SolarBotID so that chart displays the record details only based on context.
If you do not select anything, it will set to the default one (The pie chart one).
Just adding report chart to the page layout not working for this challenge.

How to write Validation for URL ?
Hello Salesforce Experts,
Anyone please let me know how to write valition rule for URL ?
Else someone please provide regular expression string for URL ?
Thanks,



A small syntax change.
The following rule worked for me.
if(REGEX(URLfield__c,"^((http|https)://)??(www[.])??([a-zA-Z0-9]|-)+?([.][a-zA-Z0-9(-|/|=|?)??]+?)+?$"),false,true)
Hope this helps.
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.

how to remove '. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION,' this text from my UI in lwc
Hello Everyone ,
I need to remove catch error from my LWC . So basically I have a record edit from and upon submitting i have some validation rules to be checked . So as we know for custom validations Salesforce adds this line First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION,' before any validation but my requirement is to show only the validation rule's message not the whole line .
Is there any way to show only validation message . Please help.
Thanks in advance.


Hello,
I got the exact answer. If anyone wants to refer : -
f (error.body.message.includes('FIELD_CUSTOM_VALIDATION_EXCEPTION')) { console.log('FIELD_CUSTOM_VALIDATION_EXCEPTION'); this.errorMessage = error.body.message.substring(82+('FIELD_CUSTOM_VALIDATION_EXCEPTION').length); console.log('FIELD_CUSTOM_VALIDATION_EXCEPTIONss',this.errorMessage); this.dispatchEvent( new ShowToastEvent({ title: 'Error updating record', message: this.errorMessage, variant: 'error', }), ); }

Challenge Not yet complete... here's what's wrong: The solution for extending access does not have the correct name.




Trailhead Help (https://trailhead.salesforce.com/en/help?support=home)can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.
Please close the thread by selected as Best Answer so that we can keep our community clean
Thanks,
Getting to 100 percent code coverage on my trailhead module “Write Negative Tests Unit”
My code is as follows.
Calculator Class
public class Calculator { public class CalculatorException extends Exception{} public static Integer addition(Integer a, Integer b){ return a + b; } public static Integer subtraction(Integer a, Integer b){ return a - b; } public static Integer multiply(Integer a, Integer b){ if(b==0 || a==0){ throw new CalculatorException('It doesn\'t make sense to multiply by zero'); } return a * b; } public static Decimal divide(Integer numerator, Integer denominator){ if(denominator == 0){ throw new CalculatorException('you still can\'t divide by zero'); } Decimal returnValue = numerator / denominator; if(returnValue < 0){ throw new CalculatorException('Division returned a negative value.' + returnValue); } return returnValue; } }
And my test class as follows
@isTest public class Calculator_Tests { @isTest public static void addition() { Calculator.addition(1, 0); } @isTest public static void subtraction() { Calculator.subtraction(1, 0); } @isTest public static void divide_throws_exception_for_division_by_zero() { Boolean caught = false; try { Calculator.divide(1, 0); } catch (Calculator.CalculatorException e) { System.assertEquals('you still can\'t divide by zero', e.getMessage(), 'caught the right exception'); caught = true; } System.assert(caught, 'threw expected exception'); } @isTest public static void divide_throws_exception_for_division_by_two() { Boolean caught = true; try { Calculator.divide(1, 2); } catch (Calculator.CalculatorException e) { System.assertEquals('you still can\'t divide by zero', e.getMessage(), 'caught the right exception'); caught = true; } System.assert(caught, 'threw expected exception'); } @isTest public static void multiply_by_one() { Boolean caught = false; try { Calculator.multiply(1, 0); } catch (Calculator.CalculatorException e) { System.assertEquals('It doesn\'t make sense to multiply by zero', e.getMessage(), 'caught the right exception'); caught = true; } System.assert(caught, 'threw expected exception'); } @isTest public static void multiply_by_two() { Boolean caught = true; try { Calculator.multiply(1, 2); } catch (Calculator.CalculatorException e) { System.assertEquals('It doesn\'t make sense to multiply by zero', e.getMessage(), 'caught the right exception'); caught = true; } System.assert(caught, 'threw expected exception'); } }


Infact you can change that not accepting the negative value like this
public static Decimal divide(Integer numerator, Integer denominator){ if(denominator == 0){ throw new CalculatorException('you still can\'t divide by zero'); } if(numerator < 0 || denominator < 0) throw new CalculatorException('negative value(s) not allowed.'); Decimal returnValue = numerator / denominator; return returnValue; }
and add another test method
@isTest public static void divide_throws_exception_for_negative_number() { Boolean caught = true; try { Calculator.divide(-1, 2); } catch (Calculator.CalculatorException e) { System.assertEquals('negative value(s) not allowed.',e.getMessage()); caught = true; } System.assert(caught, 'threw expected exception'); }
I hope this will help.

what is the difference between user with 'identity' license and user with 'salesforce' license?
When we create a user we can create with different licenses. There is salesforce license and there is also a 'Identity' license. Now the thing is that I just want a user that can access my visualforce pages, custom objects and want to perform DML operations with all permissions. Can I create it with identity user license?
I just want to save my salesforce license users, so that i can use them in future...
Thanks in advance... :)




Please refer below salesforce help document to know detailed information on salesforce license type.
https://help.salesforce.com/articleView?id=users_license_types_available.htm&type=0&language=en_US
For Identity Implementation guide refer below link.
https://resources.docs.salesforce.com/204/latest/en-us/sfdc/pdf/salesforce_identity_implementation_guide.pdf
Hope this helps you!
Please mark it as Best Answer if my reply was helpful. It will make it available for other as the proper solution.
Thanks and Regards
Sandhya

How to remove comma from Number field
I have a number field (Number, 0) but when i put valuee 10000 in it it will diplay it as 10,000 i want to display it without comma.
I have selected number field because i need to select Max number from it and add 1 in Max number for new entry.
Can any body help me how i can do it.
Thanks,
Faraz

Create a new custom field, where type is "formula" and the formula return type is "text".
In the formula, use the TEXT() function, and pass the existing number field value into this formula. For example, if your number field is MyNumber_c then your formula would be: TEXT( MyNumber_c )
Your users will enter values into the existing number field, but you can use the formula field (which doesn't display thousands separators)
And don't forget to mark this answer as best, if answer this helps you :-)
--
Regards,
Grazitti Team
Web: www.grazitti.com

Don't allow users to personalize nav bar

Please check the Below Options or check the Doc from the Below Link
- If you don’t want your users to personalize the navigation bar for a specific app, disable personalization. From Setup in Lightning Experience, go to the App Manager. For the desired app, select App Options. Select Disable end user personalization of nav items in this app.
- If you don’t want your users to personalize the navigation bar for any app, disable personalization. From Setup, enter User Interface in the Quick Find box, then select User Interface. Select Disable Navigation Bar Personalization in Lightning Experience. Salesforce recommends disabling navigation personalization by app instead of for the entire org.
Kindly Mark this as a Best Answer if you Find this Useful!
Thanks
DineshKumar Gopalakrishnan
If the issue is log in flow you should be getting the email. By removing the login flow you will not be able to use that log in flow again and you may need to create a new.
Can you provide the consent that we can delete the log in flow and it anything breaks because of this it is your resposibility.
Can you just confirm the org Id and also domain name if possible just to confirm
Thanks,