Need help with script java folder level for silent registration with unique file name

That's what I'm trying to do

1. when a person completes the request on one of our computers in the office, there will be a button send at the bottom of the application.

2 submit the application on is automatically stored on the local server with the file name determined by the fields name and surname on the application.

example - John Doe Application.pdf

Saved in the folder C:\Users\Station1\Desktop\FinishedApplication.jpgApplications

3. This is the example of code I found, but I don't know how to enter which fields determine save name and where to save it to.

http://thelivecycle.blogspot.de/2015/06/save-with-new-name-in-specified.html

http://thelivecycle.blogspot.de/2015/06/save-with-new-name-in-specified.html http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.html

Thank you!

Lol this is the part that you need as a script to the folder level:

var lcbSaveAs = app.trustedFunction (function (vDoc, vPath) {}

app.beginPriv ();

vDoc.saveAs ({cPath: vPath});

app.endPriv ();

});

This is the code you use in your file:

lcbSaveAs (, "/ C/users/specialisee1/Desktop/result /" + this.getField("FirstName").valueAsString + "" + this.getField("LastName").valueAsString + "Application.pdf");

lcbSaveAs is the name of the function of trust.

vDoc.saveAs is the Document object, call the saveAs method.

I don't know what oDoc.SaveAs is, or where you got it.

Tags: Acrobat

Similar Questions

  • XFA form with button to save the file with unique file name

    Is it possible to save a file with a unique file name by using the data that a user has entered (name, e.g.) that fires when the user clicks a button print? Attached is a file reference.

    Hello

    Yes it works here using your latest form and the modified .js:

    You have created the folder 'HSSSave '?

    Also, make sure the .js file is in the correct application folder and restart Acrobat:

    Hope get you it working (and when you do you can include a timestamp or timestamp in the name of file; as the script automatically replaces an existing file with the name of TEA).

    N.

  • Need help with raw files

    I reinstalled and updated CS5, but I'm unable to open camera raw to my Canon Rebel T4i. I get the following message:

    Could not complete your request because the file appears to be a model of camera that is not supported by the installed version of Camera Raw.

    Please visit the Camera Raw help documentation for more information.

    Camera Raw is a plug-in in Adobe Photoshop, Photoshop Elements and Lightroom dealing with Raw files. Camera Raw should be updated for each new brand and model of camera that comes on the market. Camera Raw is frequently updated, but not all versions of Camera Raw are compatible with all versions of Photoshop.

    See 't-my-version-of-photoshop-or-lightroom-prise in load-my - http://blogs.adobe.com/crawlspace/2011/03/why-doesn camera .html

    According to http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html

    the rebel T4i was first supported by Camera Raw 7.1.

    Camera Raw 7 + is only compatible with CS6 and higher.

    http://helpx.Adobe.com/x-productkb/global/camera-raw-compatible-applications.html

    Your choice:

    1. CS6 update
    2. Join the Cloud
    3. Convert all your T4i Raw DNG files using free Adobe's DNG Converter
      http://www.Adobe.com/products/Photoshop/extend.displayTab2.html
      Then, edit the DNG in your existing CS5.
  • Satellite U940 - 11b - need help with recovery files

    Madam/Sir,

    I have a question about a failure U940 - 11 c.

    The laptop crashed after be closed during recovery of windows procedures. I think that Windows is damaged, as a result, the laptop no longer starts. When turing the laptop on the following message is displayed: reboot and select proper boot device. See the image below:

    Files on the hard drive are very precious to me, so the hard drive can not be reset until I got the files. I tried to recover the boot files Ubuntu from a USB flash drive. Ubuntu began without any difficulty. The problem is that Ubuntu is not able to find the Windows hard disk. From Gparted, the following errors occurred:

    1. WARNING: / dev/sda contains the signatures of TPG, indicating that she has a GPT table. However, it doesn't have a valid fake msdos partition table, as it should. Maybe it has been altered - possibly by a program that does not include the GPT partition tables. Or maybe you deleted the table GPT and are now using a msdos partition table. It is a GPT partition table? :

    2. the GPT backup table is not at the end of the disc, as it should. This may mean another operating system to think that the drive is smaller. FIS, by moving the backup at the end (and revmoving the old backup)? :

    3. not all the space available to/dev/sdb appears to be used, van correct you the GPT to use all the space (special edition 39007920 blocks) or continue with the current configuration? :

    4. the disk is allocated:

    Do you have tips or advice that could help me get the files from the hard drive. I do not understand the errors and will not be able to solve this problem. Thanks in advance.

    Hello

    I suggest that you use the tool to disks in Ubuntu to mount your Windows partition.
    If the partition is damaged in an aborted recovery (or other reason), you will need to invest a lot of time and effort to successfully recover your data.

    Tom BR

  • Need help with eps files

    Hi all I bought this stat reflections eps file, I want to use the icon in the lower right, but do not know how to separate the background... I need like a png... Oh can smart designers, anyone help? 10967425_s.jpg I tried to download the eps, but was not allowed to download it... Please please advise!  A big thank you.

    Here's a quick I did with the starfilter. It's a 1000 pixel wide PNG, so if it's enough, you can try this.

    Put it in "Screen" blend mode on your image, and it will look something like this:

  • Need help with exe files.

    I am looking for an exe file to play on the laundry. How to insert the exe file in dreamweaver 8 to play when the page is loaded. Very similar to a flash movie is loading. The file is created with the extension exe and I can't change it or recreate. any help is appreciated. Thank you

    In general you can not do this on anything other than an intranet. Is it
    where you work? If so, then you should investigate using
    ActiveX to run this exe file - check the Microsoft site...

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "brananc1" wrote in message
    News:ee265m$LCT$1@forums. Macromedia.com...
    > I'm trying to get an exe file to play on the laundry. How do I insert the
    > exe
    > file in dreamweaver 8 to play when the page is loaded. Very similar to the loading
    > a
    > flash animation. The file is created with the extension exe and I can't
    > change
    > who or recreate. any help is appreciated. Thank you
    >

  • Need help with flashing file + question mark at startup

    My Macbook Pro has worked fine until yesterday. On startup, I get the flashing file, so I rebooted and held command + R. Once I have try disc recovery/upgrade to update OS/restoration I need a startup disk file to choose and everything is empty. How can I get the possibility of a boot disk? Do I need a physical disk? I just checked my box of the laptop and I don't have a physical disc.

    Thank you.

    If a flashing question mark appears when you start your Mac - Apple Support

    Which shows in disk utility that is located in the recovery?

    Cutting in-house of may have failed or yo have a problem with the internal connection.

    What model of MacBook Pro?

    This is the Office Mac Pro forum. I asked that your post moved to the forum of laptop MacBook Pro or another appropriate forum.

  • Need help with some files

    Then I opened the Task Manager today only to find 3 things I'd never seen before, they were atieclxx.exe, csrss.exe and winlong.exe. I did a bit of googoling (?) and I'm a bit confused. I see a few similar questions on other forums were people said that they were a form of spyware, while others apparently say it is just a process about my graphics card and normal to run, but I had never seen before.

    I would be grateful if someone could give me some clarification.

    Thank you.

    For peace of mind I suggest you run a malware check

    I recommend that you run Disk Cleanup or cCleaner to remove temporary files as this will reduce the time to scan security software.

    Start the computer in safe mode with network and download and install Malwarebytes (free version for individuals only), updated definitions and run in normal mode. Disable other security software while you do the analyses.
    http://www.computerhope.com/issues/chsafe.htm

    http://www.Malwarebytes.org/products/malwarebytes_free
    http://helpdesk.Malwarebytes.org/entries/21892442-should-I-scan-with-Malwarebytes-anti-malware-in-safe-mode-

    Download and run SuperAntiSpyware (Free Edition)
    http://www.SUPERAntiSpyware.com/download.html

  • Need help with importing files

    Hi, I recently installed CC on Mac. I've already used on PC and I copied my Lightroom Catalog Previews etc. for Mac. I have also reformatted my hard drive with exFat. I imported the files into lightroom. Now, when I look at photos editing in Lightroom it says that my files are missing. What have I missed? Thank you!

    I don't know why you get the message you found... but... you are NOT importing the photos on your new computer. The procedure to follow is that you copy the file to catalog from the PC to the Mac, open the catalog file in Lightroom (file-> open the catalog) and then reconnect the photos in Lightroom there instructions: Adobe Lightroom - find folders and files moved or missing

  • I need help with some files missing error Muse - crazy customer

    I get the error that some files are missing or incorrect. I have cleared the cache, I downloaded all the two to Muse, FTP etc. I cleaned the server and reloaded. Make the same mistake everywhere and can not find out what is happening.  www.Authorizedagents.com is the Web site. Site is horrible, but looks great in the preview. I'm in trouble

    Thank you

    Call your hosting provider. The hosting server is back a '503 Service temporarily unavailable' error rather than serve properly good number of files of your site.

  • Need help with SQL/PL/SQL for Dates

    Hi Experts - need help with a SQL query.

    I need to insert some date fields in a table called CALENDAR_PERIOD.

    Current data in CALENDAR_PERIOD table with their data types:

    STARTPERIOD (DATE) YEAR (NUMBER) PERIOD_LABEL (Varchar2 255)

    02/11/2014 2014 2014/02/11 SUN

    03/11/2014 2014 14/03/11 MON

    04/11/2014 2014 11/04/14 MAR

    I have to increment above values up to the year 2025. I don't know how to write SQL and increment of these values.

    Ex: My next value should insert: 05/11/2015 2014 11/05/14 WED like that I need to insert data until 12 31, 2025.

    Can you please help me with PL/SQL block?

    Really appreciate your help!

    DB version:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    CORE Production 11.2.0.3.0

    AMT for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Thank you
    Sandy

    Hello Sandy,

    Maybe something like

    INSERT INTO calendar_period (startperiod, year, period_label)

    SELECT DATE '' 2014-11-04 + LEVEL

    , TO_NUMBER (TO_CHAR (DATE '' 2014-11-04 + LEVEL, "YYYY"))

    , TO_CHAR (DATE '' 2014-11-04 + LEVEL, "MM/DD/YY DY")

    OF the double

    CONNECT BY LEVEL<= date="" '2025-12-314="" -="" date="">

    ;

    ((mais je ne comprends pas pourquoi nous créons une telle table "année" et "period_label" peuvent être calculé à partir de startperiod))

    Best regards

    Bruno Vroman.

  • Need help with some cluster power shell scripts

    Guys,

    I need help with 2 scripts.

    Text 1.

    I need a power shell script that will get all the virtual machine in a specific cluster.  Virtual machine names as well as the number of processors, output allocated RAM and size of CSV file.

    Text 2.

    I need a script that will get all data warehouses in a specific cluster and store name data as well as the amounf of free space for a CSV output.

    Thanks in advance guys.

    Greetings, @peter79 -.

    For the first part:

    Get-Cluster myClusterName | Get-VM | Select-Object Name, MemoryMB, NumCpu | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    And for the second, how about:

    Get-Cluster myClusterName | Get-VMHost | Get-Random | Get-Datastore | Select-Object name, FreeSpaceMB, CapacityMB | Export-Csv -NoTypeInformation c:\temp\myDaterstoreInfo.csv
    

    The first would be quite a bit faster by using Get - view instead of Get - VM.  It would be like:

    ## get an array of VM View objects with just the desired/needed properties
    $arrVMViews = Get-View -ViewType VirtualMachine -SearchRoot (Get-Cluster myClusterName).MoRef -Property Config.Hardware,Name
    ## make the two filters for displaying the desired info
    $hshCPUCountFilter = @{n="NumCPUs"; e={$_.Config.Hardware.NumCPU}}
    $hshMemAmtFilter = @{n="MemoryMB"; e={$_.Config.Hardware.MemoryMB}}
    ## display the info, and export to CSV
    $arrVMViews | Select-Object name, $hshCPUCountFilter, $hshMemAmtFilter | Export-Csv -NoTypeInformation c:\temp\myVMInfo.csv
    

    Enjoy.

  • Need help with the port forwarding for a XBox remote Streaming

    I have a router R6200v2 and need help with port forwarding.

    I came across this set of instructions for setting up stream port forwarding XBox remotely from anywhere

    http://kinkeadtech.com/2015/07/how-to-stream-Xbox-one-to-Windows-10-from-anywhere-with-Internet/

    I have no idea when it comes to such things and I want to make sure I do it correctly without messing up my existing home network.

    Port Forwarding and triggering Port pages setup look very different from what the guy uses. Can someone walk me through what I do to set up please?

    Hi @varxtis,

    You must enter them in the field for a start external Port and external completion Port. You will need to send individually except for the range of 49000-65000. The steps are as follows.

    1. create a Service name (it could be something else that you cannot use the same service name twice. Ex. XBOX1, XBOX2 and so forth.)

    2. Select the type of service (TCP, UDP or both)

    3 entry 5050 times a start external Port and external endpoints.

    4. Select the IP address of your XBOX.

    5. Select apply.

    6 do the same for other port numbers. To the beach, use 49000 for the external departure Port and for the external completion Port 65000.

    Kind regards

    Dexter

    The community team

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • How can I get ahold of a LIVE person? I need HELP with my email account (Email removed for privacy), you can contact me at Email removed for privacy or * withdrawn * please someone HELP! Mike Golab

    How can I get ahold of a LIVE person? I need HELP with my email account (* address email is removed from the privacy *) you can contact me to the * address email is removed from the privacy * or * remove * please someone HELP! Mike Golab

    E-mail address is removed from the privacy *.

    No, and that has nothing to do with this old thread. This is a scam that last for years. Microsoft never does unsolicited phone calls.
     
     
     
     
     

    Scams by e-mail or web: how to protect yourself
    http://www.Microsoft.com/security/online-privacy/phishing-scams.aspx
     
     
     
     

    Aggressive, persistent Windows tech support fraudsters continue to track consumers
    http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers
     
     

Maybe you are looking for