Save pdf as custom filename using field data

Hi folks, I'm not very knowledgable in JavaScript and I'm hoping to get pointed in the right direction. I will give a brief description of what I hope to accomplish.
I have a pdf form that is to be filled out for equipment inspection.  Once all the fields have been completed I would like the user to click on a save button that will save the pdf into a subfolder with a file name such as
equipmentTYPE-equipmentID-date-pass.pdf
where equipmentTYPE and equipmentID are text fiels and pass/fail are radio buttons (I already have the form built, except for the save button).  I would also like for the saved pdf to have the user rights removed.
Any help with this would be greatly appreciated! I don't know yet how big or challenging this task will be.  Is it something that can be accomplished soley in Acrobat with javaScript?

First of all, you cannot automate the removal of usage rights, so that part is out. You can save a file to an existing directory and build the file name based on form field values, but the code that does the saving has to be included in a folder-level JavaScript file on each user's macine, as explained in the following tutorial: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

Similar Messages

  • Using Field Data for Interactive Graph?

    Hello,
    I work for a lighting company and our salesmen use in-house created sales materials on iPads in the field. We've found Acrobat PDF Files to be very effective in demonstrating how switching to different wattage bulbs can save them money, through the use of data calculation fields. However, we're also hoping to illustrate this visually through some type of interactive graph. Specifically, I'm trying to find a way, if possible, to make a "return on investment" bar graph that would tailor itself to the user. Here's an example of the type of graph I'm trying to make though a PDF:
    Basically, this chart shows how much of a initial investment (in this case ~$25,000) would be mitigated over 10 years (eventually saving the company over ~$70,000). Not that the details matter much... I just don't really know where to start. I have a small amount of experience using fields, and I'm versed enough for simple calcuation and pulling data from other fields, however I have no idea how to turn this data into a graph of this complexity (or even know if it's possible).
    Any advice would be vastly appeciated!
    Many thanks,
    Dan

    Your best best is to use some presentation software such PowerPoint or Keynote.
    On an iPad you could use Numbers to create the Graphs then put then copy the graphs into Keynote and have the run as interactive slides you click or touch an item like a slide.  I don't know of any software that create interactive Graphs That you can create graphs that grow or shrink by inputting numbers.
    I've Googled interactive Graph for Mac and come up with this:
    https://www.google.com/search?q=Intreractive+Graph+for+Mac&sourceid=mozilla-search&start=0 &start=0&ie=utf-8&oe=utf-8&client=mozilla
    and here is result for iPad:
    https://www.google.com/search?q=Intreractive+Graph+for+Mac&sourceid=mozilla-search&start=0 &start=0&ie=utf-8&oe=utf-8&client=mozilla#pq=intreractive+graph+for+mac&hl=en&gs_nf=1&tok= pFb9_G1GM62Cf32INLbniw&cp=27&gs_id=7oy&xhr=t&q=Intreractive+Graph+for+iPad&pf=p&client=moz illa&sclient=psy-ab&pbx=1&oq=Intreractive+Graph+for+iPad&aq=f&aqi=&aql=&gs_sm=&gs_upl=&bav =on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=43f3605c77841060&biw=1568&bih=755
    Note this not advertisment (spam) for any product on search results of things that can create interactive Graphs on Mac and iPads. 

  • Unable to save PDF's that have editable fields

    I am unable to save forms that have editable fields. I get the error "The document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk"
    I am running windows xp, and started with reader 10.1.4 having this issue, now i upgraded to 11 and same results. My co workers can save the same form and i have over 80 gb of free space on my hard drive which is where i am saving it to. I have tried saving it to other locations on my hard drive but get the same message. I can however save pdf files that have no fillable forms in them just fine.
    I could really use some help.
    Thanks

    Figured out prtected mode was set to enabled on startup. Turned that off and no more problems.

  • How to Import Custom Scale using Field Piont I/O

    I need to READ   a 0 to 100 Newton strain gauge on graph chart. 
    It is a full bridge with an excitation Voltage of 10V.   The field point Input module FP-SG-140 is configured for a range of -3.9... to +3.9 mV/V
    I know how to create a custom scale using DAQ assist but the option does not appear using Field Point.

    Hello belangem,
    Have you considered using the Scaling and Mapping Express VI or programming your own scaling algorithm in LabVIEW to manually convert the strain readings to force?  The Scaling and Mapping Express VI allows you to apply similar types of scales to the DAQ Assistant, such as linear, logarithmic, interpolated from a table of points, etc.
    If you really need the Fieldpoint driver to perform the scaling for you, some Fieldpoint modules support scaling.  You can configure a scale on a channel in Measurement & Automation Explorer (MAX) by going to your Fieldpoint Items under Data Neighborhood, selecting a channel in your module, and click on the Scaling tab on the bottom of the screen.  Unfortunately, I don't have a FP-SG-140 module around to try out, but I know the scaling feature is available for my FP-AI-110.  I'm using Fieldpoint 5.0 with MAX 4.0.
    I hope this helps,
    Travis G.
    Applications Engineering
    National Instruments
    www.ni.com/support
    Message Edited by Travis G. on 06-22-2006 10:21 PM
    Attachments:
    FieldpointScales.Jpg ‏46 KB

  • I want to update the Custom table using the data available in ITAB.

    Hi,
    I want to updaste the Custom Table which is created by me (Ztable) using the data available in itab.(which i got from defferent standard tables)
    I want to update the custom table using the itab data How is it possible?
    Is any possible by using Modify ?
    DPK.

    example here
    modifying datbase table useing internal table
    advises before updating this datbase table plz lock that table to avoid incosistency
    write the logic for modifying
    Modify the database table as per new dunning procedure
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    and finally unlock the table
    example
    *To lock table for further operations
    constants: lc_tabname TYPE rstable-tabname VALUE 'FKKVKP' . "FKKVKP
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = lc_tabname
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    IF sy-subrc EQ 0.
    To fetch all the contract accounts for customers of the segment
    Households/SME.
    PERFORM fetch_contract_accounts using lc_tabname .
    ENDIF. " IF sy-subrc EQ 0.
    *wrote the logic
    Modify the database table as per new dunning procedure from internal table
    MODIFY fkkvkp FROM TABLE lt_fkkvkp .
    *unlock the tbale
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    TABNAME = uc_tabname .

  • Custom Filename for Export Data from a Query

    Hi,
    Would like to define a custom filename for the file to be download as a csv from the web query, Is it possible?
    Regards
    Chocks

    This is not possible, it will be system generated.

  • How to Save pdf file in the BLOB field in the database

    I have to save a pdf file which is on the client machine to save in the database column of type BLOB. How can i do that?

    LostWorld wrote:
    I have to save a pdf file which is on the client machine to save in the database column of type BLOB. How can i do that?PL/SQL code cannot hack across the network. break into that client machine, and read that PDF file from the client's harddrive.
    There is a very fundamental client-server principle at stake here - the purpose of the client. What is the purpose of the client? Amongst others, it is to interface with the client hardware and peripherals and devices. Like reading the client keyboard and sending that to the server. Or reading data from the sever and rendering it on the client's display device. Or to receive CSV data from the server and writing it to a local file.
    It's purpose is also to read a local file, like a PDF file, and submit that file's contents to the server for storage.
    The following pseudo code explains the basic principle:
    client
      // call oracle to create a LOB
      ExecuteSQL( 'DBMS_LOB.CreateTemporary( .. )' )
      open file( fileHandle )
      while not EOF( fileHandle )
        // read data from the file
        read file( fileHandle, buffer )
        // write this buffer to the LOB in Oracle
        ExecuteSQL( 'DBMS_LOB.writeAppend( .. )' )
      end while
      close file( fileHandle )
      // now tell Oracle what to do with that LOB
      ExecuteSQL( '...' )
      .. etc..Thus the client:
    a) creates a LOB in Oracle via a PL/SQL call
    b) passes data from the client and appends it to the LOB
    c) tells Oracle what to do with LOB, such as inserting it into a table

  • Save PDF Output custom settings?

    After tweaking almost every panel in the PDF output settings, I'd like to save those settings to reuse with other PDF contact sheets I'll be creating in the future. How do I do that? As soon as I tweak a setting, the Preset changes to Custom, and as soon as I select a different preset, the entire Custom entry is deleted from the dropdown menu.
    AM

    AnneMarie Concepcion wrote:
    After tweaking almost every panel in the PDF output settings, I'd like to save those settings to reuse with other PDF contact sheets I'll be creating in the future. How do I do that? As soon as I tweak a setting, the Preset changes to Custom, and as soon as I select a different preset, the entire Custom entry is deleted from the dropdown menu.
    AM
    While the Output Module of Bridge is a good idea it is not "ready for prime time" in either of the two functional areas.
    I guess that's why they left the old-style methods available on the installation disk.
    Just another casualty of the "Rush it out to meet a deadline" policy. 

  • UCCX 10 CUIC Custom Report (using external data source)

    Hi.
    We have a customer where we are storing information in an external data source. We would like to built a report and import that report into their UCCX CUIC System in order for the customer to have the new report along side with the UCCX built-in reports. We need to add the external data source to CUIC but I'm not sure if the strip CUIC version of UCCX can allow that. Is that possible?
    I know that with CUIC Premium we can add third party data sources into the CUIC. The Premium CUIC NFR allows that and we can create the report but for it to work in UCCX we need to add the external data source to CUIC.
    What are my options? If any?
    Thanks in advanced,
    -Jose

    Hi Jose,
    You can basically build custom reports on a standalone CUIC server and import them to the CUIC on UCCX.
    But I am not sure if this datasource is continuously polling information from the DB and giving it to the report and if this is possible.
    Please refer to the link below for creating the custom reports on CUIC in UCCX:
    https://communities.cisco.com/docs/DOC-31936
    Regards,
    Arundeep

  • I cannot save pdf.  I'm using Windows 7

    I recently purchased a new computer running Windows 7.  Every time I try to save a pdf document, nothing happens.  I click on the save icon on the bottom floating display but it does not respond when being clicked on.

    F9 does not do anything.  By menu bar, I am talking about icons only.
    There is no actual menu visible like in Windows.

  • Unable to save PDF. The disk used for temporary files is full.

    I just started getting the "Document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk" message.
    I am running Windows 8. I've seen fixes for this on the Internet for previous versions of Windows on the Internet, but haven't seen one that works for Windows 8. Help, please.

    Same problem here. Any ideas?
    Saving with Shortcut "CRTL+SHIFT+S" works just fine.
    Using IE 11.0.9600.17728 and Adobe Reader 11.0.10

  • SAP Upgrade 4.6C to ECC 6.0 EHP5 system customer is using Data Archiving

    Dear All,
    I am planning to do SAP Upgrade from 4.6C to ECC 6.0 EHP5, in the source system customer is using SAP DATA ARCHIVING. As per some of the SAP Notes before downtime phase we need to disable all the dataarchiving jobs .
    1) My question is do we need to do any presteps before starting the upgrade related to SAP DATA ARCHIVING ?
    2) After the upgrade if customer wants to use the old archiving objects etc... whether they will able to do it. For this do we need to raise any message with SAP regrading the dataarchiving before the upgrade
    Please let me know if you have any ideas on the above questions.
    Thanks & Regards
    Ravikiran

    Hi,
    I would suggest you to do the data archiving after upgrade project or finish data archiving before upgrade project. As lots of new archiving objects has been delivered in ECC.
    Also, its true that before starting downtime project you need to stop all your jobs. Also, SAP has recently introduced new retention management technique for data archiving starting from EHP4 onwards to manage data archiving more efficiently. If you are interested, you can explore this further on http://sdn.sap.com/irj/sdn/ilm or http://service.sap.com/ilm.
    Thanks
    Sunny

  • XFA form with button to save file with unique filename

    Is there a way to save a file with a unique filename using some data a user has entered (name, for ex.) that will fire when the user clicks a Print button? Attached is a file for reference.

    Yes, I'm getting close. With this
    var 
    vTargetName = Page1.dateStamp.rawValue + " HSS Foot & Ankle for Patient " + Page1.First_Name.rawValue + " " + Page1.MI.rawValue + " " + Page1.Last_Name.rawValue + ".pdf";
    var  
    vCurrentName = event.target.documentFileName.toString(); 
    if  
    (vCurrentName == vTargetName)app.alert("Thank you. Your form has been saved."); 
    else
    app.alert("There was a problem. Your form has not been saved.");
    I do get an alert when the PDF is saved. But if I modify the folder js to say var vPath = "/c/HSS/ instead of var vPath = "/c/HSSSave/ I don't get the alert "There was a problem." Do you see an error in the else condition?

  • Adobe Reader X/10 - continued crash problems trying to save PDFs

    Dear all,
    I wonder if anyone can help me.... I have been having ongoing problems when trying to save PDF documents online while using the downloaded Adobe Reader 10 or X version. It always crashes/freezers when I press the 'save' button in the 'save as' dialogue box. I have to use end program and start all over again.
    I use Windows XP (Professional, Service Pack 3) and both Mozilla Firefox 4.0.1 and IE 8 web browsers. I have followed the links suggested to prevent in future after the problem has been reported - I have unstalled and reinstalled Reader a few times now, as well as checked that I have been using the most up to date version of Reader 10 or X. Then reopened everything again thinking it's solved and then crash (ARGH!). Has anyone else had similar issues?
    This is most frustrating to say the least, not withstanding the time delays affecting work outputs when the system crashes on the 'save as' dialogue box (after pressing save). I have lost faith in Adobe now ... I used to consider the free download of Reader a great asset, now it is a true annoyance and may or may not work entirely.
    Any help or advice would be great, even alternative PDF software.
    Many thanks in advance
    Ruth

    The response from 370H55V is correct in theory and in actual fact was very close to the solution, but the response was more cryptic than helpful. I first encountered this yesterday after upgrading users on a Terminal Server from Reader v8 to v9. My first instinct was to upgrade to v10, which I did, but the problem still existed, so I rolled back to v8 and the issue was resolved. Unfortunately however this was not a solution and it was a requirement that we upgraded to at least v9. The error was as described that in IE 8 when a PDF file was opened inside the browser(or embedded as some might say), and you press SAVE (or even sometimes print) within the adobe reader toolbar, IE would flicker and crash on the page and then recover the page, saying this page has been recovered, but no saving would happen. This would happen if protection was turned off in Adobe Reader, and if it was on (default), then pressing SAVE would just make IE freeze as previously reported.
    So to understand what was happening, I ran FILEMON and REGMON by SYSINTERNALS. Regmon showed nothing of significance. Filemon showed a lot more. It was getting an access denied error on c:\windows\system32\shell32.dll. There was no reason for this however because the permissions on this file allow all users to read and execute. But then I remembered what shell32.dll does. It brings up the SAVE AS dialog box that allows you select the path of where to save the file – essentially this is calling the shell of explorer.exe.
    So this is actually the cause of the crash. When Adobe Reader makes the call to the SAVE AS dialog box – CRASH!!!!! Why???
    Well it’s quite simple. The default location that the SAVE AS dialog box starts in is MY Documents and this is where to start looking for the source of the error. To find out were “my documents” is for your session, open REGEDIT and go to:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    Look for the key: PERSONAL and in it is a REG_SZ containing the path to “my documents” for the current user. This is generally something like C:\documents and settings\<username>\My Documents on Windows XP/2003 and something like C:\Users\<username>\Documents on Win7/ 2008.
    Now in our case the setting for this key was U:\ which was a mapped network drive to the path: \\server\username\mydocs. U:\ did exist and the user had full permission to it. So I changed the path on the personal key to C:\documents and settings\<username>\My Documents – the default setting. I went back to IE, opened a PDF document from a website, viewed the file and then pressed SAVE on the adobe toolbar. BINGO BABY!!!! Worked perfectly.
    But again this was not a solution because in a network, you need your users to have their “my documents” in their own home drive, which is generally located on a remote share on a server. So I put the PERSONAL setting in the registry back to U:\ and crash back to square one. I then put the path of the U:\ in the key instead of just U: drive, so PERSONAL now had a REG_SZ value of \\server\username\mydocs. Went out to IE again, launched a PDF, pressed SAVE. BINGO BABY!! It worked. So clearly this was a UNC Path resolution issue or something similar, but why did it only happen from v9 of Adobe Reader and whose fault is it – Microsoft or Adobe. Well I suspect both. I suspect that Adobe maybe making a weak Shell call in their code which doesn’t resolve the path properly, and a possible bug in the MS Shell call may be adding to this issue.
    Anyway, I did some further testing for some fun. I took permissions away from the user to their “My documents” folder and was also able to replicate the same crash. I set the PERSONAL registry key to a folder that didn’t exist and same crash. So basically if the SAVE AS shell call can’t resolve or access the path as set in the PERSONAL key the you will get this crash.
    The way I solved it for the network users, was to set the registry key for PERSONAL to \\server\username\mydocs via Group Policy, also a logon script may also work. Additionally you could use Folder Redirection in Group Policy to set the path for MY Documents on a per user basis. This also was tested and work.
    For non-network users check the PERSONAL key and get the path and then find that path and check permissions etc. Replace it with the default location or even point it to a path that you know exists and has full access.
    As a final tip, also look at the registry Key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    And find the PERSONAL path. It will be something like %USERPROFILE%\my documents in XP/2003 and %USERPROFILE%\Documents in Win7/2008. This is the default location and if the PERSONAL KEY does not exist in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders then windows reverts back to the User Shell Folders key to get the path. It is a good idea to check that path in this area as well.
    Hope this helps.

  • Get the custom fields data at the time of save

    Hi,
    We have added few fields in the ICWC for the complaint screen.
    At the time of save i am trigering a BADI.
    I would like to check the data that is entered in those fields of complaint screen.
    Is there any FM which can be used to get the data from the buffer ?
    I have the header GUID available to me .
    Thanks.
    R

    Hi,
    Let me elaborate a bit.
    Users would create the complaints in the ICWC.We have addeded few custom fields in the complaint screen.
    CRMT_CUSTOMER_H_WRKT is extended with the custom fields.
    At the save i am trigerring the Partner Determination BAdi.
    Here i have the complaint guid at run time.
    I would like to check the data entered in the custom field in the complaint screen. Based on this i would like to determine one more partner.
    My question is how can i get the custom field data in the complaint screen in this BAdi.
    The FM:  CRM_ORDER_READ is not returning this data.Is there any FM to get this ?
    Thanks.
    R.

Maybe you are looking for