- 開発者コンソールの匿名実行ウィンドウ(Debug -> Open Execute Anonymous Window) にコピーペーストします。Open Logにチェックを入れて実行しましょう。
- ログが開いた後、Debug Only にチェックを入れると、最大値が表示されるはずです。
Integer a,b,c,max;
a = 5;
b = 10;
c = 7;
#!/usr/bin/env python | |
# coding: utf-8 | |
import sys | |
import os | |
import datetime | |
import csv | |
from simple_salesforce import Salesforce | |
def retrieve(): | |
"""Retrieve metadata component dependency with custom labels in the target salesforce org |
<apex:page showHeader="false" sidebar="false" applyBodyTag="false" applyHtmlTag="false" standardStylesheets="false" docType="html-5.0"> | |
<html> | |
<head> | |
<apex:slds /> | |
<style type="text/css"> | |
body { | |
margin: 0; | |
background-color: rgba(176, 196, 223, 1.0); | |
} |
<!--ExampleUtilityItemCloseAction.cmp--> | |
<aura:component implements="force:lightningQuickAction,lightning:availableForFlowActions,lightning:utilityItem"> | |
<lightning:utilityBarAPI aura:id="utilitybar" /> | |
</aura:component> | |
<!--ExampleUtilityItemCloseActionController.js--> | |
({ | |
invoke : function(component, event, helper) { | |
var utilityAPI = component.find("utilitybar"); | |
utilityAPI.getEnclosingUtilityId() |
<decisions> | |
<processMetadataValues> | |
<name>index</name> | |
<value> | |
<numberValue>0.0</numberValue> | |
</value> | |
</processMetadataValues> | |
<name>myDecision</name> | |
<label>myDecision</label> | |
<locationX>50</locationX> |
require 'json' | |
require 'csv' | |
dictionary = {} | |
# List all the english labels | |
Dir.glob('**/package.nls.json') do |json_path| | |
package_name = json_path.sub(/packages\/salesforcedx-vscode-/,'').sub(/\/package.nls.json/,'') | |
File.open(json_path) do |data| | |
json_hash = JSON.load(data) | |
json_hash.each do |key, value| |
#.github/workflows/main.yml | |
name: Scratch org for review | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
if: github.event.action == 'opened' || github.event.action == 'synchronize' |
//Chatter投稿(FeedItem)のトリガ | |
trigger FeedItemTrigger on FeedItem (before insert) { | |
FeedItemTriggerHandler.handleTrigger(Trigger.new, Trigger.old, Trigger.operationType); | |
} | |
//Chatter投稿に添付ファイルがある場合にエラーを表示するApexクラス | |
public class FeedItemTriggerHandler { | |
public static void handleTrigger(List<FeedItem> newRecords, List<FeedItem> oldRecords, System.TriggerOperation triggerEvent){ | |
switch on triggerEvent{ | |
when BEFORE_INSERT { |