View TransferSession.page
<apex:page showHeader="false" sidebar="false"> | |
<!-- | |
Replace <your_resource> with the name of the static resource with | |
your application files in it. This assumes that you are using a zipped static | |
resource with your javascript files in a 'js/' folder. | |
--> | |
<apex:includeScript value="{!URLFOR($Resource.<your_resource>, '/js/transfer-session.js')}" /> | |
</apex:page> |
View MyOverrideClass.cls
public class MyOverrideClass extends MyVirtualClass { | |
@auraEnabled | |
public override String getName() { | |
return 'MyOverrideClass'; | |
} | |
@auraEnabled | |
public override Object getObj() { | |
return 'Hello World'; |
View DummyController.cls
public class DummyController { | |
@auraEnabled | |
public static Boolean getFalse() { | |
return false; | |
} | |
} |
View LightningOutRecordView.app
<aura:application extends="ltng:outApp" > | |
<aura:dependency resource="c:recordViewRepro" /> | |
</aura:application> |
View lightningInputRepro.cmp
<aura:component implements="force:appHostable"> | |
<!-- public attributes --> | |
<aura:attribute name="myObj" type="Account" default="{Name: '', Type: ''}" access="PUBLIC" /> | |
<!-- body markup --> | |
<c:lightningInputReproFields record="{!v.myObj}" /> | |
<lightning:button label="Update Object" onclick="{!c.updateObj}" /> | |
<lightning:button label="Update Name" onclick="{!c.updateName}" /> |
View UserRecordAccessDebug.page
<apex:page controller="UserRecordAccessDebugCtrl" showHeader="true" sidebar="true"> | |
<!-- | |
Load this page with a record in the 'id parameter as users with varying record access | |
--> | |
<apex:form> | |
<h2>User</h2> | |
<br /> | |
<apex:selectList value="{!userId}" size="1"> | |
<apex:selectOptions value="{!userOptions}" /> | |
<apex:actionSupport event="onchange" rerender="debug" /> |