Force.comに関するブログ文章やメモです。

Build LINE Bot web application with Node.js and Heroku

Overview In order to check the operation of the LINE Bot web application that using the LINE Messaging API, you need a server that can be accessed externally.This post shares the creation procedure of LineBot web application using Heroku. Basic flow 1. Heroku development environment For web online development environment, Heroku + Cloud 9 is […]

read more

SalesforceXyTools For Chrome – Quick Search MetaData Tools

What is SalesforceXyTools for Chrome ? SalesforceXyTools for Chrome is a developer tools for Salesforce,SFDC,Force.com. Login SFDC By 1 click Quickly Search For Sobject,Apex,Trigger,Page,Component,EmailTemplate,SataticResource, etc Auto Create Soql, Run Soql, Soql History Run Apex Script. Quick Search SFDC Document Run Rest Query View Apex Code Coverage Run JSForce Script Install From Chrome Web Store Tips […]

read more

Using URL parameters on Salesforce standard pages

Salesforce has many URL parameters can be used on its standard page, with this kind of parameters, you can do some URL hacking on it, as below: Note: All of parameters must be encoded with UTF-8. Login page There are two ways to login and access into Salesforce from url. 1. https://<SFDC Instance Url>/ Parameter […]

read more

KISS principle for apex code with List and Map in Salesforce

Here are some KISS (Keep it simple, stupid) principles for cleaning our apex code with List and Map in Salesforce, as Linus Torvalds said: “Talk is cheap. Show me the code”, let me show you as below: Initialize Map Normal KISS principle Select(SOQL) to Map Normal KISS principle Initialize List Normal KISS principle Map keys […]

read more

Auto Create VF-Controller-DTO-DAO-Code

SalesforceXyTools Auto Create VF-Controller-DTO-DAO-Code Hello,I am Exia.huang. Today I will show you how to create VisualForce/Apex quickly by using SalesforceXyTools. There are 5 steps. Find the menu below. [SFDC-XY]->[SFDC Code Creator]->[Create VisualForce/Controller/DTO/DAO Code] Select your Sobject. I will select Blog__c. Select Custom Fields Or All Fields. I will select custom fields-Include Validate. The sobject of […]

read more

Rapid development tools for Salesforce.(SalesforceXyTools)

SalesforceXyTools SalesforceXyTools for Sublime Text is Rapid development tools for Salesforce Development. Auto Create Apex Test Class Code, Auto Create Test Data For Apex Test Class. SFDC Dataviewer, SFDC Online Dataviewer. SObject Viewer, SObject Description, Export SOjbect Fields to Excel Atuo Login SFDC. SOQL Query, Tooling Query, Run Apex Script. How To Install? How To […]

read more

Batch Apex running mode (parallel and series) and how to maintain state in it

In my early post, I’d shared about how to write a Schedulable Batch Apex in Salesforce, and I’ll show you how transactions run in batch Apex and how to maintain their state across these transactions in this post. Batch Apex running mode (parallel / series) As we know, each execution of a batch Apex job […]

read more

Salesforce Mass Editor (Chrome Extension) – Seconds to make any standard list view to be a powerful mass editor

This’s my second Chrome Extension (First one is HERE) this year, named “Salesforce Mass Editor” and it supports for doing the below things : ・Makes any Salesforce list view to be a powerful mass editor. ・Mass insert, mass clone, mass update, mass delete, ALL-IN-ONE. ・Export record data to CSV file. ・Mass copy & paste from […]

read more

Instantiating an Apex class based on dynamic string name with Type class

Somtimes we need to instantiate a Apex class by dynamic value in Salesforce, which can make our program more modular and more readable, such as the below case : 1. Each Contact has its socail fields : “Type__c” and “AccessToken__c” 2. Needs to request its profile via socail api in Apex First we need to […]

read more