Opening an attachment

I have a list box with 3 buttons, attach, open and delete. The attach and delete buttons work fine when I attach or delete an attachment but when I click on the attachment button it does not open the attachment saying the is no attachment.
I am running Acrobat X Pro.
My code is:-
try}
var myDoc = event.target;
var sFile = Attachments.rawValue;
myDoc.exportDataObject ({ cName: sfile, nlaunch: 2 });
catch(e)
app.alert("There are no files to open");

JUst try it with the following code. Hope this helps...
var oObj = event.target;
var fileAttachments = oObj.dataObjects;//dataObjects returns all dataObjects(attachments)in the pdf
//attachmentsList is a listbox field in the form listing all the attachments included
if(attachmentsList.length > 0)
  oObj.importDataObject(fileAttachments.length);
  var oDataObj = oObj.getDataObject(fileAttachments.length);
  attachmentsList.addItem(oDataObj.path);
  //console.println("The attachments size is...."+fileAttachments.length);
  //NoOfAttachments is the text field showing total no. of attachments
  NoOfAttachments.rawValue = fileAttachments.length+1;
else
//we need to associate each file attachment  imported into the document with a key
//then get the file attachment's name and add it to the drop down list
oObj.importDataObject(counter.value);
var oDataObj = oObj.getDataObject(counter.value);
attachmentsList.addItem(oDataObj.path);
NoOfAttachments.rawValue = 1;
thanks.
Balaji

Similar Messages

  • Error while Opening an attachment in the process.

    Hi All,
    I am facing an Issue here, I get an task assigned to me either to approve or reject, but when I try to open the attachment in  the request, It tries to opens in the new IE browser, and I get an Error message displyed, as Page cannot open in the new browser.
    I also can notice 500 error notice in the browser.
    Also,I can able to open attachments of other request comming to my TO Do list, but has a problem with the one mentioned.
    Since I am new to workbench server, not sure of the location of Log files and Temp files.
    Request  you to let me know the reason of this error and need to fix it too.
    Kindly answer my questions at the earliest or suggest with any link.
    Thanks,
    Satish.

    Possibly the attached might got deleted while in transit. Any information from the server log?
    Nith

  • Unable to open URL attachment from SBWP in CRM WEB UI

    Hello Gurus,
    Need your help please. I'm having some problem opening the URL attachment from SBWP via CRM 7 WEB UI (I used a Transaction Launcher for SBWP). The attachment is a Webdynpro application.  I am able to open the attachment in SAP GUI, but not in CRM WEBUI. This problem occured when we update the SP level of CRM 7.
    Here's the scenario,
    - whenever I click the attachment, it open a new window, which also happen even before SP level update, with the following information:
      Execute an Application on FrontEnd
      Please wait. You will be forwarded automatically.
      This page is included for technical reason.
      Execute program.
      Status: Displaying Office Document ..........
      After a couple of seconds, it will return to the Workflow Workplace screen.
    I have checked the workflow log and found no inconsistency on the attached URL.
    Immediate response would be highly appreciated. Thanks in advance.
    Regards,
    Edwin

    Thanks for the reply WD ABAP.
    Yes, I did try to use the functionality of Worklist and the URL attachment successfully opened. However, there are some limitation in its functionality as indicated in the link below that opted us to use the SBWP in CRM WEB UI via transaction launcher.
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWorklist-AdvancewithDialognotSupported
    We don't want to adjust the logic of our existing workflow at this point as described in the above link as it will entails end-to-end testing again. We just encountered this issue when we update the SP level of CRM 7.
    Hope there is an alternative solution without shifting us to Worklist.
    Regards,
    Edwin

  • Receiving, opening, saving attachment​s WARNING long post

    In some ways, this post is more of a reminder to myself on how to deal with attachments that I've discovered so far and hopefully it will help some other confused souls. I'm betting that like most people on this forum, your interest in the Playbook is partly motivated by how you can quickly and easily access files on the run to review them and edit them minimally and quickly (oops! forgot to change the boss' title in the memo now!) without resorting to hauling out a laptop, waiting for it to start, load the relevant office program, and then hoping your hotel wifi is strong and stable enough to actually load up a bloated email client to download far too many attachments. If that's your circumstances are like mine, then the PB is clearly a work in progress. I thought that Apple's iPad method of dealing with document transfers was crippled at best; the PB is a quest in hide-and-seek.
    Transferring media files (photos, movies, etc.). If you use Windows, I'm guessing you're doing okay. If you use a Mac like me, the BB Desktop will not work for such transfers. You can use wifi to bulk transfer media files from your Mac to the PB, but you lose the rich context (playlists, etc.) that you probably want.
    Opening attachments in Mail within Bridge. This one confuses me, but I suppose it works best for the corporate world - maybe. If I open an attachment from an email in the PB Bridge from within Mail, I could select an attachment and tap to open it. The relevant app (Reader, sheet to go, word to go, etc.) opens up a new window and the document can be read. At this point in the RIM life cycle, any documents within Bridge are read-only and cannot be saved/edited, which of course defeats any aspirations of on-the-fly editing. Nonetheless, they are viewable and gloriously so. But it was not obvious to me where the documents were now. If I wanted to, say, review them later, where would I find them? The most rational place I thought they would be would be the Bridge Files icon. However, if I selected Playbook under Bridge Files, there did not seem to be anything, and if I selected BlackBerry smartphone, it was not obvious either. By chance, I muddled through and discovered that under the smartphone choice, if I drilled down through my SD card directory to BlackBerry to documents to Bridge (ah! that's new!) subfolders, I would find all my downloaded documents in this new Bridge folder which is supposedly on my smartphone. Distressingly, I cannot find this same subfolder "Bridge" on the SD card on the smartphone itself.
    But this is the where we enter another dimension however! All of the above (2) ONLY seems to apply to emails sent to my GMail account that my BlackBerry - and therefore my PB - is also set up to receive within Mail in Bridge: given that I'm not an IT adminstrator, I'll just call them the non-corporate emails. If I open up an attachment from a message in Mail within Bridge that was sent through my usual corporate email system (in this case, Lotus Notes - yet another story), then the attachment ends up in SD card directory to BlackBerry to documents, but does not go into Bridge. I lack the knowledge or wisdom to fathom why this is different, other than it probably has something to do with the corporate side of things. 
    Opening attachments from Webmail (e.g. GMail). This one is also a bit bizarre. Although not very easy to find, at least all the attachments from (2) and (3) ended up in almost the same places on my smartphone SD card. But you cannot edit them.  So what if I opened up via the web browser? GMail works quite well actually. When I tapped on an attachment to open it in GMail, it would bring me to a new pane and ask me to save it (Save "1"). It does not necessarily open it however and sometimes I would just get a new blank window. But if I swipe down from the top, I could see the downloads option, and choosing that would show me the attached document and an Open button. Opening it would load the document using the relevant app (e.g. Word to Go) and swiping down gave me another save (yes!) option (Save "2"). However, I had no idea where the attachment was saved. It does not appear under Media, any Bridge folder, etc. Assuming the attachment file type is associated with the app however, if you now open, say, Word-to-Go, well, there it is (finally!). So, the bizzarre thing is that the first save (Save "1") that you are prompted with does not seem to actually save it: only after the relevant app loads it and then you save it again (Save "2") does the attachment seem to actually get transferred to the Playbook's internal memory (somewhere). I cannot figure out the reason why you have to go through this double step. But at least now I can edit them. So maybe the solution is to mirror all my corporate emails to another service like GMail or Hotmail? (I can hear the collective gasps of the security minded types!)
    Opening attachments from Webmail (e.g., GMail) within the Bridge Browser. This is maybe the ultimate compromise and combination of the above, and perhaps the situation most of us want to know about when we're on the go, get that ever important email about what was needed yesterday, don't have wifi access, but need to edit the attachment and cannot do it within the regular mail within Bridge. Dismally, this one is a fail - I get the error message "Bridge Browser: Cannot download corporate files." 
    After fumbling my way through an iPad and pretty much abandoning it for my workflow (although it is very good for other applications), I thought the Playbook would address almost of my needs, particularly since I've used a BlackBerry for the last six years. Personally, I think the PB hardware is fantastic, the form factor is great, and I do not care for or need 1000's of useless and trivial apps, but the implementation of what I consider core functionality is mediocre at best. I'm an academic - I'd grade the Playbook a C- (maybe even a D+ (ouch!) if I was in a grumpy mood).
    In the interests of fairness, I recognize that some of the issues may simply be the way my corporate parent runs its business. I toil away under Lotus Notes and use a BlackBerry Bold, OS5, Rogers network, and a three year MacBook Pro.
    If anybody has found other solutions or I've simply done something wrong, I'd love to hear. Otherwise, my abode will likely not be this Playbook's forever home.

    Hi fochtk... you're welcome (I think! this seems unnecessarily confusing!). I think you're referring to my points (2) and (3) from my original post. In summary, this is what I THINK is happening.
    On my BlackBerry Bold 9700, I have two email accounts, my corporate Lotus account, and my GMail account. There is one universal desktop that gathers both incoming emails into one so that I can view all messages at the same time. I imagine that the corporate server for this universal desktop therefore also have all these same messages because all the messages (GMail and Lotus) then show up in Mail via Bridge on my PB.
    A. When in Bridge - Mail I open up an attachment in a mail that was received by my corporate Lotus account, the documents show up on my phone's SD card (I think you mean the memory card, not the SIM card for telecommunications). If I check my Playbook under Bridge Files -> Phone Icon -> BlackBerry/SDCard -> Documents, the attachments are there, and if I check my file manager on my phone, the same attachments are listed in the same subfolder. Interestingly, I was given the option to download them too.
    B. When I open up an attachment in a mail that was received initially by my GMail account, the documents are not given the option to download. However, when I go to Bridge Files -> Phone Icon -> BlackBerry/SDCard -> Documents -> Bridge, the attachments from this GMail destined message are there! Weird, because I didn't create a Bridge subfolder on my phone's SD card, nor can I find a Bridge subfolder on the phone itself.
    SORRY. I stand corrected. I just went into Bridge - Mail to double check and guess what... ALL of my email attachments no matter what account they were sent to originally (Lotus or GMail) if they are accessed through Bridge get dumped into this Bridge subfolder that is supposedly located on my phone's SD card (situation B). Maybe situation A was for when I downloaded the attachment to the phone first: I've gone back and forth with this so many times now...
    Maybe this Bridge subfolder is a hidden folder tied to your phone so that if you lose your Playbook attachments cannot be accessed? But there seems to be no options to delete these downloaded files. UPDATE! Yes, I should have checked sooner. When you are accessing your phone, use the menu button to select "Show Hidden". It then displays the greyed out Bridge subfolder under Documents and you can then manipulate (e.g., delete) your files from there. This would make sense so that your files are as secure as possible via your phone. Still can't edit the attachments though... 
    Hope this helps...

  • Error while trying to open an attachment  sent through email in smartform

    Hi,
    My requirement is to send the smartform through email as PDF attachment.I am able to send the mail.But when I try to open the attachment I am getting error as 'Adobe reader could not open the attachment 'advance shipment notification.PDF' because it is either not the supported file type or the file has been corrupted(for example, it was sent as an email attachment and was't correctly decoded)'.What does it mean?
    Can anyone give me a proper solution for this?
    It's very urgent.Useful answers will be rewarded.
    Thanks,
    Hema

    Hi,
    Are you using any webdispatcher or some proxy? Is there any URL filter configured in between?
    If yes then I think you have to allow these pages.
    Regards,
    Vamshi.

  • I can't open the attachment to a mail. I must open it i FileApp. but it says that there no App installed that open this type of file. What can I do? I've got iPad 2, version 4.3.3 (8J2) My age: 69 and not so good at computers.

    I can't open the attachment to a mail. When I'm trying to open it in FileApp, I get the answer: "FileApp doesn't recognise
    this file type.Would you like to try to open in.....
         another App
         as text file
         cancel
    When I open it it in another App I get the answer:"there are no application installed on your device that can open
    this type of file.
    When  I open it as a text file, it's loading and loading.....forever?
    What shall I do?
    PS I'm 70 and not good at computers

    Hello Mats in Sweden!
    I'm from Austria, not so far away! The file that you've received seems to be a Windows Media File and you may need a special software for your iPad to be able to open it. I've found something HERE.
    If you open this link on your iPad it should take you to the App Store, resp. open it. The price for this app is 1,59 €.
    Greets from Vienna,
    Bärbel

  • Open PDF Attachment with Adobe Reader put GW to background

    Hello all,
    We have problems with opening pdf attachments from GroupWise client 12.02 with Adobe Reader 11.0.06. The attachment opens fine, but when opening the attachment, the mail and GroupWise client immediately are placed to the background in Windows. So when closing Adobe Reader, the user won't come back in the mail but in another application that was open and the user have to click on groupwise in the taskbar to go back to the mail.
    There is no problem with opening other attachments from other applications (like Word or Excel) or when opening the pdf with Adobe Standard. It happens with every user.
    They are working in a Citrix Xenapp 6.5 environment on Windows 2008R2 (it also happens if working in a RDS session)
    Any thoughts?
    Regards,
    Jaap

    In article <[email protected]>, Jhpoot wrote:
    > They are working in a Citrix Xenapp 6.5 environment on Windows 2008R2
    > (it also happens if working in a RDS session)
    >
    Are you trying to say that all of the apps mentioned are running as
    XENapps? If not please specify which are local vs remote.
    What is the client OS being run as that may also factor in.
    Worth trying another PDF reader such as FoxIT reader to better see
    which side is driving that behaviour.
    Andy of
    KonecnyConsulting.ca in Toronto
    Knowledge Partner
    http://forums.novell.com/member.php/75037-konecnya
    If you find a post helpful and are logged in the Web interface, please
    show your appreciation by clicking on the star below. Thanks!

  • Whenever I try to open an attachment I get "The download cannot be saved because an unknown error occurred"

    Title says it all. If I try to "open" an attachment, the download dialogue comes up and the progress bar begins to fill, then when it should be complete I get the message:
    "The download cannot be saved because an unknown error occurred
    Please Try Again."
    I can still save the files, but then I have to delete them (and that's just a hassle). Any help would be appreciated!

    Tools, Options, Attachments, Incoming. Then set to your prefered PDF reader.
    An update has reset this to the internal PDF viewer rather than sticking with the one you had before. This reader does not work on my machine.

  • Is there a way to open a zip file received via email on the iPad? I tried and a message popped up saying mail cannot open the attachment.

    Is there a way to open a zip file received via email on the iPad? I tried and a message popped up saying mail cannot open the attachment.

    You need a third party app. Take a look at some of these on this Google page.
    Open zip files on iPad

  • Error while opening PDF attachment sent via mail

    Hi,
    I am attaching PDF file to PO in me22n and sending the same file as attachment in the mail to the vendor using class CL_BCS.
    The mail is sent to the vendor successfully and they are able to successfully open the PDF attachment. But in some cases the mail is successfully received but while opening the attachment it is giving the error as file is corrupted.
    Please help me to resolve this issue.
    Thanks and regards,
    Jayashree

    Hi,
    I would like to know what font type, you are using in the forms.
    Ideally it should be HELVETICA .
    If you are using any other font in your style/form,try changing it to HELVETICA & Test.
    Also Check the OTF data at the call of gen. FM,before converting it to PDF.
    Regds,
    AS
    Edited by: abheesawant on Oct 12, 2011 7:48 AM

  • Problem while opening PDF attachment in Inbox

    Hi all,
    I am sending PDF attachment through email to inbox.
    When am trying to open PDF attachment i am getting error-
    'There was an eror opening this document.The fuile changed and couldnt be open'
    When i click on attachment some bytes are getting transfere essage is displayed in lower toolbar.
    Please guide to resolve this problem.

    No reply.

  • Error while opening an attached FI Document in transaction FB03.

    Hi Gurus,
    I have to open the attached documents in trasaction FB03 but I am recieving the following Error.
    ERROR: Error calling application via OLE ALVIEWER.APP.
    Thanks and Regards,
    Amit.

    Hi Amit,
    Thanks for the help.
    I had one more problem now.
    A link is being created in the tcode FB03 when I execute FM ARCHIV_CREATE_TABLE, but when open that link there is no data present inside the document.
    If you have an example for the same, It will surely be a great help to me.
    Please help.
    Regards,
    Amit.

  • When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    gonsa47 wrote:
    When I open it in pages or word the correct company logo appears.
    Does the mail app display whatever is in the document without the ability to differentiate between hidden or non hidden images?
    The mail app will not display fillable form fields in PDF files that can be seen in real PDF apps. I say real PDF apps because the form fields in PDF apps will not appear in the iBooks app either. IMO, iBooks is not a real PDF app.
    So, I would say that the mail app cannot differentiate between hidden and non hidden items

  • Is there any wat to print attachments in a PDF Portfolio without opening each attachment individually?

    We have a large PDF Portfolio with many attachments and would like to print those items all at once without opening every single attachment. I would think think that this is possible considering I took the files from outlook 2003 and you are able to print an email and its attachments in that program. If anyone knows how to do this, I would appreciate the help.

    Laura_M.
    27 posts since
    Apr 10, 2009
    Currently Being Moderated
    1. Nov 13, 2009 4:54 PM in response to:                                     ace&gary
    Re: Is there any way to print multiple attachments from an Adobe PDF Portfolio without having to open each attachent individually?
    Portfolios only support the printing of PDF files (more specifically, PDF files whose security permissions allow printing). You can print all PDF files in a Portfolio without opening them all simply by opening the Portfolio and clicking on the print button in the Portfolio toolbar. If desired, you can also limit it to a selection of PDF files.
    Unfortunately non-PDF files will need to be opened and printed individually from their respective apps.

  • Can't open .zip attachment in Adobe Reader 8.1.2

    Dear all,
    In Adobe Reader 8.1.2 I can't open zip files attached to pdf files any more. I followed some hints in the knowledge base but none of them solved my problem. The registry editing suggestions for rel. 7 doesn't apply to version 8.1.2. and setting the trust option didn't help as well.
    In brief what are the steps in order to allow reader 8.1.2 to open zip attached to pdf files???
    Thanks in advance for any helpful suggestion.

    > The registry editing suggestions for rel. 7 doesn't apply to version 8.1.2
    You can use the suggestions for version 8.1.2. Search the registry for cDefaultLaunchAttachmentPerms.

  • Terminal Server - Opening & closing attachment freezes GW

    Hello,
    we are running a Terminal Server Farm on Windows 2008 R2 with GroupWise 2012 SP2.
    All of our users have problems when opening an attachment (PDF, DOC, XLS...) from a mail and closing the opened Application (Word, Acrobat Reader, Excel....). After closing the Application GroupWize freezes for some seconds. If you click anything in GroupWise in this time, GroupWise crashes.
    You've to wait up to 10-15 seconds until you can do something in GroupWise.
    Our Users are really "nerved" about this situation. This problem still exists an all of our Terminal Servers.
    Any Ideas what we can do ?
    Regards.

    Originally Posted by konecnya
    In article <[email protected]>, DavudOeden wrote:[color=blue]
    I don't see this on the single Windows 2008 R2 Standard TS with GroupWise
    2012 SP2, client build 108211.
    This does feel more like a Windows/ Windows app (GW client or other)
    issue, so I would certainly check the Windows event logs for any clues.
    - If you are at the primary console of any of the servers (i.e. Physically
    at the box or vm equivalent), does the same problem still happen?
    - Doe the POA logs show anything when this happens? Especially if you turn
    up the logging to verbose.
    - Try disabling the anti-virus for a test in case it is part of this.
    - Make sure the TEMP folders are getting cleared periodically.
    - To eliminate the issue of crud collecting in profiles, setup a new user,
    both GW and on the Terminal Server, and see if it can be reproduced with
    those ID.
    [color=blue]
    Hello,
    thanks for you're reply.
    - The Problem still happens on the "physical" console.
    - The Windows Event Logs does not show anything. It's only a freeze which
    can take up to 10 seconds and more. After this time, GroupWise works fine again.
    Most times it takes only a few seconds.
    - The Temp Folders are cleaned at logoff ("C:\Users\USERNAME\AppData\Local\Temp\xxxxxxx" ).
    There are up to 4 GroupWise Directorys (XPgrpwise, XPGWSync, XpGWViews & XPNotify). They are not roaming.
    - I've tested this with an absolutely new created user. Same Problem.
    - Tested on an absolute new TerminalServer. Same Problem.
    But what I figured out, if there are only a few users connected to the server, the problem is not noticeable.
    The more users are connected to the server, the higher the possibility that this freeze problems occur.
    I'm going to check the groupwise POA logs, but I dont think that there will be log entrys about this problem.
    I've installed yesterday the groupwise client build 112764. I'm going to test today if the newer build
    makes the same problem. At the moment there are not enough users logged in to test it.
    Kindest regards for your tips,
    I hope we're going to figure out the problem :-)
    D. Oeden

Maybe you are looking for

  • Is it possible to create a smaller version of a photobook that's already created?

    I've created a photo book that contains about 150 images. While I'm happy with it, I think it's too expensive for most of my family and friends to want to purchase a copy. Can I create a Save As version from my existing book to make a new book with f

  • HT5498 Using the 30 pin adapter unable to access music on the car

    Using the 30 pin adapter from mini iPad unable to access music in the car

  • In service order

    what is logic to put purchase group in service order? where we do setting of purchase group for service order in config?

  • Serial Number is TOO short to Enter???

    I just bought CS6 Photoshop Extended Student/Teacher Edition because I didn't want to pay for the newer CC version. So I've done all the forms and sent them away. I've received an email that said ok that I am a student and that I can have it, all goo

  • Sup 720 unlabelled Red LED

    I have a pair of 6513s with a pair of Supervisors in each and on one of the standby (Sup 720) front panel is a RED LED. This LED has no label and is just to the left of the Console port. I have checked reference documents and this LED is not mentione