APEX Dropzone Plugin: Drag and Drop from Lotus Notes doesn't work - drag-and-drop

I installed the Dropzone 2 Plugin in my APEX application. It works fine, when loading files from Windows Explorer via Drag and Drop, but if I try to drag an attachment from Lotus Notes it doesn't work.
My code is very easy. It is just a Dropzone 2 region in the Content body of a page. I tried both Upload mechanism methods (normal or chunked). When I use chunked nothing happens, using normal leads to a database error. It seems that the file is empty and only the picture of the attachment in Lotus Notes is dropped.
The console shows:
code: "AJAX Callback (pData) ParseError"
message: "uploadDzFiles Response ParseError"
status: "error"
The apex_collection is empty.
I tried the same in the demo application from Daniel Hochleitner and it is the same result. Is this a bug in the plugin or a problem from Lotus Notes?
Does someone knows a workaround? Exists another tool for that issue?

Related

TinyMCE 4.3 - how to get Image Tools to save edited images as files

I don't manage to get the Image Tools plugin to actually upload the images to the server. I upload images with the jbimages plugin with no problem. But when a picture is edited with the Image Tools, although there's the uploading bar, which gets to 100%, it seems that it's only uploaded as a blob. The page calls the tinymce.activeEditor.uploadImages() function when submitting the form data, but it doesn't work.
I use the 'postacceptor.php' file from the example (defined in 'images_upload_url') and the 'images_upload_base_path' is defined as well.
The files are not uploaded to the server, and the img src remains a blob.
What could the problem be?
Thanks!
What debugging have you done in your PHP code? Is the code being triggered? Does the file appear in the posted content? You need to narrow down where in the process things are failing.
Is the issue that TinyMCE is not posting the edited image or is the issue that the image is posted and the PHP code is not properly saving the image and returning valid JSON?
How did you configure TinyMCE?
Does an edited image get posted to your server code?
What is in that form post?
If you disable the jbImages plugin does that change anything?
Without more details it will be very difficult to help you figure this out.

jQuery File Upload Using Siebel OUI in IE11 Does Not Work

When I attempt to drag and drop a file onto a Siebel attachment list applet, IE11 is opening the file instead of uploading/creating new record in the applet. I can see the drop zone tag "Copy" when I hover over the applet but when I drop the file it gets opened in the same browser window. Expected result should be that the file is uploaded and added to the applet in Siebel without any prompts.
Figured it out, the browser was running in elevated mode for the dedicated client. The drag and drop does not work for local dedicated client unless you are running IE in non-elevated mode. Also, the new button on our applet was invoking "NewRecord" method instead of "NewFileAttachment" as it does in OOB Siebel account attachment applet. So I changed MethodInvoked for the New button to "NewFileAttachment" and ran the dedicated client in regular mode and drag and drop works beautifully :)

Disable/Deactivate file preview on shared/published files in Alfresco

I want to fully disable the preview of any kind of file for shared/published files in Alfresco.
Alfresco Community v4.2.0
(r56674-b4848) schema 6033
Spring Surf and Spring WebScripts - v1.2.0
(Release 1331)
In Alfresco, you are able to share/publish any kind of file. By sharing/publishing the file, you will get a link to access this shared file. Other users like clients/customers for example are able to view the shared/published file and can download it via a link like this:
https://alfresco.example.com/share/s/9QJiV6PNSAqAlxZDnFVQlQ
My problem is, that I hate this preview regarding some browser and preview display issues. Some kind of files like ZIP-files aren't able to be displayed in the preview and this causes an empty preview, which sometime causes an missing download button.
I also just don't want the preview. Well, how can I disable/deactivate the whole preview (only) for shared/published files, that the preview does not appear, if I visit the share-link?
Thanks in advance!
Override in web-extension alfresco/site-data/pages/quickshare.xml
And remove the sub-component with id web-preview
BTW: you know if you disable the preview users won't have any ability to download or view the file.

In Linux: Importing of Existing PDF Forms and Adding Submit Buttons

I'm trying to save post data from a PDF file to my web server. I don't have commonly available Windows tools, because I'm on Linux.
When using Linux software like Scribus, I am not able to successfully import the existing PDFs correctly... these are often critically accurate legal documents, which must appear exactly the way they've been designed.
I've used a web application (PDFecape.com) to add form fields to the PDF... I've autopopulated these fields on the server before showing the user. This application does not allow for a submit button.
I then used "Wine" to run Windows software called Soda PDF to add a submit button and a URL for submission.
It uses Javascript to submit the form, which from what I've read, seems to be the right approach. However, the server is not being pinged by PDFs when the button is pressed.
The URL for submission is a simple PHP script that saves post content as a PDF and sends me an email.
I've tried it in Ubuntu's built in PDF document viewer, Chrome's built in PDF reader, and have download Adobe's Acrobat Reader to try submitting with that as well.
In each case, the server is not being pinged.
Is there another way to add a submit button to this form? Any other ideas?
Thanks,
Jason Silver

Lotus Notes email as an attachment to another email

This is in Notes 8.5 environment.
I just wanted to know how to attach an email to another email as real attachment not a "Document Link".
I intended to attach an email, so I drag & dropped an email to another email's body but this turned out to be a "Document Link". This is an issue when I deleted the original attachment(an email in this case) and want to open the attachment again.
Tried to drag & drop the email to desktop and attach that through the "Choose file" dialog, didn't work either.
So how can I do that? I'm trying to get the attachment programmatically.
The only way I know is this:
Reassure that preferences | Basic Notes Client configuration | Drag and drop saves as eml file is checked
1) Drag your email to e.g. your desktop or to an explorer instance (will be saved as an eml file).
2) Attach this file to your opened email by either selecting it with the paperclip menu item or drag 'n drop the file into the opened email.
Open msg
Save to desktop
Open new mail
Attached *.eml file on desktop
Sad to say, this is the only way I know which sux because in Outlook, you just need to copy and paste.
Answer from Chris is not possible
because there is no save mail option
(at least in version 8.5) in LN
It is possible, File > Save As
answer from Alexey creates MS Outlook eml files, so if you don't have Outlook e-mail client doesn't help.
Answer from Chris is not possible because there is no save mail option (at least in version 8.5) in LN.
So one of the possible solutions would be to hold control, select all mails you want to attach, right click on the selected mails, from the menu select Forward and it will open the new message with all selected mails in the body of the new message.
You can slecet sent item /email and drag to desktop , it will automatic created new file on desktop. Then you can attach and send it in to new emails.
I have recently encountered the same issue and hopefully what follows will be helpful.
In Windows, the default program for opening .eml files is set to Outlook. Every user of Lotus notes should take the steps to have .eml files defaulted to open via Lotus notes.
Start menu--- Defaults programs---Lotus notes-- and check .eml--- then save.
After performing this, Lotus notes will be the default to open these attachments.
I have been trying to do this for a while also.
Here is what I do now.
Highlight the email you want to create as a file.
Click on Create. Hover over Special, then click on Link message.
This will open up a new tab for the link.
At the bottom of the message is a small yellow piece of paper icon.
Copy this icon and paste into your message like you would any other file.
It is tiny, so I put a statement like "see email attachment ---->" in front of the icon.
You might like this way. Not sure though.
Tested vith Notes versions 6.5.x and 7.0.x
From your Lotus Notes inbox
Open the message
Click View > Show > Page Source
Copy all the data into a text file and save the file with .eml extension.
Create a new message
Attach the .eml file(s) and send the new message
Hop this helps. I have no client on my current machine but will test from home on 8.5.1
Copy the mail as a document link (right click on the mail and you should get this option) and paste it in the new mail. This worked for me
Talking about IBM Notes v. 9 is pretty easy.
To choose the e-mail to be attached and drag until the new e-mail.
Click on email which you want to forward
Edit - > Copy As -> Document Link
create new mail and paste.
it will work
If you are using Lotus Notes V9.X, it is better to drag the mail to desktop as .eml and then attach it to the mail. Safest way so far.
Although probably not exactly what your looking for and you probably don't care at this point since the question was asked 5 years ago, one method is to use "forward".
Go to your inbox or wherever your messages are and select the 2+ messages you want to send than simply click forward... all messages get combined into 1.
I might be very late but encoutered this problem sometime before and saw this link.
Thanks . Please check this shall work.
Goto Create menu -> Section--> Copy email to be inserted