4

In base component value is masked after save as mentioned in the documentation To mask the value while typing you can add CSS property -webkit-text-security: disc to mask input. sample.html <template> <lightning-card title="Account Edit"> <lightning-record-edit-form object-api-name="Account"> <lightning-...


3

Because event.detail.files is always a list. Try this instead: this.uploadedFiles = [...this.uploadedFiles, ...event.detail.files];


3

The Spring '20 release brought the URL hack for prepopulating field values to Lightning! So you can once again achieve this with custom buttons (not Javascript buttons) and links much like we used to in Classic. Spring '20 release note: Navigate to a Record's Create Page with Default Field Values Where: This change applies to Lightning Experience in all ...


2

This seems to be a known issue with WalkMe (https://success.salesforce.com/answers?id=9063A000000pzVgQAI). If you can, disabling the Chrome Extension should prevent the pop-up error (not ideal, but you can still get your job done). There's one suggested fix from two weeks ago one the thread linked above - suggesting you need to publish some 'global ...


2

The files attribute is the list of files that are uploaded. So you need to concatenate two lists. this.uploadedFiles = this.uploadedFiles.concat(event.detail.files);


2

With Spring '20, you can now set a custom button to Navigate to a Record’s Create Page with Default Field Values You can see this recent question for an example of someone using it as well as the example provided by the release notes below: /lightning/o/Account/new?defaultFieldValues= Name={!URLENCODE(Account.Name)}, OwnerId={!Account.OwnerId}, ...


1

In Aura, you can use a Promise to wait for the result. That would look like this: callHelper: function(component,event,helper){ helper.createRecord(component,'dum1') .then(function(result) { console.log(result); }); } createRecord: function(component, recordName) { return new Promise( $A.getCallback(function(resolve, reject) {...


1

Your Apex action is called asynchronously from helper.createRecord(). It does not execute until after createRecord() itself returns, so it's not possible to synchronously return its result value to the calling method, callHelper() - and you certainly wouldn't want the code that's running in your UI to block waiting for an asynchronous function to return, as ...


1

I think you are looking for approach to develop this solution. Build An Aura-Component (in the Init Handler, You can call to APex Method, which will check for current logged in UserId by using UserInfo Class and query all accounts owned by this User ) You can then display all these accounts in a lightning datatable Now, go to Object Manager, Button and ...


1

You have written var evt = $A.get("e.force:navigateToMyComponent"); where as it should be :- var evt = $A.get("e.force:navigateToComponent"); See the difference navigateToMyComponent and navigateToComponent. There is no such event with name navigateToMyComponent in Aura Framework. Read the docs here:- Navigate To Component Ideally, you should use ...


1

'Order_Record_Page1' doesn't exist in the database until you press save. What you are seeing is technically a cloned version of the standard (system default) out of the box page, all in your browser. "Order_Record_Page1" is a default generated name which will be used if you press save.


1

I think you are confusing DeveloperName with Label. Most Salesforce setup objects have a DeveloperName which needs to be unique and can't contain spaces or special characters, whereas the Label can contain those things. If you open developer console and run a query using the Tooling API, you can see both pretty easily. select id, MasterLabel, DeveloperName ...


1

As Help Article: Connect the Clouds with Marketing Cloud Connect states - it's not currently possible: Lightning Experience is not supported for Marketing Cloud Connect features.


1

If is called imperatively then you must call it imperatively again. A workaround for the cacheable annotation to receive fresh data would be to pass an additional datetime parameter to the method (with now for example), therefore for each difference in parameters the method will be called again instead of returning a cached version (of course this leaves the ...


1

If it's just one percentage (or perhaps even one per field), you could build one without any external libraries. Here's an example: progressShow.cmp <aura:component implements="force:hasRecordId,flexipage:availableForRecordHome"> <aura:attribute name="apiField" type="String" default="Id" access="global" /> <aura:attribute name="...


1

There are several ways for you to accomplish this. One option will be to get a chart.js and add it to your static resources. I have a few and you could start with this one Chart.js Get this one: On your org go to Static Resources and insert the js. Set up -> Custom Code -> Static Resources -> New Name: Chartjs Choose the js file that we downloaded from ...


Only top voted, non community-wiki answers of a minimum length are eligible