This file contains hidden or 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
| # Default | |
| * text=auto | |
| # Force LF for source files | |
| *.cls text eol=lf | |
| *.trigger text eol=lf | |
| *.xml text eol=lf | |
| *.json text eol=lf | |
| *.js text eol=lf | |
| *.ts text eol=lf |
This file contains hidden or 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
| 次の作業ディレクトリでSalesforceAPIをつかったアプリケーションを開発したいです。 | |
| 作業ディレクトリ: | |
| <your directory pass>/Projects/salesforce-api-playground | |
| まず以下を確認してから作業を始めてください。 | |
| - pwd | |
| - git status | |
| - ファイル一覧 | |
| - .gitignore の内容 |
This file contains hidden or 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 CheckWeather { | |
| @InvocableMethod( | |
| label='Check Weather' | |
| description='Check weather at Coral Cloud Resorts at a specific date' | |
| ) | |
| public static List<WeatherResponse> getWeather( | |
| List<WeatherRequest> requests | |
| ) { | |
| // Retrieve the date for which we want to check the weather | |
| Datetime dateToCheck = (Datetime) requests[0].dateToCheck; |
This file contains hidden or 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 PersonalizedGuestExperiences { | |
| // Make this method available for grounding | |
| // the Generate_Personalized_Schedule prompt template | |
| @InvocableMethod | |
| public static List<Response> getSessions(List<Request> requests) { | |
| Request input = requests[0]; | |
| Contact contact = input.myContact; | |
| List<Session__c> sessions = |
This file contains hidden or 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
| :host { | |
| /* Custom CSS variables for reusing style in this component and child components */ | |
| --primary-color: #00373e; | |
| /* Text styling hooks */ | |
| --slds-g-color-neutral-base-10: var(--primary-color); | |
| --slds-g-color-neutral-base-30: var(--primary-color); | |
| /* Border styling hooks */ | |
| --slds-g-color-border-base-1: var(--primary-color); |
This file contains hidden or 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 | |
| class="slds-var-m-around_medium slds-grid slds-grid_vertical slds-box slds-theme_default"> | |
| <h1><font size="3"><b>Housing Market Dashboard</b></font> | |
| </h1> | |
| <!-- Chat messages container --> | |
| <div | |
| class="slds-scrollable_y" | |
| style="height: 440px" | |
| lwc:ref="chatContainer" |
This file contains hidden or 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"> | |
| <head> | |
| <style> | |
| .cssHeaderRow { | |
| background-color: #2A94D6; | |
| } | |
| .cssTableRow { | |
| background-color: #F0F1F2; | |
| } | |
| .cssOddTableRow { |
This file contains hidden or 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
| source 'https://rubygems.org' | |
| ruby '2.2.2' (対象のRubyバージョン) | |
| gem 'rails', '4.2.4' (対象のRailsバージョン) | |
| gem 'bootstrap-sass', '~> 3.3.5' (Bootstrapが使える) | |
| gem 'sprockets', '~> 3.3.3' (Railsで依存関係の管理やコンパイルなどをやってくれる) | |
| (開発環境とテスト環境のみ対象) | |
| group :development, :test do | |
| gem 'sqlite3', '1.3.10' (sqlite3をインストール) |
This file contains hidden or 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 LeadProcessor implements Database.Batchable<sObject>, Database.Stateful { | |
| /** | |
| * コンストラクタ | |
| */ | |
| public LeadProcessor() { | |
| } | |
| /** |
This file contains hidden or 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="UrlClassDemoController" showHeader="true" sidebar="false"> | |
| <!-- Begin Default Content REMOVE THIS --> | |
| <h1>Congratulations</h1> | |
| This is your new Page | |
| <!-- End Default Content REMOVE THIS --> | |
| </apex:page> |
NewerOlder