php - How can preview an document of envelopes showing in table and on click preview button

I am using rest PHP APIs to get envelopes list of DocuSign and showing them on an HTML table, Now I have preview button where I want to preview the document, Does anybody knows how can I perform this task?
Answer
Solution:
Yes, you can do that by making an API call to generate the URL from the server. You cannot store this URL and have it work all the time, it expires.
So you have to provide your own server's endpoint and your server make an API call to generate the URL and then redirect the user.
To generate a URL use this PHP method (inEnvelopesAPI
):
createEnvelopeRecipientSharedView()
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: constant expression contains invalid operations
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.