• lakshmi ganapathiraju
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 7
    Replies
hi frnds 
i am tring to acess google calnder throw vf pages 
so please help me
how to create an event in google calnder 
i am doing all the ways to connct salesforce calender to google caleder but can't work help me
how to add google calender to salesforce calender?
 i am doing this way
first going to google calender then settings taking the code in the calender 

<iframe src="https://calendar.google.com/calendar/embed?src=ganapathirajulakshmi5%40gmail.com&ctz=Asia/Calcutta" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>


this code adding in to my home page components name as (my)
then going to home page layout adding code name (my)


but calender can"t visible in home object

help me plz.....
Synchronize Google Calendar with Salesforce Calendar
is possible ?
 
 public void calculations()
     {
       Account a=new Account();
      a.Name=acc.Name;
      a.acc_amount__c=acc.acc_amount__c;
      insert a;
      
       Contact c=new Contact();
      c.LastName=acc.Name;
      c.con_amount__c=(acc.acc_amount__c)/2;
      insert a;
      
      
     }
        
}
public with sharing class leadConvert {

    public Account acc { get; set; }
     public Lead  led{ get; set; }

public leadConvert(){

 led= new Lead();

}

public List<Account> acclist{get;set;}
  public void accounts()
     {
      Lead l=new Lead();
      l.LastName=led.LastName;
      l.Company=led.Company;
      l.Status=led.Status;
      insert l;
   
            Database.LeadConvert lc = new Database.LeadConvert();
            lc.setLeadId(l.id);

          LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
lc.setConvertedStatus(convertStatus.MasterLabel);
Database.LeadConvertResult lcr = Database.convertLead(lc);
redirect();
      }
 public PageReference redirect(){
        System.debug('lak');
            PageReference pageRef = new PageReference('https://www.google.co.in/?gfe_rd=cr&ei=o96dVtK-BujI8AeDzoWYAw&gws_rd=ssl');
            // pageRef.setRedirect(true); 

            return pageRef;
     
 
       
     }     

}
hi frnds 
i am tring to acess google calnder throw vf pages 
so please help me
how to create an event in google calnder 
i am doing all the ways to connct salesforce calender to google caleder but can't work help me
public with sharing class leadConvert {

    public Account acc { get; set; }
     public Lead  led{ get; set; }

public leadConvert(){

 led= new Lead();

}

public List<Account> acclist{get;set;}
  public void accounts()
     {
      Lead l=new Lead();
      l.LastName=led.LastName;
      l.Company=led.Company;
      l.Status=led.Status;
      insert l;
   
            Database.LeadConvert lc = new Database.LeadConvert();
            lc.setLeadId(l.id);

          LeadStatus convertStatus = [SELECT Id, MasterLabel FROM LeadStatus WHERE IsConverted=true LIMIT 1];
lc.setConvertedStatus(convertStatus.MasterLabel);
Database.LeadConvertResult lcr = Database.convertLead(lc);
redirect();
      }
 public PageReference redirect(){
        System.debug('lak');
            PageReference pageRef = new PageReference('https://www.google.co.in/?gfe_rd=cr&ei=o96dVtK-BujI8AeDzoWYAw&gws_rd=ssl');
            // pageRef.setRedirect(true); 

            return pageRef;
     
 
       
     }     

}

hello,
is it possible to integrate using salesforce apex code with google calendar ?
i want to create from apex a simple event on google calendar.
i read about the google calendar api but i can't understand how to do it in apex.
is it possible ? can someone give me a simple example ?

The following code sends the user back to a specific project, however the browser url doesn't change AND nothing on the page can be clicked. The URL is always: https://c.cs12.visual.force.com/apex/Add_Project_Roles

 

PageReference back = new PageReference('/' + projectId);
back.setRedirect(true);
return back;

 Is there a better way to redirect the user from an Apex Controller?