3

It is not possible in standard configuration. As per your requirement you have to override the standard View functionality. I am explaining a workaround where you will achieve close to the requirement. What you have to do, create a Lightning Component place it in the Account detail page and show the Modal Popup in the init method using lightning:...


3

{!...} is a two-way binding. This means that any changes you make to the attribute from the parent will appear to the child, and any changes in the child should also affect the parent. I say "should" because there are some bugs regarding when multiple children share the same parent attribute, not all of them may see the change. Regardless, this is at least ...


2

The issue you are having is with how you are saving the response value you get back from the wire method. you are capturing it as a generic object {data,error} however you aren't saving that to a variable external from the wire method. In order to use RefreshApex you have to pass in the response you get back from the wire method like below. @track ...


2

I feel you may be approaching this from the wrong direction. Lightning, by default, encodes all unsafe characters so you don't accidentally get XSS injections. There's ways around this, but I'd say you can probably just use CSS instead. formatString: function(component, event, schemes) { schemes.forEach(scheme => scheme.RequiredFromClientMain__c = ...


1

If your org uses record types, picklist fields display values according to your record types. You must provide a record type ID using the record-type-id attribute if you have multiple record types on an object and you don't have a default record type. Otherwise, the default record type ID is used.


1

As of now, there isn't a straightforward way to pass picklist values from a Lightning component and populate it dynamically in a Flow Picklist element or a Radio button. Below are the few options you can try: 1) Check if the flow element 'Single Select Table' is present in your org. Currently, it's available in only a few managed packages (e.g. Financial ...


1

This is due to a security measure that prevents HTML injection. You should use aura:unescapedHtml to render HTML but make sure that your source of data is safe: https://developer.salesforce.com/docs/component-library/bundle/aura:unescapedHtml/specification


1

You have to change URL from var urlStr = 'lightning/setup/Queues/page?address=/p/own/Queue/d?id=00GXXXXXXXXXXXX'; to var urlStr = '/p/own/Queue/d?id=00GB00000042vpz&setupid=Queues'; It worked for me


1

You need to use ALL rows for querying archived records ContentDocument[] cd=[SELECT Id, Title FROM ContentDocument where isArchived = true ALL ROWS]; system.debug([SELECT id FROM ContentDocumentLink where ContentDocumentId=:cd[0].id and LinkedEntityId='0060o00001ChnVeAAJ' ALL ROWS]); you have to do something like this


1

I had a similar issue and this is what I ended up doing: I had my list of iterated items and my list of 'activeSections' (both attributes). But I wasn't able to set the activeSections first before the page was rendered. So I added an additional method to be completed after rendering of the page to set the 'activeSections'. Hopefully this helps! //...


1

I recommend to use the new Lightning Message Service (Beta as of Spring '20) as it's specially designed for that purpose.


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