Check Attachments in Offline form
Hi All,
I am currently working on a offline scenario wherein the requestor is supposed to attach a file to his Adobe Form before submitting.
Now my requirement is to check if there is an attachment with the form(offline) on the click of the submit button.
Any pointers on this..??
Any help will be appreciated..
PS: This is an offline process.
Thanks
Amita
Hi,
Just try this code, I have not tested it
var d = this.dataObjects;
if ( d == null )
xfa.host.messageBox("No file attachments");
Regards
Pradeep Goli
Similar Messages
-
Check Box Validation in Offline Form
Dear Experts,
I have a requirement in an offline form where I have six check boxes, and out of the six check boxes
user can only select any three.
Request you to please suggest how to achieve this.
Warm Regrads,
Upendra AgrawalThanks a ton Shaira.
Full points to you
Just wondering what is the "Validation Script Message" for each UI.
warm regards,
Upendra Agrawal -
How to read Attachments in Adobe forms and post it to SAP
Hi,
We have developed a form to Create a Purchase Requisition.
My requirement is to attach a couple of documents and post it to SAP when creating a Purchase Requisition.
How can check whether the user has attached the documents or not using Javascript.
Also how to read the attached documents using JavaScript and post it to SAP system.
Thanks,
TahaIt is an offline form.
We are consuming the web service in Form to create a PR.
However we also need the user to attach some documents before it actually clicks on the "Create PR" button.
User can attach the file through "Attachments" facility provided on Adobe Reader.
Our problem is how to check whether user has attached the documents or not. If the documents are attcahed then how to read them using JavaScript?
Thanks,
Taha -
Error is in example "How to Create Online and Offline Forms in Web Dynpro"
Hi,
I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
... 34 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
Web Dynpro Code Generation Infos
local/TravelRequest
SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.lang.NullPointerException
at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
So please help me to correct this error .....
Help will be rewarded.
Regards,
Gurprit BhatiaHi Gurprit,
A null value is being passed at runtime. Make sure that you enter values when filling in the form.
Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
In wdDoInit() method:
wdContext.currentNodeAElement.setValueA("");
Context is as follows:
RootNode
|____NodeA
|_____ValueA
Hope it helps. -
Form once saved, data is disappearing on the offline form!
Hello
I am lauching my_form on IE browser on the 3/4 of the screen of GUI (Graphical User Interface of SAP), on the rest of the screen i put some GUI push buttons for SUBMIT (am not using Adobe's SUBMIT button). By chance if user forgets any mandatory field populating, then am throwing a GUI popup message, then the user closes this popup message, well, but
1) User can see physically data presenting on the form, but when user SAVEs the form by pressing Adobe's SAVE button.....the SAVEd copy on the local PC does not holding any data! all the form is blank
This is happening if popup comes up and user closes it
Pls. let me know how can i fix this issue that the form must retail the entered data all the time irrespective of popups
Thank youThank you. Sorry my original question is confusing, i will put it in the below way instead,
1st scenario:
I am launching 2 pages my_form on the IE browser, am entering data on first page, at this point i saved it on my laptop, it saved properly and when i checked the saved copy (offline copy) its holding all the entered data, well.
Now, the issue is,
2nd scenario:
I am launching my_form, am entering data on first page, at this point I SUBMITted the form (am not using Adobe's SUBMIT button, i have my own custom SUBMIT button outside of Adobe),
2A) Say, there is some errors (example, formatting, madatory fields not fillled, cross-depenedency validations failed)..... my application (its not adobe, i have my own custom application) is throwing some message
Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
2B) Say, its successfully submitted, then my aplication (its not adobe, i have my own custom application) is throwing a message saying that "Successfully submitted" via Popup
Now, user can see the entered data on the form physically....if user saves at this point, then, the saved offline form not holding any data
Issue is coming when messages are throwing...i guess at this point some stuff/memories/nodes/fields/variables are clearing/loosing its data
Thank you -
Dynamic dropdown filling in offline form
Hi,
I have a internal table contaning some values, i have binded my dropdown element wih the field of the table containing the values, however i see only the first value in the table and its an offline form.
Correct replies will be well rewarded.Hi,
Open the form in the designer.
Go to Tools -- Options -- Data Binding
Check "Show Dynamic Properties" and close it.
Select the dropdown
Go to Object Palette, Cell tab
List Items will now be a link .... click on it...
Navigate to the node having the data for dropdown
eg. $record.NODE_01.DATA[*]
Item Text myText
Item Value myValue
(Assuming NODE_01 has attributes myText and myValue)
Apart from this, make the following checks, in WD4A if the displayType is Native create dropdown from Web Dynpro Native Library, if displaytype = ActiveX, create dropdown from WebDynpro ActiveX Library
Also what is the layout Type for the form???
Regards,
Reema. -
Need help with receiving offline form in GP
I'm new to GP and interactive forms on EP 7.0 SP15 and running into a problem with submitting an offline form and GP starting the process. The examples were followed on how to set up the callable object with an interactive form. I've got the form set up to be used as a standalone interactive form and starting a process upon completion. I've selected the process which is active and completed the mapping. Went through the steps to manage impersonalized interactive forms. Downloaded the form, entered data and submit. Get the message back that it was received successfully. Went back and checked manage impersonalized... and can see that the form was returned. Go back to Runtime and can't find the process listed anywhere. Where is it going? Is there a way to track it down? Looked at Maintain queues and checked each queue, can't find anything with a timestamp around the time the last form was submitted. Any ideas on how to figure this out would be appreciated.
Thank you,
KathyThanks for the reply! I was able to reset the field calculation order
but have one field that is not populating right away and I have
changed it's order everywhere? -
Adobe Reader users able to add attachments to a form?
I am currently developing a form for other users that have Reader. Is it possible for the Reader users to provide attachments within the form I developed when submitting? Any help would be greatly appreciated.
I think it has something to do with the way the value of the check box is exported, but I'm not sure. With nothing being exported to Data5, Data6 displays the sum of Data1-4 rounded down to the nearest whole number and updates automatically as Data1-4 are updated.
Right now, assuming Data1-4 are 0, where data 5 is the output of the second example and any box is checked, "1" is displayed in data5 but nothing is added to data 6. Selecting any other check box or deselecting that check box will cause data6 to add 1 even if data5 displays "0". By way of example:
Selecting Check box 16 results in Data5 displays 1 and Data6 displays zero.
Then, if any or all of Checkbox17-20 are selected, Data5 displays 1 and Data6 displays 1.
Then, if any or all of Checkbox17-20 are deselected, Data5 Displays 1 and Data6 displays1.
Then, if Checkbox16 is deselected, Data5 displays 0 and Data6 displays 1. -
Adobe Offline Forms 4.7
Is it possible to create an Adobe Offline form in SAP 4.7? If not, what other alternatives are available that can mimic filling out a form offline and then passing the information back into R/3 at a later time?
Check the [Adobe FAQ|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0#q-8]
-
Where is the Offline form stored after its emailed out to SAP
Hi All,
I have created an offline form earlier. This is getting mailed to SAP, getting processed and then stored using an Archivelink solution to an external server. This is currently working and at any point we can pull up the adobe form from the server.
I am working on a second offline form now, for which the client doesnt want to use the external server or Archivelink.
This made me wonder as to where the pdf form gets stored in SAP if we dont add any additional coding. Is it on the SAP Server ? I need to firstly check where the pdf form gets stored and secondly find the storage capacity as the client expects to send minimum one pdf form dialy to SAP. Thirdly I need to check if we can retrive the form back at a later stage for audit purposes.
Any idea where the offline form gets stored in SAP once an email is sent ? Any help on the above three ques is greatly appreciated.
Thanks in advance! LizHi Otto,
You have a good concern. I am relatively new to SAP if you havent already guessed that and learning something new as each day passes. Therefore I do have a lot of doubts doing many things first time. Most of the time, the questions asked in these forums are way beyond me. Thus I am not able to help anyone.
However from my side, as and when I solve an issue with the help of an answer in the forum, I do post the solution to help others. If you think, there is any better way I can help, do let me know.
Thanks for your help as always, Liz -
Offline form in iPad DPS App that stores data and then sends when connected to internet
Hi there,
I've built an "app" using InDesign and DPS. Great, whiz bang 360 spins, video, etc, etc but at the end I would like to have a form to record the users experience on the ipad or to record their experience of an event where the iPad was used. I have created a form in Acrobat XI, exported to FormCentral as a trial, linked to the form using a web frame within InDesign and then exporting out with DPS. App works fine, can see form, enter data and submit, check data via FormCentral admin system, all good.
However, is it possible to create the same app that works identically offline? I know the whiz bang stuff will work as it's built into the standalone app. I guess the html form will need to be stored locally, when a user submits the form it needs to write to the iPad and store locally and if/when the iPad makes a connection to the internet it can send the stored local data upto FormCentral for processing. The form would be filled in by multiple users at different times.
From trawling the web I can see forms can write locally to the iPad but then I also see pages of code, my eyes glaze over and I run for the hills. I just wondered if there was an easy solution? If not, can this be raised as an item in the wishlist for both FormCentral/DPS/Indesign? A nice clicky interface for us "non-coding" designers.
Any help would be most appreciated,
Thanks,
Rog.Hi Randy,
Thanks for coming back to me on this. Instead of a html form, can a pdf form embedded within a DPS app work?
I see that pdf forms can be filled in offline and data sent went back online but unsure as to whether this approach will work within a DPS app.
I saw a post you responded to
http://forums.adobe.com/message/3506205#3506205
You mention an article to the offline form in more detail but I get a broken link.
Thanks again. -
How to create check box in tabular form
Dear Friends
i have craeaed tabular form .Recently all column are default text field but i want to change some column from text field to check box .
i have try it with simple check box but there is no option to pass return value in to table.
How to create check box in tabular from.
select
"CLAIM_ID",
"CLAIM_ID" CLAIM_ID_DISPLAY,
"EMPLOYEE_ID",
"CLAIM_DATE",
"START_FROM",
"END_TO",
"REIMB_NAME",
"REIMB_AMOUNT",
"REMARK",
"ACTIVE_FLAG",
"STATUS",
"APPROVE_NO",
"APPROVE_FLAG"
from "EMP_REIMBURSEMENT_DTL
{code}
i want to change column from text field to Check box
Cplumn Name :
1.ACTIVE_FLAG Return value 'Y'
2.STATUS Return Value "APPROVE"
How to pass it with check box in tabular form.
ThanksVisit this demo app:
http://apex.oracle.com/pls/otn/f?p=31517:1
Section VI has a lot of tabular form stuff with checkbox handling.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
https://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
How to embed attachments in interactive form?
Hi guys,
current, customer wants to embed files(doc, exl or something like that) in adobe form,
is it supported in interactive form? or which version of interactive form support?
does that need a lot of coding? any tutorial is available?
thanks
JohnAttachments
http://eslifeline.wordpress.com/2009/04/06/adding-attachments-to-pdf-form/
WD Java - removing attachment from interactive form
Attachments for WDA form
Re: Attachments with Adobe Interactive Forms in WDA
Regards Otto
p.s.: depends if you want the system to add/read/remove the attachments for you or you want the user to work with it, you can learn about both from the links above -
Adding attachments to PDF form
I tried everything and looked everywhere and can't find the best solution to this problem. I just need a way for the user to attach documents to a PDF form in Adobe Reader. I have access to LiveCycle and Acrobat so is there way once the extended features are enabled for a user to add attachments to the form in Reader. I have LiveCycle ES 8.2.1. I guess the only possible way is when the user emails the form they can add the attachments then but I just want to see if it can be done by attaching to the actual form.
Hi Roy,
I can't test now, but I've had Paul's example working on a Mac before in Acrobat.
If you are using Reader on the Mac (or Windows), then the form would need to be Reader Enabled using LC Reader Extensions ES on the server.
If you have Reader Enabled the form in Acrobat, then the ability to attach files is not available to users with Reader.
See a summary here: http://assure.ly/etkFNU.
Hope that helps,
Niall -
Preview not saving check boxes in PDF forms
For some reason 10.6's preview will not save check boxes in PDF forms, you can click them but as soon as you save them they disappear.
I'm having the exact problem. I have a fillable PDF form that has many checkboxes. Saving the pdf (doesn't matter whether it's 'Save', 'Save All', or 'Save As' under the File menu) will clear/reset the checkboxes in the file.
Anyone know of a workaround for this? Or, is Apple fixing this soon? I really don't want to get Acrobat Pro 9 (well, I don't think it's compatible with Snow Leopard yet anyway)
If you'd like a sample PDF file to try it out, let me know.
Thanks.
Maybe you are looking for
-
Invoices Payables Open Interface Import Error REP-1419: 'beforereport': PL/
I am having the following error when I try to import the invoces from the interface tables. I've search for the problem but and tried various solutions but they did not solve the problem or did not apply. Can someone help?? APXIIMPT module: Payables
-
Can't install itunes on my windows
when I try to install itunes or quicktime, the file will not open. it hs been downloaded to my machine, but it will not open when try.I have deleted old quicktime and itunes files, but it didn't help. what shall I do?
-
How To dynamically change values in custom form
Hi, Requirement is to change values in custom form dynamically that are passed by Global variables through standard form . I have used forms personalization to call custom form and passing some parameters to custom form using global variables. Now i
-
How can I change the view size to make it my default?
the view size is way too small with pages that I open on Firefox. I want to change the size and I want to make it my default so I don't have to click on zoom in everytime I open Firefox. Where can I change this? I have Windows Vista.
-
I have Mac OS X 10.5.8 instslled on my my iMac and I've got this message using chrome... Chrome no longer supports Mac OS X 10.5 Google Chrome on Mac OS X 10.5 (Leopard) will stop receiving any updates following Chrome 21. This includes new features,