• Suyash Singhal
  • NEWBIE
  • 0 Points
  • Member since 2015

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

I am getting a problem with my visualforce page which has bootstrap integrated to it.
Scenerio:

The page when its is accessed from salesforce it creates no problem and works totally fine,but the problem arises when the page is accessed from the salesforce.com sites; 

Problem:
When accessed from Salesforce.com Sites the page sometimes unable to Save the Input Data ,Sometimes its doesnt Refresh page properly, Sometimes it does'nt Rerender the page properly ,And sometimes it works fine. The user need to access the page only with Salesforce.com Sites. I am pagereference in controller to redirect the page but with sites sometimes it doesnt redirect.

Anyone faced the problem as I am experiencing,please advice me on this.

If you need the code for the page I can provide that too .

Thanks,

Suyash Singhal

Hi Apex experts,

Looking at Attachment declaration I noticed that Body field is of type Base64.

The Body is an encoded data of a file.

Now, How can I decode the Body data? So I'll get the original contents of the file (it may be in bytes because I can use convert).

 

Another question.

Lets' say that I have the files data. How can I pass its data to me WebService written in C#? (what kind of type shall I use?)

 

Thank you so much!