• JasonC
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi all,

 

I am a newbie at using Java in conjuction with Salesforce, so please forgive me if I word this incorrectly and I am sure the solution is simple, but after hours of searching I cannot find it.  I am trying to attach an xlsx document to an object using some code I found on a message board as a template.  When I put the code into Eclipse at the line

 

Attachment attach = new Attachment();

 

it tells me that attachment cannot be resoved to a type.

 

What am I missing?

 

Thanks in advance.

 

JC