Category Archives: Development

Jun 27

Speech recognition using Visualforce

https://developer.salesforce.com/blogs/developer-relations/2013/03/speech-recognition-att-toolkit.html https://developer.salesforce.com/blogs/developer-relations/2013/01/att-toolkit-for-salesforce-platform.html https://developer.salesforce.com/page/Salesforce-Platform-for-ATT-Toolkit http://developerboards.att.lithium.com/t5/AT-T-Developer-Program-Blogs/Speech-recognition-using-Salesforce-Mobile-SDK-and-the-AT-amp-T/ba-p/34514 http://hemhemanth.blogspot.com/2013/04/salesforce-mobile-sdk-for-android.html  

Posted in Development | Tagged , | Comments Off on Speech recognition using Visualforce
Jun 23

HTML 5 Geolocation in Visualforce

https://developer.salesforce.com/blogs/developer-relations/2010/07/html-5-geolocation-in-visualforce.html   Winter ’13: Using Apex and SOQL with Geolocation https://developer.salesforce.com/blogs/developer-relations/2012/10/winter-13-using-apex-and-soql-with-geolocation.html  

Posted in Development | Comments Off on HTML 5 Geolocation in Visualforce
Jun 13

Salesforce 1 notes

https://developer.salesforce.com/en/events/webinars/JavaScript_Applications_Salesforce — Need to Review!!!!! http://developer.force.com/cookbook/recipe/using-jquery-in-a-visualforce-page https://na19.salesforce.com/one/one.app http://getbootstrap.com/ MyCharts is a Salesforce Labs app, available for free on the AppExchange: https://appexchange.salesforce.com/listingDetail?listingId=a0N3000000B4ablEAB https://github.com/arun-sfdc/Analytics-API https://github.com/arun-sfdc/Analytics-API/blob/master/scorecard.page https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/sforce_analytics_rest_api_filter_reportdata.htm?language=en https://medium.com/@arun_sfdc  

Posted in Development | Comments Off on Salesforce 1 notes
Jun 04

Best Practices & utility-class

More Great Stuff! http://www.salesforcefast.com/p/best-practices.html ******************************************************** Best Practices Apex Development Comment your code. Use three spaces for indentation. Always include try-catch block in each method. Throw your own custom exceptions. Use addError() to manage DML errors inside of classes and triggers. … Read More

Posted in Development | Comments Off on Best Practices & utility-class
May 12

Insert Records in SF by using JavaScript without Apex classes or controller.

http://anuragsfdc.blogspot.in/2014/05/Insert-Records-SF-by-using-JavaScript.html *************************************************** <apex:page id=”Page” sidebar=”false”> <script src=”/soap/ajax/20.0/connection.js” type=”text/javascript”></script> <script> function insertAccount(){ // Getting Session ID. sforce.connection.sessionId = “{!$Api.Session_ID}”; //Creating New Account Record. var account = new sforce.SObject(“Account”); //Getting Account Name from inputText. account.Name = document.getElementById(“Page:Form:PB:PBS:PBSI:Name”).value; // This is the line … Read More

Posted in Development | Comments Off on Insert Records in SF by using JavaScript without Apex classes or controller.
Jan 06

SALESFORCE APEX AND WINDOWS COMMUNICATION FOUNDATION (WCF)

http://www.sundoginteractive.com/sunblog/posts/salesforce-and-windows-communication-foundation   Trying to work with Windows Communication Foundation ( WCF ), which can build web services, from Microsoft can be difficult at times. Here are three links which describe some of those difficulties. 1)  The first one is pulled … Read More

Posted in Development | Tagged , | Comments Off on SALESFORCE APEX AND WINDOWS COMMUNICATION FOUNDATION (WCF)
Dec 13

IEC dev notes

<button onclick="displayDate()">Try it</button> <code>{!URLFOR($Page.MyExamplePage,'',[objectId = campaign.id])}</code> <apex:page standardController="Product__c" extensions="Extension_VF_Product"> <apex:pagemessages /> <script> function checkedPassThruAll() { document.getElementById('{!$Component.frm1.pblock.Sect5.Black_Start_Amount__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Ercot_Administration_Team__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Non_Spin_Bill_Amount__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Regulation_Up_Service__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Replacement_Reserve_Service__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Regulation_Down_Service__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Charge_for_Emerg_Power_Increase_Amount__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Base_Point_Deviation_Amount__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Real_Time_Rev_Neutrality_Alloc_Amount__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Ancillary_Services_Pass_Through_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.ResourceAdequacy_RPM_Pass_Through_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.RECs_Pass_Through_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.TEC_Credit_or_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.ISO_Pass_Through_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.ARR_Pass_Through_Charge_Credit__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Operating_Reserves_Pass_Through_Charge__c}').checked=true; document.getElementById('{!$Component.frm1.pblock.Sect5.Marginal_Loss_Credit__c}').checked=true; } function uncheckedPassThruAll() { document.getElementById('{!$Component.frm1.pblock.Sect5.Black_Start_Amount__c}').checked=false; document.getElementById('{!$Component.frm1.pblock.Sect5.Ercot_Administration_Team__c}').checked=false; document.getElementById('{!$Component.frm1.pblock.Sect5.Non_Spin_Bill_Amount__c}').checked=false; document.getElementById('{!$Component.frm1.pblock.Sect5.Regulation_Up_Service__c}').checked=false; … Read More

Posted in Development | Tagged | Comments Off on IEC dev notes
Dec 09

Canadian Billing Postal Code Formulas

https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_useful_field_validation_formulas.htm&language=en AND( OR(BillingCountry = "CAN", BillingCountry = "CA", BillingCountry = "Canada"), NOT(REGEX(BillingPostalCode, "((?i)[ABCEGHJKLMNPRSTVXY]\\d[A-Z]?\\s?\\d[A-Z]\\d)?")) )

Posted in Development | Tagged , | Comments Off on Canadian Billing Postal Code Formulas
Nov 22

Inline Edit in a custom Visualforce UI

http://www.mindfiresolutions.com/How-to-use-Inline-Edit-in-a-custom-Visualforce-UI-Page-2278.php    Inline Edit We all know that we can edit the value of a field by going to the Edit Page,edit it and Save it using the Save button. But Salesforce     besides that provides an efficient of … Read More

Posted in Development | Tagged , | Comments Off on Inline Edit in a custom Visualforce UI
Jul 26

Role VS Profile

  Profiles control: The objects the user can access/action The fields of the object the user can access/action The tabs the user can access/action The apps the user can access/action The page layout that is assigned to the user The … Read More

Posted in Administration, Development | Comments Off on Role VS Profile