I have a pdf file of the type byte array. Using Sitecore form custom submit action
, I need to download/open the same as pdf in the user's machine. I tried to achieve the same by adding response headers for content disposition but was not successful.
Does anyone have an idea of how to achieve this? Thanks in advance!
I am getting a error in ~\wwwroot\s92.dev.local\Views\FormBuilder\Form.cshtml
as
Also in browser I see something like this..
Can someone help?