Blog

Posted in Salesforce

Salesforce introduces new field type “Time”

Salesforce recently introduced new Field Type named Time, it can be used to keep track of time which are not specific to date. Like daily call time.

Time Field Type

Along with the new Field Type we even get functions to support the Time field type in Formula fields
TIMEVALUE – Returns Time
TIMENOW – Current Time
HOUR – Returns the Hour of the day
MINUTE – Returns the Minute of the day
SECOND – Returns the Secend of the day
MILLISECOND – Returns the MILLISECOND of the day

Time Field Type In Formula

Advertisements
Posted in Salesforce

Connecting Java to Salesforce

Force.com Web Services Connector(WSC)

https://developer.salesforce.com/page/Introduction_to_the_Force.com_Web_Services_Connector

Generate .jar from WSDL

java -classpath .\ST4-4.0.8.jar;.\wsc-40.jar;.\antlr-runtime-3.4.jar com.sforce.ws.tools.wsdlc enterprise.wsdl enterprise.jar

CMD screenshot.PNG