Causes of StaleElementReferenceException: Page Refresh or Navigation: If the page is refreshed or navigated, previously located elements become stale. DOM Updates: Dynamic pages (e.g., those using JavaScript frameworks like React, Angular) may update or reload elements, making previous references invalid. Element…
QA Testing
Answered Dec 15, 2024
·
1.7K Views
Read answer →
In case of sql insert if not exists - If 2 transactions try to MERGE a new value, the second one will get an ORA-00001 after the first one commits. Session 1: SQL> create table t1 (id number not null, constraint t1_pk primary key(id)); Table created. SQL> merge into t1 using (select 1 as id from dual) s on (t1.id =…
SQL Server
Answered Jun 6, 2024
·
3.2K Views
Read answer →
Custom Permission in salesforce cannot be assigned to the user directly. That could be done by means of assigning the Permission Set to the user. Custom Permission should already be assigned to the Permission Set : PermissionSetAssignment assignment = new PermissionSetAssignment(); assignment.AssigneeId = userId;…
Salesforce
Answered Jun 5, 2023
·
1.1K Views
Read answer →
When using it actually submits the page. You could see the HTML button actually type is submit. Refer documentation A button that is rendered as an HTML input element with the type attribute set to submit, reset, or image, depending on the tag's specified values. The button executes an action defined by a controller,…
Salesforce
Answered Jun 5, 2023
·
1.1K Views
Read answer →
To eliminate salesforce duplicate report - If I understand correctly, in SOQL you'd express your requirement more or less like that? SELECT Id, Name FROM Account WHERE Id IN (SELECT Account__c FROM Ownership__c WHERE Property__r.Type__c = 'Maisonette') It's perfectly doable with a cross filter. Let's say I want to see…
Salesforce
Answered May 22, 2023
·
1.0K Views
Read answer →
The slds cards should be in their own layout boxes (instead of being the layout boxes), and should not be floating. Elements that restrict size changes (e.g. slds-size_1-of-3) should be wrapped around whatever it is you're trying to size. Most of the time it doesn't matter, but it helps to get in the habit of doing…
Salesforce
Answered May 18, 2023
·
1.6K Views
Read answer →
It appears that Salesforce has a pdf document with prices for all add-ons - https://www.salesforce.com/content/dam/web/en_us/www/documents/pricing/all-add-ons.pdf It is stated that Salesforce Connect is $4,000 per connection per month. Salesforce Connect Price $4,000 connection/month Access, display, and change data…
Salesforce
Answered May 11, 2023
·
2.6K Views
Read answer →
Backend You cannot use other programming languages for backend development than Apex, but have in mind that within Salesforce you can use a great number of APIs, from which the most popular ones for developing custom applications are REST API and SOAP API. For mobile development you can use Mobile SDK. May 2022…
Salesforce
Answered May 4, 2023
·
1.4K Views
Read answer →
To diagnose the Error: Dependent class is in error and needs recompilation It is possible that if you get this error in the Force.com Eclipse IDE, there will be no further diagnostic information beyond the line number of the class being compiled that references some dependent class (which could be the dependent of a…
Salesforce
Answered May 4, 2023
·
2.2K Views
Read answer →
The answer to your question - How to use a static resource to display an image on a visualforce page is -The reason why the image doesn't show up in the email is because value="{!$Resource.myResourceImage}" generates a relative URL from which the image is rendered (i.e. "/resource/1312483024000/logo"). This URL is…
Salesforce
Answered May 4, 2023
·
1.5K Views
Read answer →
You are getting this error - formula expression is required on the action attributes because you have not used formula expression in for both commandbuttons. Use as
Salesforce
Answered May 1, 2023
·
1.3K Views
Read answer →
Individual Object Model The individual model is used as a combination of Account and Contact. This is used when you're dealing with Company. Here company information is stored as Account and since a company can have multiple contacts, this information is stored in Contact object. These are most often called Business…
Salesforce
Answered May 1, 2023
·
1.3K Views
Read answer →