Posts

Showing posts from 2014

Single Sign-On For Communities Using Salesforce Identity Provider

Image
This Blog post helps you configure SSO for communities between two salesforce Orgs. 1. Create two developer orgs. 2. Create two domains for them, SSO is possible when there is dedicated URL (not na1.salesforce.com or ap1.salesforce.com).   It needs some thing like these: https://npr-dev-ed.my.salesforce.com, https://sf9-dev-ed.my.salesforce.com. One of them hosts community, let's just say https://sf9-dev-ed.my.salesforce.com holds the community. And other org, https://npr-dev-ed.my.salesforce.com, users want to use the community, this is where our SSO plays an important role in providing seamless navigation in between orgs. 3. Enable and create a communities in sf9 org. It is required to have a different domain name. In this example the domain name of the community is "sf9-comm-developer-edition.ap1.force.com". 4. Create a community here, with some meaningful name at the end. 5. Click "Edit", it takes you to community administrator set

Salesforce Apex @future after summer 14

@future @summer'14 @future is an annotation that tells the system to process the data asynchronously, When you specify @future, the method executes when Salesforce has available resources. In integrations, There are times when other systems may not respond immediately when you make a request. And in case of triggers, Apex governors do not allow callouts as it cannot keep the resources idle until the other systems respond. That's when you opt for @future. To make a method in a class execute asynchronously, define the method with the future annotation. For example: global   class MyFutureClass {   @future    static   void myMethod( String a, Integer i) {     System.debug( 'Method called with: ' + a + ' and ' + i);     // Perform long-running code   } } See this link: https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation_future.htm And there are limitations which have been really headaches for a de

Salesforce Aura/ Aura Framework

Image
Salesforce Aura, a UI framework, is one of the greatest things that salesforce has come up with. Please watch this video: Things I've noticed are: Its free. You can build mobile apps as well as any transformable apps for both mobile and desktop. Here is the github link for u to get a copy and try:   https://github.com/forcedotcom/aura I can kiss goodbye to the Mobile SDK. It does not require Visualforce/ Apex to work. For that matter it is independent of Salesforce platform.  It is shown in the video the syntax of aura components, <aura:component extensible="true"> <aura:attribute> tags, which means we are going to learn new things and have fun :) The basic knowledge of java/ Apache Maven is good to start with this development. As you know salesforce technologies dont mandate any thing. So, I think, the newbies can also be comfortable with this.  Salesforce1 is built on this and it has excellent capabilities. I dug into the git and foun