• John na
  • NEWBIE
  • 9 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 2
    Questions
  • 15
    Replies
Dear Developers,

My company wants to use delegated authentication for SSO of our customers that log into our in-house web control panel. Our goal is that when our customer is logged into our site, they can click a support link and view a SFDC Service Cloud Community page for their account.

Our SFDC Service Cloud Community is published in our sandbox.

We have set-up an authentication service based on our WSDL, our organization’s single sign-on gateway URL, and enabled the “Is Single Sign-On Enabled” user permission for some of our single sign-on users. We have added SFDC IPs to our firewall so they can connect to our dev server with the auth service.

My question is what salesforce url should we POST to so this works?

Thank you!
Dear Community,

The default page for a user to self-register on is associated with one Account.  Is there any sample code around that allows an Account ID to be specified as part of the registration process?

Page 16 here:  http://help.salesforce.com/help/pdfs/en/salesforce_communities_implementation.pdf
mentions CommunitiesSelfRegController and states,
"d. Enter the account ID for the partner or customer account that users who self register should be associated with."

Thank you!!!
Title says it all. The Site was working just fine earlier this morning. Now it says it is down for maintenance. We talked with SalesForce they say there are no problems that they are aware of. The force.com version of the site works just fine. So it is not a code problem. The help on the site page when assigning the page to display for maintence suggests that this page only appears when salesforce is down for maintenance.

So my questions, is there a problem that salesforce is not aware of?
Am I missing some mistical check box that puts the site in maintenance mode?

Any ideas would be much appriciated. 

I have a similar issue to the one described in this thread:https://developer.salesforce.com/forums?id=906F0000000AeNFIA0

Google finds the correct robots.txt file for my KB, but it cannot find the sitemap. The URL I am trying to use to index my KB is help.xxx.com. This is the public URL, ie, the one my customers use to access the KB.

When I tried the workaround in the comments on the above thread, it didn't work. I created an xxx.force.com site with no name and attached my robots.txt to it. When I tell Google to index that site, it fails, saying: 

This url is not allowed for a Sitemap at this location. http://xxxx.force.com/knowledgebase/

Is the redirect causing a problem here? Or is something else the matter?

Dear Developers,

My company wants to use delegated authentication for SSO of our customers that log into our in-house web control panel. Our goal is that when our customer is logged into our site, they can click a support link and view a SFDC Service Cloud Community page for their account.

Our SFDC Service Cloud Community is published in our sandbox.

We have set-up an authentication service based on our WSDL, our organization’s single sign-on gateway URL, and enabled the “Is Single Sign-On Enabled” user permission for some of our single sign-on users. We have added SFDC IPs to our firewall so they can connect to our dev server with the auth service.

My question is what salesforce url should we POST to so this works?

Thank you!
Just 2 more days to go for the Bangalore edition of the Salesforce summer of hacks. We are working hard to bring you an exceptional platform to get your creative juices flowing.

While getting ready for the Hackathon, please go through Raja's post below to get your computer ready for the Hackathon. For those who are new to Salesforce1, check out the Salesforce1 guide: http://www.salesforce.com/us/developer/docs/salesforce1/salesforce1_guide.pdf. 

Please post any queries around the Hackathon here. We have experts monitoring this topic. 
Hi there,
I hope you are all excited and getting ready for the upcoming Summer Of Hacks hackathon! At the hackathon time flies by really fast and you don’t want to spend time installing and configuring multiple software required to build apps. So to help you with that, we have created a list of software and tools that you can pre-install before the hackathon and focus on building the app.

Software And Tools:

1. New Salesforce Account (https://developer.salesforce.com/ (https://developer.salesforce.com/" target="_blank))
In general, it's better to use new Salesforce account rather than an old one for the Hackathon so you have all the current features.
Tip: Add Network Access to "0.0.0.0" to "1.255.255.255" (Settings > Network Access) so you can login from any I.P. address.

2. Github (https://github.com/ (https://github.com/" target="_blank))
Make sure you have Github installed and configured. You can find instructions for Github CLI here: https://help.github.com/articles/set-up-git, for Windows GUI client here: https://windows.github.com/, and for Mac GUI client here: https://mac.github.com/.

3. Force.com CLI (http://force-cli.heroku.com/)
Force.com CLI allows you to interact with Salesforce. Use this tool to download your app (see: http://bit.ly/U5NboC (http://bit.ly/U5NboC" target="_blank)) to local machine so that you can later check-in your app to Github.

4.  Salesforce1 Mobile App  (http://www.salesforce.com/mobile/)
Install and try Salesforce1 Mobile app from Apple or Google Play app store to ensure your phone is compatible.

5. Salesforce1 Chrome Browser Plugin:(http://bit.ly/1qH8tWw )
It opens up Salesforce1 inside Chrome browser. You can use this to see how your app looks inside a mobile device. Tip: You can also debug your app by simply going to https://<instance>.salesforce.com/one/one.app

6. SOQL Tools
There are many tools for you to make and test REST calls and SOQL queries to Salesforce and here are couple of them. 1. Workbench (https://workbench.developerforce.com/login.php (https://workbench.developerforce.com/login.php" target="_blank)) and 2. A Chrome browser plugin called Advanced REST Client ( http://bit.ly/K5yopu (http://bit.ly/K5yopu" target="_blank))

7. Heroku + Canvas App (https://www.heroku.com (https://www.heroku.com" target="_blank)):
If you are planning to build a Heroku + Canvas App, make sure to register to Heroku and setup your Heroku environment.

@rajaraodv (http://twitter.com/rajaraodv" target="_blank)
Hi,
  As part of my project requirement, i need to load the data from SFDC to Oracle Database using automation scripts. Is this technicall fesable?? If yes, how to do the same??? Please advice.
Note: I already wrote the automation configuration files to load the data from Oracle database to SFDC and they are working.
Is it allowed to build an app in java using Eclipse as an IDE and later load it into Salesforce platform during the competition.

Hi,

 

I am trying to write the  Trigger code when the status of the case is changed and any other changes in fields with conditional loops for changing the Mail subject.

 

The issue was on trigger that send the same mail subject when i changed the status or changed the iother fields in the case.

 

The following is my code,

trigger caseUpdationMailNotification on Case ( after update) {
    contact relatedCaseContact;
    CaseComment Cscmnt;
    for(case Cases :trigger.new){
    relatedCaseContact = [SELECT Email FROM Contact WHERE Id = :Cases.ContactId];
      Messaging.reserveSingleEmailCapacity(1);
               //Fetch the related case contact.
       Messaging.SingleEmailMessage CaseNotificationmail = new Messaging.SingleEmailMessage();  
       CaseNotificationmail.setToAddresses(new List<String> { relatedCaseContact.Email });
       CaseNotificationmail.setReplyTo('ambigaraman@gmail.com');
       CaseNotificationmail.setSenderDisplayName('Salesforce Support');            
      
	  If(Cases.Status =='Working'){      
       CaseNotificationmail.setSubject(' Case Status updation : ' +'Changed to working. '+'Case Number:' + Cases.CaseNumber);
       CaseNotificationmail.setPlainTextBody('Your case Status: ' + Cases.CaseNumber +'To view your case <a href=https://na1.salesforce.com/'+Cases.Id);}
       
  If(Cases.Status =='Escalated'){          
   
    CaseNotificationmail.setSubject(' Case Status updation : ' +'Changed to Escalated. '+ 'Case Number:' +Cases.CaseNumber);
    CaseNotificationmail.setPlainTextBody('Your case Status: ' + Cases.CaseNumber +' has been updated.'+'To view your case <a href=https://na1.salesforce.com/'+Cases.Id);
    }   
    
 If(Cases.Status =='closed'){           
    
    CaseNotificationmail.setSubject(' Case Status updation : ' +'Changed to closed. '+ 'Case Number:' +Cases.CaseNumber);
    CaseNotificationmail.setPlainTextBody('Your case Status:' + Cases.CaseNumber +' has been updated.'+'To view your case <a href=https://na1.salesforce.com/'+Cases.Id);
    }     
else{  
    CaseNotificationmail.setSubject(' Case  updation : ' + 'Case Number:'+ Cases.CaseNumber);
    CaseNotificationmail.setPlainTextBody('Your case : ' + ' has been updated.'+'To view your case <a href=https://na1.salesforce.com/'+Cases.Id);
    } 
	
	
    Messaging.sendEmail(new Messaging.SingleEmailMessage[] { CaseNotificationmail });
 }
}

 If i use 'elseif', It again send the email with subject for status changed,

 

Can anyone help me to write the trigger that send the mail that send when we change the status only. or there is only changes in other fields(not in status) of the case?

 

Thanks & Regards.,

Ambiga

 

Hi ,

 

Can FogBugz be integarted with Salesforce.

 

Thanks & Regards

Shailu

  • March 31, 2011
  • Like
  • 0
Hi there,
I hope you are all excited and getting ready for the upcoming Summer Of Hacks hackathon! At the hackathon time flies by really fast and you don’t want to spend time installing and configuring multiple software required to build apps. So to help you with that, we have created a list of software and tools that you can pre-install before the hackathon and focus on building the app.

Software And Tools:

1. New Salesforce Account (https://developer.salesforce.com/ (https://developer.salesforce.com/" target="_blank))
In general, it's better to use new Salesforce account rather than an old one for the Hackathon so you have all the current features.
Tip: Add Network Access to "0.0.0.0" to "1.255.255.255" (Settings > Network Access) so you can login from any I.P. address.

2. Github (https://github.com/ (https://github.com/" target="_blank))
Make sure you have Github installed and configured. You can find instructions for Github CLI here: https://help.github.com/articles/set-up-git, for Windows GUI client here: https://windows.github.com/, and for Mac GUI client here: https://mac.github.com/.

3. Force.com CLI (http://force-cli.heroku.com/)
Force.com CLI allows you to interact with Salesforce. Use this tool to download your app (see: http://bit.ly/U5NboC (http://bit.ly/U5NboC" target="_blank)) to local machine so that you can later check-in your app to Github.

4.  Salesforce1 Mobile App  (http://www.salesforce.com/mobile/)
Install and try Salesforce1 Mobile app from Apple or Google Play app store to ensure your phone is compatible.

5. Salesforce1 Chrome Browser Plugin:(http://bit.ly/1qH8tWw )
It opens up Salesforce1 inside Chrome browser. You can use this to see how your app looks inside a mobile device. Tip: You can also debug your app by simply going to https://<instance>.salesforce.com/one/one.app

6. SOQL Tools
There are many tools for you to make and test REST calls and SOQL queries to Salesforce and here are couple of them. 1. Workbench (https://workbench.developerforce.com/login.php (https://workbench.developerforce.com/login.php" target="_blank)) and 2. A Chrome browser plugin called Advanced REST Client ( http://bit.ly/K5yopu (http://bit.ly/K5yopu" target="_blank))

7. Heroku + Canvas App (https://www.heroku.com (https://www.heroku.com" target="_blank)):
If you are planning to build a Heroku + Canvas App, make sure to register to Heroku and setup your Heroku environment.

@rajaraodv (http://twitter.com/rajaraodv" target="_blank)