• Property IT
  • 15 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 6

Hi All,


I did start with this thread: http://boards.developerforce.com/t5/General-Development/Install-Eclipse-Juno-4-2-with-Force-com-IDE/m-p/462323/highlight/true#M72103


But I am still running into the same problem. Here's my setup: 


Here's my setup

- Running Eclipse 4.2 as Admin (downloaded from here: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/junor) and installed to desktop.

- JAVA_HOME set to C:\Program Files\Java\jdk1.7.0_05 (upgraded from jdk1.6.0_23) downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

- Tried installing the Force.com IDE from the Eclipse Marketplace and got this error:


Cannot complete the install because one or more required items could not be found.
  Software being installed: Force.com IDE (com.salesforce.ide.feature.feature.group
  Missing requirement: Force.com IDE (com.salesforce.ide.feature.feature.group requires 'org.eclipse.update.ui 0.0.0' but it could not be found


Have I installed something incorrectly or overlooked something?

Hi ! Thank You in Advance!


I have a custom development and it works fine for windows users. I would like to be able to process csv files from a mac enviroment. Im using BLOB in order to to process Windows csv files. Any help would be greatly appriciated!


Here is my code :


public with sharing class UploadRecordUsingCSV {

    public UploadRecordUsingCSV(ApexPages.StandardController controller) {


    // I wish to parse a file from MAC here
    public Blob FileRecords{get;set;}
    public String[] LineNo= new String[]{};
    public List<CSV_UPLOAD_HISTORY__c> AllUnit;
    Public Pagereference UploadFile()
       integer FileRow = 1;
       String oppID = System.currentPageReference().getParameters().get('id');
       String oppName = [SELECT A.NAME FROM OPPORTUNITY A WHERE A.ID =:oppID].Name;
       Opportunity opp = [SELECT A.NAME FROM OPPORTUNITY A WHERE A.ID =:oppID];
       OPPDULHISTORY__c btchHist = new OPPDULHISTORY__c ();
       btchHist.Name = oppName + '-' + String.valueOf(Date.Today());
       insert btchHist;
       String FileData = FileRecords.toString();
       LineNo = FileData.split('\n');
       AllUnit = new List<CSV_UPLOAD_HISTORY__c>();
       system.debug('Entered****'+ AllUnit);
       for(Integer i=1;i<LineNo.size();i++)
          CSV_UPLOAD_HISTORY__c cuh= new CSV_UPLOAD_HISTORY__c();
          String[] ActualData=new String[]{};
          // Parsin BLOB and STRINGS
          cuh.Name = oppID + ActualData[0] ;
          cuh.Batch_History__c = btchHist.Id;
          cuh.OpportunityID__c = oppID;
          cuh.Part_Number__c = ActualData[0];
          cuh.Qty__c = double.valueOf(ActualData[1]);
          cuh.VUC__c = double.valueOf(ActualData[2]);
          cuh.Discount__c = double.valueof(ActualData[3]);
          cuh.Gross_Margin__c = double.valueof(ActualData[4]);
          cuh.ImportTax__c = double.valueof(ActualData[5]);
          cuh.Tax__c = ActualData[6];
          cuh.Vendor__c = ActualData[7];
          cuh.Status__c = 'Succes!'; 
          cuh.File_Row__c = FileRow++;          
        }catch(Exception e){system.debug('Please select a file!');}
       insert AllUnit;
      // PageReference curPage = new ApexPages.StandardController(opp).view();
      // curPage.setRedirect(true);
      // return curPage;
       return Null;




I want to create a rollup field in Account Object with Opportunity Amount. Can any one help me on this, Actually i'm new in  trigger.