Activity Forums Salesforce Questions and Answers I have an attachment that needs to be moved to next page so how can I achieve this,will URL help me out in this?

  • I have an attachment that needs to be moved to next page so how can I achieve this,will URL help me out in this?

  • Rachit

    Member
    April 30, 2016 at 3:51 pm

    I have an attachment that needs to be moved to next page so how can I achieve this, will URL help me out in this?

  • Utsav

    Member
    June 13, 2016 at 6:50 am

    Hi Rachit

    Solution 1: If you want to move your attachment to next page you just need to use the same controller in it  and make attachment instance public and then do whatever you want to do so whenever you access that instance of attachment you will get you required value.

    Solution 2: From URL , you just have to convert the blob value of attachment body into string although it is not much feasible because sometimes blob size can gets you to some big value based on file size so i prefer to go with solution 1 only.

    Thanks

     

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now