Skip to main content
Inspiring
August 15, 2008
Question

cfdocument pdf is not modifiable

  • August 15, 2008
  • 2 replies
  • 931 views
I need to be able to change the document I create from CFML using the following;

<cfdocument format="pdf" permissions="allowmodifycontents,allowprinting" encryption="128-bit" authpassword="" authuser="">

The document seems to be fine. I just have to allow for minor changes.

I downloaded Acrobat Pro 9 and took out permissions and password. Still no change. I cannot edit the document.
    This topic has been closed for replies.

    2 replies

    Inspiring
    August 15, 2008
    Same general idea, different details. If you were able to produce the document, you should be able to reproduce it. Run the code that produced the content, and present it for the user to edit.

    Then overwrite the file.
    larksysAuthor
    Inspiring
    August 16, 2008
    We're still not talking apples and apples yet. The user cannot edit the PDF. That's the problem.
    Inspiring
    August 15, 2008
    edit the code that created the document to incorporate your changes and run it again.
    larksysAuthor
    Inspiring
    August 15, 2008
    I guess I wasn't clear. I have a cfml page that includes;

    <cfdocument format="pdf">
    <cfform method="post" name="search2" preloader="no" action="index.cfm?fa=viewSearch&searchnum=#searchnum#">
    <cfparam name="outstanding" default="" >
    <cfparam name="retaineramount" default="" >
    <div align="center"> <cfoutput>


    The generated page is where I need to allow users to make minor changes.
    The page generates just fine.