I would suggest to use scrollIntoView() method from Element interface.
Basically use query selector to catch some element, e.g. main component or any element which is on the top of the page and call the method on its object.
Communities aren't available for offline access in Salesforce Mobile App (previously known as Salesforce 1).
This is documented in the Offline Access: What’s Different or Not Available in the Salesforce App documentation (excerpt below)
Salesforce Communities aren't supported when offline.
On top of this, it's only the Communities built using "...
I had faced this similar issue where I was not able to scroll a datatable horizontally on iPad and iPhone however it worked fine on Android.
There is an issue with the status "In Review" on Salesforce Trailblazer Community for this bug.
As a workaround, I added a div with a height of 5px below the datatable and reduced the height of the parent div by 5 px. ...
Try the following method, it will work lightning pages but it won't work in communities. For communities you need to use standard__recordPage as standard_namedPage won't work.
I have used Lightning button in html file and onclick call the following method.
You should be using a Custom Permission. Your validation could then look like:
Not(Or($Permission.EditObjectXRecords, $User.Id = OwnerId))
Alternately, consider setting your Organization Wife Defaults to Read Only, then assign the Modify All Data (Object X) permission to the profiles or a Permission Set.
There is a standard field for record owner that you can use.
If I understand correctly, you want only the record owner to be able to edit the record. In that case, your Error Condition Formula would be simply
$User.Id <> OwnerId
To include Profiles, consider the solution from @sfdcfox. It means that you do not need to consider changes to Profile ...
The reason for your error is that your trigger is a beforeInsert trigger and you are passing Trigger.newMap which is only available in an after insert trigger
Trigger.newMap - A map of IDs to the new versions of the sObject records.
This map is only available in before update, after insert, after update, and after undelete triggers.
Now with the latest release of Salesforce Mobile app version, now the tabs added in desktop version automatically get added into the mobile app also.
Just enable 'New Salesforce Mobile App' user permission to certain/all users & then you are good to go.
Refer this link: here
I too needed this feature & by doing so, it worked.
You will not see the option to authorize the org when your extension does not activate when you open the VS Code.
The below pic shows only three options when I open the command palette. When you see the blue bar at bottom in left, it does not shows you weather you are authorized to an org or not.
In the below pic, It does not give me the option to deploy ...
Your problem is here:
new Timecard_integration__c (
Name = tc.Id,
CurrencyIsoCode= tc.CurrencyIsoCode ));
hoursEntered.get(j) is a record, but Decimal.valueOf can only work on certain data types, such as a String or an Integer. You need to specify which value you're ...
No, there's no way to set this with a script. Metadata deployments can only access "public" information. Almost anything in My Personal Information are not accessible, including using default record types, email signatures, etc.
Emmanuel, as you've confirmed... if you want to use the Lightning Page framework for mobile, you must enable the Mobile on Lightning Permission: https://releasenotes.docs.salesforce.com/en-us/summer19/release-notes/rn_general_new_mobile_app_pilot.htm.
In case this link goes away... one ultimately needs to add the "Lightning on Mobile" System Permission to ...
Because the event that triggers this automation is actually an edit to the Opportunity, then the workflow would need to be an Opportunity workflow rule.
That said, I would strongly suggest using Process Builder to accomplish this. Using Process Builder, you can add an Opportunity process and, when conditions are met, push a field update through to ...