3 Replies Latest reply on Aug 24, 2011 12:12 PM by Marijan Tompa [tomaxxi]

    Can't set documentTitle to a blank string

    frameexpert Level 4

      I have a client that wants the documentTitle field to be blank for certain PDFs. If I go to File > File Info (in CS5.5) and delete the Document Title and export a PDF, everything is fine. However, if a Document Title is already set and I try to remove it with JavaScript, it doesn't work:


          doc.metadataPreferences.documentTitle = "";


      where doc is my document object. If I set it to any other string it works. I tried setting it to a space:


          doc.metadataPreferences.documentTitle = " ";


      but that doesn't work either. Any workarounds would be appreciated. Thank you very much.


      Rick Quatro