• someguy.ax1382
  • NEWBIE
  • 0 Points
  • Member since 2012

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

I have been researching this for a couple days and don't see a solution yet. I have a php website that i want to use the credencials of salesforce to login the user to the site. So the user would just use the same username and password they use on salesforce to login to this site. Is this possible? I've seen Oauth and Rest but it doesn't really look like i could do this whit those methods. Any help would be appreciated. Thanks. 

Im pulling out the body of the attachment and changing some data, I'am able to display it on a VF page but it doesn't have any formating to it. When i look at the source of the page its formated. Is there something in VF page to tell it to use the formating.

 

atdata = [SELECT Body FROM Attachment WHERE id =: attachID LIMIT 1];
     
     Blob abody = atdata[0].Body;
     String displayScore = abody.toString();

 

<apex:page controller="WCS" showHeader="false" sidebar="false">
  {!WScore}
  <apex:outputText value="{!displayScore}" escape="false"/>
  
</apex:page>