Solved
Add or edit an image or other asset widget in a custom form
I have been trying to add a PDF widget to a custom form and foloowed the instructions to use the Preview link of the Document in the url of the field. Yet, the url expires and when I try to view the PDF in the form in a live environment, it is showing an error message. Has anyone had any luck adding a PDF widget in their forms?