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" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0"> | |
<html xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<head> | |
<title>Salesforce Lightning Design System Trailhead Module</title> | |
<apex:stylesheet value="{!URLFOR($Resource.SLDS080, 'assets/styles/salesforce-lightning-design-system-vf.css')}" /> | |
</head> | |
<body> | |
<div class="slds"> | |
<span class="slds-avatar slds-avatar--x-small"> | |
<img src="{!URLFOR($Resource.SLDS080, '/assets/images/avatar1.jpg')}" alt="meaningful text" /> |
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
<div class="tabbed-list-view-nav"> | |
<a href="#" class="span-25 on">Tab1</a> | |
<a href="#" class="span-25">Tab2</a> | |
<a href="#" class="span-25">Tab3</a> | |
<a href="#" class="span-25">Tab4</a> | |
<div id="tabbed-list-view-nav-arrow" class="tabbed-list-view-nav-arrow"> </div> | |
</div> | |
<ul class="tabbed-list-view"> | |
<li> |
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="RemoteActionReRenderController" showHeader="true" sidebar="false" > | |
<body> | |
<apex:form id="form"> | |
<apex:commandButton value=" Go!! " action="{!doClick}" reRender="form"/> | |
<c:RemoteActionReRender rendered="{!isComponentView}"/> | |
</apex:form> | |
<script> | |
function getAccount() { | |
try { | |
{!$RemoteAction.RemoteActionReRenderController.getAccount}(function(results, event){ |
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
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/css/bootstrap.min.css"></link> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.0/js/bootstrap.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.10/angular.min.js"></script> |
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 > | |
<apex:includeScript value="{!$Resource.JSforce}" /> | |
<apex:form > | |
<apex:commandButton value=" Go!! " onclick="return doClick();" /> | |
</apex:form> | |
<script> | |
var conn = new jsforce.Connection({ accessToken: '{!$Api.Session_Id}' }); | |
function doClick() { | |
var soqlQuery = 'SELECT Id, Name FROM Account'; | |
conn.query(soqlQuery, function(err, res) { |
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
ContentVersion contentVersion = new ContentVersion( | |
Title = 'TEST' | |
,Description = 'TEST' | |
,PathOnClient = 'myString' | |
,VersionData = Blob.valueof('myString') | |
,FirstPublishLocationId = parentId | |
); | |
insert contentVersion; |
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
// Update処理 | |
List<Database.Saveresult> results = Database.Update(accounts, false); | |
// Errorレコード判定 | |
Integer i = 0; | |
for (Database.SaveResult sr : results) { | |
if(!sr.isSuccess()) { | |
Database.Error err = sr.getErrors()[0]; | |
contactMap.get(accounts[i].Id).addError( | |
err.getMessage() |
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="true" sidebar="false"> | |
<apex:includeScript value="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js" /> | |
<apex:includeScript value="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.10/angular.min.js"/> | |
<c:RemoteTK /> | |
<style type="text/css"> | |
#vf-page .webparkList input { | |
background-color: transparent; | |
border-style: none; |
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="true" sidebar="false"> | |
<apex:includeScript value="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js" /> | |
<apex:includeScript value="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.10/angular.min.js"/> | |
<apex:includeScript value="{!$Resource.JSforce}" /> | |
<style type="text/css"> | |
#vf-page .webparkList input { | |
background-color: transparent; | |
border-style: none; |
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 docType="html-5.0" showHeader="true" sidebar="false"> | |
<vs:importVisualStrap theme="default" /> | |
<vs:visualStrapBlock > | |
<!--All the Visualstrap content and Visualforce content here --> | |
</vs:visualStrapBlock > | |
</apex:page> |
OlderNewer