This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@InvocableApex | |
public void processEmailWithAttachment(){ | |
//Attachement Part | |
List<Messaging.Emailfileattachment> fileAttachments = new List<Messaging.Emailfileattachment>(); | |
Map<Id,ContentDocumentLink> mapContDocuLink = new Map<Id,ContentDocumentLink>([Select Id, ContentDocumentId FROM | |
ContentDocumentLink | |
WHERE LinkedEntityId=:oppDetails.Id ]); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<c-child></c-child> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div onsenddata={handleSendData}> | |
<div onsenddata={handleSendData}> | |
<div class="buttonDiv" onsenddata={handleSendData}> | |
<lightning-button label="send data" onclick={handleClick}></lightning-button> | |
</div> | |
</div> | |
</div> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--EventCommunication.html --> | |
<template> | |
<lightning-button label="send data" onclick={handleSend}></lightning-button> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//EventCommunication.js | |
import { LightningElement } from "lwc"; | |
export default class EventCommunication extends LightningElement { | |
handleSend() { | |
this.dispatchEvent(new CustomEvent("senddata")); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { LightningElement, track, wire } from 'lwc'; | |
import getContacts from '@salesforce/apex/ExploreCustomContactController.getContacts'; | |
import getContactFields from '@salesforce/apex/ExploreCustomContactController.getContactFields'; | |
import getFieldTypes from '@salesforce/apex/ExploreCustomContactController.getFieldTypes'; | |
export default class ExploreReimplementDataTable extends LightningElement { | |
@track columns = [ | |
{ label: 'Id', fieldName: 'Id' }, | |
{ label: 'Name', fieldName: 'Name' } | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class ExploreCustomContactController { | |
public ExploreCustomContactController() { | |
} | |
@AuraEnabled | |
public static Map<String, String> getFieldTypes(List<String> selectedFields){ | |
String objectName = 'Contact'; | |
Map<String, String> fieldTypeMap = new Map<String, String>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class exploreTestOne { | |
String localAccountId; | |
Set<Id> accountIds = new Set<Id>(); | |
List<Contact> finalContacts = new List<Contact>(); | |
public Map<Id, List<Id>> accountContacts{set; get;} | |
Map<Id, String> accountRatingMap = new Map<Id, String>(); | |
public exploreTestOne(){ |