Can you assign field values as the file name

When filling fillable pdf forms I would like to assign the name of the file (automate a Save As) to field values. 

Place a regular button on the form and write the below code in the click event of button:
app.execMenuItem("SaveAs");
Thanks,
Vipin

Similar Messages

  • Can you track a form if the file name has been changed after distribution?

    I created a form in Adobe Acrobat X Pro -- I then used the distribute feature and sent the form to myself using the internal server. After testing the form, and making sure all was good, I copied the attachment from the email I received when I distributed the form to myself, and sent it to my boss (via outlook). He then changed the file name, and sent the form out to our members. Our members are completing this newly-changed document instead of the original form. They are able to "Submit The Form", and it still looks as though its coming back to me via the dialogue box. However, I have no received any responses in my original document's tracking. When I tried submitting this new form myself to see what happened, I just received an message that says "Your response is being queued for submission", but it never tells you whether the form was actually submitted or not. Is there any way that you can track this form even though the file name has been changed? And if people are submitting their forms to me, where are they going?
    Please help!
    thanks,
    desiree

    I understand that you don't want to redo all the linking with the markers. You can try following (make a copy of your project first to be safe) :
    - close your project and quit DVDSP
    - move your old asset, and replace it with the new one
    - reopen your project
    A warning message should tell you that this asset has changed, but your marker will remain at old position. If the asset length are not the same, old length information will be used by DVDSP. To correct this, delete the asset from the timeline, and drop it back to the timeline.
    Now you just have to move the marker to the right position.

  • How can I add form field value to the file name in save as dialog box

    I do not want the form to be saved automatically, just want the form to auto populate the "file name" only.
    A little background on the forms I want to use:  My company has 70 retail outlets, I'll use one of our pdf forms called an "Incident Report" as an example.  I would like for a store manager to be able to complete the form, then email the form to the main office (I already have javascript to add field values and form name to the email subject line), once the main office receives it, I want for them to be able to file the pdf electronically on our server.  We have mutliple forms that we use so I do not want any of the forms to automatically save anywhere, (at this time anyway) I just want the office personnel to be able to click "save as" (or whatever they will need to click) and the form automatically add certain field values from the pdf they have received, of which will be different each time the form is sent to the office (Date, store #, employee name etc.) in addition to the name of the form in the "File name" of the "Save As" dialog box.  The main office employees will decide into which server file the pdf should be saved.
    I'm using Acrobat 8 professional, the stores and office personnel use Adobe reader.
    One little note:  We currently print and file a lot of paper on a daily bases, as soon as I can get this to work, we are going green.
    Me and a lot of trees in this will really apprecitate any help you can give with this!  :-)

    You might want to take a look at the document "Developing Acrobat Applications Using JavaScript" (js_developer_guide.pdf) which is part of the Adobe Acrobat SDK, which can be downloaded here. Read the "Privileged versus non-privileged context" (p. 45ff.). You will find an example for "Executing privileged methods in a non-privileged context". Should be almost exactly what you are looking for.
    Small Outline: For security reasons ("the user always has to know what's going on") you are not allowed to use the "Doc.saveAs"-method without the user permission (--> in a non-privileged context). In order to reach the goal of a privileged context you can use a trusted function. You do this by creating a JavaScript file (*.js) in either the Application-JavaScript-Folder (default location on Windows systems: "%ProgramFiles%\Adobe\Acrobat 10.0\Acrobat\Javascripts") or the User-JavaScript-Folder (default location on Windows systems: "%AppData%\Adobe\Acrobat\10.0\JavaScripts"). Add the following content to the new file:
    myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {
         app.beginPriv();
              var myTrustedRetn = app.browseForDoc( oArgs );
         app.endPriv();
         return myTrustedRetn;
    myTrustedSaveAs = app.trustedFunction( function ( doc, oArgs ) {
         app.beginPriv();
              var myTrustedRetn = doc.saveAs( oArgs );
         app.endPriv();
         return myTrustedRetn;
    The developer guide actually wants you to add this content to the existing "config.js" file. I recommend creating a new file, since its easier to deploy in a network. Either way, every client/user who needs to be able to save documents this way, needs this JavaScript Code in his Application/User-JavaScript-Folder.
    Within the Acrobat Document, which you want to obtain a certain file name, you can now use the trusted functions "myTrustedBrowseForDoc" and "myTrustedSaveAs" to store the file. To call the trusted functions and deliver the file name you can either you use a form field (button) or you add a new menu item. Add the following JavaScript Action to the button/menu item and change "Roller Coaster" to the name of the field which contains the value which you want to become the new file name:
    var fileName = this.getField("Roller Coaster").valueAsString;
    try {
         var oRetn = myTrustedBrowseForDoc({bSave: true, cFilenameInit: fileName + ".pdf"});
         try {
              myTrustedSaveAs(this, { cPath: oRetn.cPath, cFS:oRetn.cFS });
         catch(e) {
              console.println("Save not allowed, perhaps readonly.");
    catch(e) {
    console.println("User cancelled Save As dialog box");
    Good Luck!

  • Can we assign two values to the same parameter? If yes how? For details ple

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • How do you assign a value to the APEX field APP_USER

    Application Express 4.0.2.00.07
    Hi
    Is there a special function/procedure to assign a value to the APP_USER field
    or a simple APP_USER := :P1_LOGIN_NAME would do
    Z

    Hello Zac,
    >> or a simple APP_USER := :P1_LOGIN_NAME would do
    The APEX engine is already doing it for you after a successful login – setting the value of APP_USER as the user login name. You can use it as a substitution string or with the bind variable notation (:APP_USER).
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • How can I modify ONE CHARACTER in the file name???

    I have in right side meta tag panel a file name , original name and copy name fields.
    The file was already renamed. So i am not interested original file name ,anyway i cant click on it.
    I would like to modify ONE +"!/"%/"+! CHARACTER in filename field which is 50 characters long.
    If I click on it gives me an batch rename window.
    If I click copy name I have to write all from zero BECAUSE I CANT COPY the filename field.
    so here we are in 21st century
    I have a solution: i copy the filename from vista explorer and paste it in copy name BUT what if I have to do this hundreds time???

    First, what has the copy name to do with file name? I think you're misunderstanding the purpose of the copy name field. It is for giving a virtual copy a distinctive name.
    Now for file naming... if I understood correctly, you want to edit the name right in the Metadata panel, but the file name field is non-editable. This is a bug. It is exhibited when you have multiple files selected and change the metadata panel view. You can temporarily fix it by selecting a single file in the grid and changing the metadata panel view from All to Default or vice versa (see the attached screenshot). Now that the field became editable, you change on character.
    If you want to do it for hundreds of files using a template, then would be nice if you provide your source and target filename templates.

  • Create a derived column based on a value within the file name

    I am importing a CSV file which is easy enough, but I have an issue where I need to manufacture a couple of column values based on the filename of the input.  So this same process will import different types of records to the same table in sql server.
     I need to pull out the record code from the file name.  
    For instance, say I can use the same package to input two different CSV files.  One is named Input_M02_Data.csv and one named Input_B15_Data.csv.  I need to create a derrived column and store the record code there (i.e.:  M02 or B15) based
    on which file it came out of.  
    fyi-
    I also need to create a second column for Dept based off of the file name as well.  M02 is dept 45 and B15 is dept 99  which I also need to insert into this table when I import the data from the .csv file.  
    Any help is greatly appreciated!

    Hi Jason,
    According to your description, you want to add two derived columns based on the file name to also insert into table. One stores the value between two “_” within file name, another stores the department based on that column.
    If in this scenario, we can add a variable FileName that stores the filename, then add the two variables as derived columns like below in the Derived Column Transformation:
    Name:
    SUBSTRING(@[User::FileName],FINDSTRING(@[User::FileName],"_",1)+1,FINDSTRING(@[User::FileName],"_",2)-(FINDSTRING(@[User::FileName],"_",1)+1))
    Dept:
    @[User::Name] =="M02"?"dept 45":@[User::Name] =="B15"?"dept 99":"dept 00"
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Can you flip ruler values around the zero point in CS5?

    I prefer the zero point to be in the bottom left corner, but when I set the zero point at that location in CS5 all the Y values on the page are negitive.  Is there a way to flip the vertical ruler values so that the positive values fall on the document I am working on?  In CS 3 I don't have this problem, the values on the page remain positve when the point is at the top or bottom left.
    Thanks!

    Movement on a 2D plane (I'm assuming your robot is rolling around on the ground) takes three parameters to specify location and orientation, X, Y, and Heading.  Most mice are designed to give you X and Y, assuming that you maintain a constant heading.  I just tried turning my Logitech mouse, and noticed X and Y moved a lot -- that's because the sensor is eccentric in the mouse, so the rotation got "mapped" into X and Y, but not heading.
    You can solve this by using two mice and "doing the math" (may take some experimentation to get the proper constants) to map rotation into mice outputs.  Note that choosing the origin of your robot coordinate system (relative to the "origins" of the mice) is also important.
    Finally, the plot you want to make is probably not a "moving cursor" (since I don't know an easy way to make a cursor rotate) but a simple representation of your robot moving around on the screen.  Christian Altenbach recently answered a "math problem" Jeff Bohrer posted where he created such a display (maybe a week ago) -- give him credit for the design if you "borrow" it.
    Bob Schor

  • Can you notify a user that the file is opened by another user?

    Apologies if this is a repeat or redundant question....
    Is there a built-in (non-3rd party) way to have a user notified/alerted that the pdf is open by another user when they open the file.  I know the lock message pops up when you go to save a file thats opened elsewhere....but the problem is that the users un-aware of this until after they've done a bunch of work. 
    I perfer not to get into having to password protect the files, etc....just an initial alert is desirable.  Any inputs are greatly appreciated.

    There isn't such a mechanism in Acrobat/Reader.
    On Thu, Jan 29, 2015 at 10:03 PM, stevep40215774 <[email protected]>

  • Can you substitute a asset of the same name but a different track length?

    Hi,
    Does DVDSP allow you to substitute an asset (which has chapter markers and is all linked up)with an asset which is identical apart from length and marker placement. In other words, it will have the same name, same number of markers, markers named the same, etc. The only difference will be where the markers appear in the track, and the track will be a different length?
    Is this possible and if so, how? I have tried to do it, by moving the first asset to a new location on the Mac and then going in to the project and attempting to relink the asset to the new file. However, it comes up with the message that the file I am trying to relink it to has different attributes! Can this be done?
    Help much needed and appreciated.
    Thxs
    Ben
    G5 Dual   Mac OS X (10.3.9)   FCP4, DVDSP2

    I understand that you don't want to redo all the linking with the markers. You can try following (make a copy of your project first to be safe) :
    - close your project and quit DVDSP
    - move your old asset, and replace it with the new one
    - reopen your project
    A warning message should tell you that this asset has changed, but your marker will remain at old position. If the asset length are not the same, old length information will be used by DVDSP. To correct this, delete the asset from the timeline, and drop it back to the timeline.
    Now you just have to move the marker to the right position.

  • How to get the file name from Oracle B2B 10g

    Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
    In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
    Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
    I tried using the b2b.filename property in the receive activity and it is not getting the file name.
    <sequence name="main">
        <receive name="Receive_Note" partnerLink="GetB2BNote"
                 portType="ns1:Dequeue_ptt" operation="Dequeue"
                 variable="Receive_Note_Dequeue_InputVariable"
                 createInstance="yes">
                 <bpelx:property name="b2b.fileName" variable="WriteFileName"/>
        </receive>
      </sequence>
    Can you help me to get the file name from Oracle b2b 10g ?
    Thanks,
    b2b user

    Hi My requirement is I am getting a CSV file from Trading partner, I am using oracle 10g b2b to translate the data.
    In my BPEL 10g I am using AQ adapter to get the message from IP_IN_QUEUE.
    Now I want to get the file name Eg: SampleFile.dat of the CSV file in my BPEL process.
    I tried using the b2b.filename property in the receive activity and it is not getting the file name.
    <sequence name="main">
        <receive name="Receive_Note" partnerLink="GetB2BNote"
                 portType="ns1:Dequeue_ptt" operation="Dequeue"
                 variable="Receive_Note_Dequeue_InputVariable"
                 createInstance="yes">
                 <bpelx:property name="b2b.fileName" variable="WriteFileName"/>
        </receive>
      </sequence>
    Can you help me to get the file name from Oracle b2b 10g ?
    Thanks,
    b2b user

  • IPhoto: After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file.

    After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    Hmm the advice has been not to use referenced libraries - you ignored and did it anyway and you find the advise not helpful
    Furthermore the advice is that if you choose to use a referenced library that you assure that the path never changes - you also choose to ignore that advice and do it anyway - and you blame the peopson trying to help you
    once again - you have one choice - change the file names back and put the files back in the exact same place - and again you are totally ignoring the advice and instead name calling and attacking the person giving you advice
    Maybe life would be easier if you followed advice rather than ignoring it and then complaining that things no longer work
    change the name back and you will be fine until the next problem you hit that is caused by choosing a referenced library
    Have a nice day
    LN

  • Retreiving the file names from directory inside another directory from application server

    Hi,
    I had a problem in retreiving the file names from a directory inside another directory.
    I tried using the FM's  SUBST_GET_FILE_LIST, RZL_READ_DIR_LOCAL and EPS_GET_DIRECTORY_LISTING
    But here I am getting only one directory details.
    Actually my file is located a directory inside one more directory and one more directory and inside the files are located.
    i.e total 3 directories inside the 3rd one my files are there.
    I need to read the latest file name in the directory.
    So that i can do some manipulation after getting the file name.
    Is there option like OPEN DATASET , READ DATASET and CLOSE DATASET?
    Can anyone please let me know How can i acheive this one.
    Regards
    Ram

    Hi Ram,
        Following thread can be helpful for you, were it shows in the tables structure rsfillst a field RSFILLST-TYPE whether its a directory or file..........
    http://scn.sap.com/thread/865272
    thanks and regards,
    narayan

  • MessageFileUpload how to retrive the file name?

    Hi there guys,
    maybe it's a stupid question but i cannot find the answer :_( any of you knows how to retrive the file name i am going to upload from the messageFIleUpload item?
    Thank You, Pier Paolo.
    Edit: Found in another post!! eeheh LAZY ME!! :_)
    Message was edited by:
    PandreoL

    Nice to know that you found the solution. You could have as well used the javadoc for the same.
    --Shiv                                                                                                                                                                                                                   

Maybe you are looking for