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
trigger VaultDocEventtrigger on Vault_Document__e (after insert) { | |
List<Vault_Doc__c> vdocsnew = new List<Vault_Doc__c>(); | |
List<Vault_Doc__c> vdocsupd = new List<Vault_Doc__c>(); | |
List<Decimal> docids = new List<Decimal>(); | |
for(Vault_Document__e vEvent: trigger.New){ | |
docids.add(vEvent.Doc_Id__c); | |
} | |
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
<aura:component implements="force:hasRecordId,flexipage:availableForRecordHome,flexipage:availableForAllPageTypes" | |
access="global"> | |
<aura:attribute name="record" type="Object" /> | |
<force:recorddata aura:id="forceRecordData" | |
recordId="{!v.recordId}" | |
layoutType="FULL" | |
mode="EDIT" | |
recordUpdated="{!c.resetDiscountForm}" |
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
<aura:component implements="force:hasRecordId,flexipage:availableForRecordHome,flexipage:availableForAllPageTypes"> | |
<aura:attribute name="record" type="Object" /> | |
<aura:attribute name="fieldMap" type="Object" /> | |
<force:recorddata aura:id="accountrecord" | |
recordId="{!v.recordId}" | |
targetFields="{!v.record}" | |
fields="Id,Name,Doc_Token__c" | |
LayoutType="FULL" |
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
<aura:component implements="force:hasRecordId,flexipage:availableForRecordHome,force:hasSObjectName"> | |
<aura:attribute name="record" type="Object" /> | |
<aura:attribute name="fieldMap" type="Object" /> | |
<aura:attribute name="mapslink" type="String" default=""/> | |
<force:recorddata aura:id="accountrecord" | |
recordId="{!v.recordId}" | |
targetFields="{!v.record}" |
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
<aura:component implements="force:hasRecordId,flexipage:availableForRecordHome,force:hasSObjectName"> | |
<aura:attribute name="record" type="Object" /> | |
<aura:attribute name="fieldMap" type="Object" /> | |
<force:recorddata aura:id="accountrecord" | |
recordId="{!v.recordId}" | |
targetFields="{!v.record}" | |
fields="Id,Name,Rating,External_Customer_ID__c,External_Customer_ID__r.CompanyName__c,External_Customer_ID__r.ContactName__c" |
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
# my code examples from Downunder Dreaming Sydney on 29 Aug 2017 |