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
<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" /> |
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: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}" /> |
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:application extends="ltng:outApp" > | |
<aura:dependency resource="c:recordViewRepro" /> | |
</aura:application> |
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 DummyController { | |
@auraEnabled | |
public static Boolean getFalse() { | |
return false; | |
} | |
} |
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 MyOverrideClass extends MyVirtualClass { | |
@auraEnabled | |
public override String getName() { | |
return 'MyOverrideClass'; | |
} | |
@auraEnabled | |
public override Object getObj() { | |
return 'Hello World'; |
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
<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> |