Specify formname at presave event

Hey,
Is it prossible to specify a pdf-form name at the pre-save event? So you can add the current date to the pdf-forms name.
Thanks in advance
RonnyR

Any help pls?
Thank you    

Similar Messages

  • Cancelling saving of form in preSave event

    I am performing cross field validation before saving the form (in preSave event) and want to cancel the saving of the form. I have tried returning 0, false, but nothing seems to work and the form is saved anyway. How can I cancel the saving of the form?

    Can you explain what you meant by Saving of the form.. Are you using File -> Save (or) placing a button on the form and on the click of it you atre trying to save the form?
    Thanks
    Srini

  • How does the preSave Event work?

    I want to be able to use the preSave Event to save an uneditable copy of my form to email to customers. But I'm not sure how to do this. I want to be able to create basically a 'read only' version of my form.
    Can anyone help?

    What do you mean by "return method"? Methods return a value (or void, but that's still a "value" of sorts).
    Returning a Value from a Method
    http://java.sun.com/docs/books/tutorial/java/javaOO/methoddecl.html

  • Why don't my photos appear as they do in iPhoto on my Apple Computer. Even though I specify to sync all Events, Faces, etc. the iPad 2 is missing Faces categories and the Events are in a different order.

    Why don't my photos appear as they do in iPhoto on my Apple Computer. Even though I specify to sync all Events, Faces, etc. the iPad 2 is missing Faces categories and the Events are in a different order.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • "Presave" Event triggered when the form is loaded.

    Dear all,
    I created an interactive form with an XML interface and I use it into a Web Dynpro ABAP.
    The version of my Adobe LiveCycle Designer is 8.0.
    My problem is that the "presave" event is triggered when the form is loaded.
    For example, if I place a field in the form and add the script " this.rawValue = "123"; " to the "presave" event of this field, the field will have the value "123" when I launch the Web Dynpro application.
    Then, if the user does not make any input and directly save the form, the "presave" event is not triggered.
    Does anyone know why I get such a behavior?

    Steeven, I was unable to test this scenario as Adobe Credentials are not installed in my system. But something similar from Java Script is referenced here in the below mentioned link.
    Please look if you find it useful:
    http://careerabap.blogspot.ca/2011/02/custom-dialog-box-message-while-saving.html
    Please reward if you find it useful.
    Regards,
    Nitin.

  • Is there any way to open a map to the location specified in a calendar event?

    Besides opening the event, copying the location, and pasting it into google\bing\etc mapping tools I do not see this rather common functionality available in Lightning. Ideally, right clicking on the event in the calendar (without opening the event) would provide an option to open your desired mapping site set to the location specified in the event. Or even if you could open the event and there was a "Map" button next to the location. Is there even a plug in\add on\extension that provides this?

    we are working on server to server APIs that will allow you to fetch data (items) from node.
    when that is available you'll be able to get the user list from the UserManager node.

  • Cancel saving from Presave event in case validation fails

    I am checking some custom validation on my pdf form. If they fails then I don't want user to allow saving of form.
    I tried following code on
    ArrayOfDeclarationData::preSave - (JavaScript, client)
        if ( !ArrayOfDeclarationData.Page1.variables.ValidateField.ValidateMandatory() && !ArrayOfDeclarationData.page2.variables.DeclValidate.ValDeclPages())
    xfa.event.cancelAction = true;
    but I have noticed that event is not getting cancelled and user is still able to save form. Even xfa.event.cancelAction is always false even after setting it to true.
    Please help me on this issue as I have to only allow user to save user from menu / (ctrl + s) if validation passes.
    Thanks
    Abhi
    [email protected]

    Hi,
    It's not possible to cancel a save action, sorry.
    In the documentation you might have read, that cancelAction will also work for preSave, but this is not true. It's a bug in the documentation.

  • Trying to use exportData method during preSave event

    Hi,
    I'm using LiveCycle Designer ES2 and Acrobat X Pro. I'm trying to create a PDF form that will import and export data from an XML file - specifically, import upon opening the form, and export upon saving the form. The document will be very limited in scope so I have it certified. The users of the form also have the latest Adobe Acrobat. The users should not be aware of the importing and exporting - they are only going to be saving the document.
    I was able to get the form to import the data successfully with the following code:
    topmostSubform.Page1::docReady - (JavaScript, client)
         xfa.host.importData("document_data.xml");
    However, I cannot get this to work:
    topmostSubform.Page1::preSave - (JavaScript, client)
         xfa.host.exportData("document_data.xml");
    When I save the PDF from Acrobat, nothing happens and the Javascript Debugger reads:
    RangeError: Invalid argument value.
    Doc.exportXFAData:-1:XFA:topmostSubform[0]:Page1[0]:preSave
    I tried adding 0 as an optional second argument to the function that indicates the format is XML, but the problem was the same.
    I also tried seeing what happened when I used FormCalc code, and a very vague message comes up when I try to recertify and save:
    "Script failed (language is formcalc; context is xfa[0].form[0].topmostSubform[0].Page1[0])
    script=xfa.host.exportData("document_data.xml")
    Error:         " [no error message]
    If what I'm trying to do is impossible for whatever reason, another solution would be for the PDF to import the data only the first time it's opened, and then just keep any modifications saved within the PDF. This was actually the first thing I tried to do, but I couldn't figure out how to make that work without putting a button on the form (seems like a waste of space since the button would only be used once).
    I'd greatly appreciate any ideas or advice!

    If you supply a filename (and path) to the exportData() method, you will need to certify the form in order to have it work.  In this case, Preserving script changes cannot be automatic. saving a file silently is a secrity risk.
    http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=001341.html

  • Firing event once a specified media time is reached. Please help!!

    Hi all. I'm a student and a project I'm doing involves JMF. I can't find anyone to help me on this one so please help.
    What I'm trying to do is to do some action (for a simple example, just print something out) once the video has been played for a certain time.
    For example, at media time of 40 seconds I want to print out a text. How I can achieve this? I can't find any types of events associated with ControllerListener to assist me. I also tried setting a stop time for the clock but the video wouldn't stop playing. Any suggestions would be much appreciated.
    Here's some part of my code...
    else if (event instanceof PrefetchCompleteEvent) {
               player.start();
            player.setStopTime(new Time(questiontime.get(0).doubleValue()));   //i want to pop a question at a specified time
    }else if (event instanceof StopAtTimeEvent) {
           popupquestion();                   
    } The question won't pop up and the video won't stop...

    Hi all. I'm a student and a project I'm doing involves JMF. I can't find anyone to help me on this one so please help.
    What I'm trying to do is to do some action (for a simple example, just print something out) once the video has been played for a certain time.
    For example, at media time of 40 seconds I want to print out a text. How I can achieve this? I can't find any types of events associated with ControllerListener to assist me. I also tried setting a stop time for the clock but the video wouldn't stop playing. Any suggestions would be much appreciated.
    Here's some part of my code...
    else if (event instanceof PrefetchCompleteEvent) {
               player.start();
            player.setStopTime(new Time(questiontime.get(0).doubleValue()));   //i want to pop a question at a specified time
    }else if (event instanceof StopAtTimeEvent) {
           popupquestion();                   
    } The question won't pop up and the video won't stop...

  • Extraction and loading of Training and Event Management data (0HR_PE_1)

    hello,
    I've got the following doubt:
    before BI 7.0 release, extractor 0HR_PE_1 extracts event data (eventid, attendee id, calday,...) but if you load straight to cube 0PE_C01, as Calendar year/month needs a reference date (for example, event start date), you'll get total duration of event in hours or days refered to event star date.
    So in a query filtered by month, you get total duration of an event that starts in the filtered month but it couldn`t end until few months later o year later, so you don´t get appropiate information.
    Example:
    Event          calday        Hours
    10004377  20081120   500        but from event_attr event end date is 20090410.
    In a query filtered by 200811 you get total duration time (500 hours when in 200811 event hours have been 20) or if you filter by any month of 2009 you don´t get information of duration of that event.
    I had to create a copy of standar cube (without calday, only Calendar year/month, Calendar year in time dimension) and disaggrate data creating as many entries for an event as months lasts and adjust calculation of ratios duration of event (duration of event in each month/ total duration of event).
    The question is: Is there any improvement or change on business content in BI 7.0 to treat Training and Event Management data? Has anybody had to deal with that?
    Thank you very much.
    IRB

    Hi,
    TEM data is stored in HRP tables.
    You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
    LSMW for tcode PP01 can be used to create these objects.
    To create Business Events (E) you can create LSMW for PV10/PV11.
    To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
    tcode PV12 to firmly book events
    tcode PV15 to follow up
    Hope this helps.
    Regards,
    Shreyasi.

  • Training and Event Management Data Load

    Hello Team
    Would appreciate if any of you can advice on how to load Training and Event management data. I think its stored in HRP tables.
    I'm working on an upgrade assignment.
    Thanks

    Hi,
    TEM data is stored in HRP tables.
    You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
    LSMW for tcode PP01 can be used to create these objects.
    To create Business Events (E) you can create LSMW for PV10/PV11.
    To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
    tcode PV12 to firmly book events
    tcode PV15 to follow up
    Hope this helps.
    Regards,
    Shreyasi.

  • Getting Training and Event Management Data using IT0031

    Scenerio:
    One of the Employee Is Retired. Now we hire it again for the same role ( extending its period after posting it as retired).
    So the good thing that we can use the IT0031 "Reference Personnel Numbers" to get the desired ITs and found that can get other cutomized ITs by checking in the "Copy Infotype" attribute of IT records.
    Now this seems to be valid if we are in the same module
    but waht if i want to get this magic "Referencing of ITs" done for the "Training and Event Managment" Data of the employee.
    Is it Possible Automatically ... or have to go fro ABAP... (I will not prefer ABAP)...
    I hope i have stated the problem clearly ...
    Feedback ... need it ASAP ...

    Hi,
    TEM data is stored in HRP tables.
    You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
    LSMW for tcode PP01 can be used to create these objects.
    To create Business Events (E) you can create LSMW for PV10/PV11.
    To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
    tcode PV12 to firmly book events
    tcode PV15 to follow up
    Hope this helps.
    Regards,
    Shreyasi.

  • Error deleting events in iCal using applescript

    Hi,
    I made a little applescript to insert and remove a roster in iCal for me and my collegues.
    While the script to remove a roster works fine on my computer, others are getting an error:
    see Link: [http://i359.photobucket.com/albums/oo31/Bronco_Dappe/Allerlei/Afbeelding1.png]
    [the error contains some strange characters but in general it says:
    "can not get class ... of event id ... of calendar id ..."]
    My applescript to delete the roster is:
    on run {CalendarName, Start, Eind, Prefix}
    -- Start and Eind format:
    -- int(day) int(month) int(year) int(hour) int(minutes)
    -- ===============================
    on run
    set CalendarName to "MP"
    set Start to "15 10 2009 00 00"
    set Eind to "17 10 2009 23 59"
    set Prefix to "MP:"
    -- Version 3.0
    -- ========
    -- Changed format of Start & Eind to be compatible with Snow Leopard
    -- convert DateStart
    set wordsplit to (words in Start)
    set DateStart to (current date)
    set year of DateStart to (item 3 of wordsplit)
    set time of DateStart to 0 -- reset time
    set day of DateStart to 1 -- prevent february 31
    set month of DateStart to (item 2 of wordsplit)
    set day of DateStart to (item 1 of wordsplit)
    set DateStart to DateStart + ((item 4 of wordsplit) * hours + (item 5 of wordsplit) * minutes) -- set time
    -- convert DateEind
    set wordsplit to (words in Eind)
    set DateEind to (current date)
    set year of DateEind to (item 3 of wordsplit)
    set time of DateEind to 0
    set day of DateEind to 1
    set month of DateEind to (item 2 of wordsplit)
    set day of DateEind to (item 1 of wordsplit)
    set DateEind to DateEind + ((item 4 of wordsplit) * hours + (item 5 of wordsplit) * minutes)
    tell application "iCal"
    set TargetCalendar to first calendar whose title is CalendarName
    set list2bDeleted to {}
    set list2bDeletedSum to {}
    set listEvents to every event of TargetCalendar
    repeat with singleEvent in listEvents
    if summary of singleEvent starts with Prefix then
    set eventstart to start date of singleEvent
    if eventstart ≥ DateStart and eventstart ≤ DateEind then
    if summary of singleEvent starts with Prefix then
    copy uid of singleEvent to end of list2bDeleted
    copy summary of singleEvent to end of list2bDeletedSum
    end if
    end if
    end if
    end repeat
    repeat with eventUID in list2bDeleted
    delete (every event of TargetCalendar whose uid is eventUID)
    end repeat
    end tell
    return list2bDeletedSum
    end run
    In general the script works like this:
    1. it goes over events in a specified calendar
    2. all events to be removed are added to a delete-list by id
    3. all events in the delete-list are removed using this id
    it seems step 3 creates a problem.
    any suggestions here?
    ghislain
    Message was edited by: ghis74

    Once I got access again to an apple with Leopard I solved the problem.
    The applescript was saved in Snow Leopard.
    When opened in Leopard 'uid' in 'copy uid of singleEvent to end of list2bDeleted' was changed into '<<class>>' : 'copy <<class>> of singleEvent...'.
    Quite strange - but correcting and saving the script in Leopard solved the problem.
    Thanks for your help.
    Ghislain

  • As3 event flow, and a rant

    ok, more rant than help, if i dont find the answer here ill probably think of something in the morning but at least i get to vent some. the geniuses of adobe tried to to an event handling closer to traditional programming, only different in every aspect. ok, event handling, wow, lets do something that is not like common declarative languajes (c, c#, java etc), or that looks similar to at least as2, so lets create an event handling thats is not close to anything else, and instead of specifying or 'turn on' the right flow of the event, let the user 'turn off' all the cases that are not the ones he/she wants (that should keep things interesting), so instead of, if i want to pass an event to a container form the control or sprite that gets it, lets create an event that goes from all controls from the inside to all conatiners, and that does not stop unless the user specifically specifies to stop propagating, so let the user create an event handler for a control that should not need an event handler so it does not propagate, and lets make some useless help in the manual aboput some babbling, i mean bubblibng, and lets spit and let the user imagine whatever we could not do right in design time. in other words, lets be creative.
    i have a text field, if i want it to receive input i have to set it to 'mouseenabled=true', and if it has mouseenabled=true, it will propagate the click event (when user clicks over textfield to set focus on it) to the stage or whatever container it has.
    so the stage or container or whatever receives a click event, but oh lucky, it gets the parameters relative to the object which got the event in the first place, not relative to the stage (so if the user clicks on the text field, and even though the textfield handled the event, it will propagate the click to whatever sprite contains the textfield, and will be handled by those handlers). so the user clicks on the textfield, the textfield gets focus or whatever, and then withoput specifying to propagate the event, it will pass it to the stage. the stage gets the mouse click, but instead of the stage coordinates, it gets the click with coordinates relative to the textfield (so if the textfiled was clicked on x=10, y=10 relative to itself, the stage will get a click event with x=10 and y=10, evenn if relative to the stage the coordinates where something different -they should be the same only if the textfield was in 0, 0, which is not the case- ). ok, the damage is done, so lets learn how to stop the 'bubbling', and lets make guesses since besides of designing it with thier feet, the other geniuses of adobe could not even write it right in the manual. is there at least in the mouseevent object some property that says who was the original caller? (if i dont find an answer here soon i will look into it in the morning, but i wanted to say this anyway)

    hmm.. hi, what you said it probably helps, yes it is related to the taget of an event that propagates so you got it right, and i could probably get the atributes from each object in the list, and i wrote the things above because i was pissed at the time (and as i said, i got over it using a mix of stageX and Y with localX and Y). anyway, it does not seem a right way to handle things that instead of stopping in a control that handles the event, and the control having the possibility to propagate it to its containers, do the other way, to have to stop the event from propagating, even though controls and forms and containers and stuff have been treated long enough in many other ides and languajes, and as3 does it all just the contrary of the usual, with having to explicitly stop from 'bubbling', and passing the parameters in the propagation relative to the first object, instead of the current container (so what is the pourpose of this, check the whole list and do the math to find current parameters?), well in any case it was just it, and it was solved. tnx anyway

  • EventQueue not firing event node

    I'm not having any luck getting an XMLEvent node to fire and assign workflow
    variables from TextMessages send to the eventQueue with WLI 2.0 sp2 from an
    external application. I've checked to make sure the root element is the
    same as the event node definition. While monitoring the "Active JMS
    Destinations" in the console, I do see the number of "Messages Received" for
    the eventQueue increase. The xml string sent to the queue is as follows:
    <?xml version="1.0" encoding="UTF-8"?><policy-check-response><timesheet
    id="1070"/><hasErrors>true</hasErrors></policy-check-response>
    There is no document type...does the root element not only have to match the
    event node definition, but also be the first line? Please HELP!
    The process flow is as follows (Steps 1-4 succeed, #5 never happens)
    1)WLPI task "Mark As Done" fires external xml request --> 2) external app
    listener --> 3)external app ... --> 4)external app queue sender posts xml
    response to eventQueue -- 5)xml event node assigns workflow variable based
    on external app's xml message response.
    Jon Wilmoth
    Software Architect
    eSage Group
    (206) 264-5675 (Voice & Fax)
    [email protected]
    http://www.esagegroup.com

    Jon
    I must be in a good mood or something. Attached you will find a jar file
    that you can import via the tools option. This template contains a task that
    posts the XML message you specified along with an event to consume the
    message. Please take a look at the eventKey that has been defined under the
    configuration option as well as the event node.
    Thanks
    Tony Lodge
    WLI Senior Engineer
    "Jon Wilmoth" <[email protected]> wrote in message
    news:3b96c4fa$[email protected]..
    I'm not having any luck getting an XMLEvent node to fire and assignworkflow
    variables from TextMessages send to the eventQueue with WLI 2.0 sp2 froman
    external application. I've checked to make sure the root element is the
    same as the event node definition. While monitoring the "Active JMS
    Destinations" in the console, I do see the number of "Messages Received"for
    the eventQueue increase. The xml string sent to the queue is as follows:
    <?xml version="1.0" encoding="UTF-8"?><policy-check-response><timesheet
    id="1070"/><hasErrors>true</hasErrors></policy-check-response>
    There is no document type...does the root element not only have to matchthe
    event node definition, but also be the first line? Please HELP!
    The process flow is as follows (Steps 1-4 succeed, #5 never happens)
    1)WLPI task "Mark As Done" fires external xml request --> 2) external app
    listener --> 3)external app ... --> 4)external app queue sender posts xml
    response to eventQueue -- 5)xml event node assigns workflow variable based
    on external app's xml message response.
    Jon Wilmoth
    Software Architect
    eSage Group
    (206) 264-5675 (Voice & Fax)
    [email protected]
    http://www.esagegroup.com
    [jon.jar]

Maybe you are looking for

  • Communications error while trying to print

    I am unable to print to my Epson R380 after installing Leopard. The printer is set up as a Bonjour printer using a airport extreme. The paper will load and print starts but stops after a line or two prints. The error given is a Communications Error.

  • Sales order going to dump when we enter product in the transcation

    Hello Gurus, I am facing a problem in the sales order, when i enter a product in the transcation(TA) it going to dump........It is showing the message like this........., What happened?......     Error in the ABAP Application Program     The current

  • TC not showing up in Finder

    Hello, I've had a 500G TC for a few months now. The wireless internet portion of it has worked great, but i have never been able to get the harddrive portion set up. It has never showed up in the Finder, so there is no way to even access it. It has b

  • Why can't i change the size of the taskbar

    I am trying the trial version of photoshop elements 13 and the taskbar fonts and icons are way to small and tiny. It is impossible to use this software when I can't see what I am selecting. It is frustrating. I have a 27" monitor that has a display o

  • Application not Showing Up on Application Report

    I have 7 computers to manage and on one system InDesign (CS4) does not show up on the application usage report. I know she's using the application because this is the primary software we use in our department. Can anyone tell me why it's not showing