SOLVED - I have an upload component in section of an Orbeon form (in Liferay portal). Users have to upload a document here in the first stage of the workflow.
Later in the workflow, when this section of the form is in read-only mode, the upload button can still be used to upload something. Afterward uploading there is no evidence in the form of any upload (no file name), either of the original upload or the one later committed in read-only mode.
On clicking "Download" the original upload is downloaded, not the file that seemed to be uploaded when in read-only mode.
Is this a known bug, is there anything we can do about this?
Thanks in advance.
Yes, this is a known issue, and it is fixed in Orbeon Forms 4.5.
Related
Can you guys suggest any method for my below problem?
I am developing an application which requires users to download an excel file, modify some content and upload exactly the same file they just download.
The requirement started from the fact that there is macro inside the excel file (which can be changed often), hence I try to make sure they always download and do works with the latest version. Then have to upload that file again.
My system is a web-based application for your reference.
I have read Google Drive API documentation but I'm not able to understand the following:
Can files and folder be created and modified on drive in background of app?
My application needs working of drive in background.
For Files:
If you will check "Working with File Contents":
Lifecycle of a Drive file
The Drive Android API lets your app access files even if the device is offline. To support offline cases, the API implements a sync engine, which runs in the background to upstream and downstream changes as network access is available and to resolve conflicts.
Check this image from the document.
The lifecycle of a DriveFile object:
Perform an initial download request if the file is not yet synced to the local context but the user wants to open the file. The API handles this automatically when a file is requested.
Open the contents of a file. This creates a temporary duplicate of the file's binary stream which is only available to your application.
Read or modify the file contents, making changes to the temporary duplicate.
Commit or discard any file content changes that have been made.
If there are changes, the file contents are queued for upload to sync them back to the server.
Google API does support running in background. For folders there is no documentation regarding creating of folder can be done in background, but I think same implementation can be done.
I hope this helps.
I have set up a webdav folder that I can access thorugh chrome and edit files and save them back to the server, for example, I can open a word doc, edit it and save it back.
When I come to open a pdf, it wont save back to the server and downloads a copy of the pdf instead of the original.
Is there a way of enabling this to edit a pdf?
My end goal is to be able to open a pdf, add comments/highlights and save it back to the server, through my browser.
Thank you
Edit:
I have set this up through Apache 2.4, no plug ins through chrome, I have mapped a network drive to the server folder where I can open and edit files. Except PDFs, I would like to add comments to a off but when I open one the option is greyed out and when I try and save it after opening it tries to save to my desktop.
I'm not sure i've got your use case right, but if i've understood you correctly you have a link in a web page to a PDF which you're viewing in chrome. You click on that link and the PDF downloads to a temp file from which it is opened. If you edit and save those changes are simply saved to the temp file on your local PC. Is that correct?
If so, then this is simply normal behaviour for links in web pages. There is absolutely nothing in the HTML standard which suggests links should be opened by an editor with knowledge of the source location.
What you really want is for the link to launch an editor program which retrieves the remote document in edit mode (probably locking the remote resource) and then have edits saved back to the server. For this to happen there generally needs to be some special interaction in the browser. In Internet Explorer this is provided by the sharepoint dll and special script code. I think there's a plugin for Chrome which does the same thing, although differently.
I havent used the Chrome plugin, but i think this might help - https://code.google.com/p/npapi-msdocs/
I wanted to add pdf file in my articles. I have added a custom form field with type="file" in the article manager by hacking the xml and artical.php file in administrator/component/com_content directory.
But I am not able to save the uploaded files on server. What causes this?
Also I used the field type="Media" but it does not display pdf files?
I had a requirement a while back where with every articles they wanted to be able to attach files for download. The trouble was that the end user had to be able to do this and they were not very tech savvy. I used this Joomla attachment extension and it has worked like a charm. I would recommend it.
In your case I would check the directory where the files are being uploaded, see if it has permissions that would allow files to be uploaded. Can you upload images fine and attach them in an article?
Update
This attachment does not work with Joomla 1.6+, the developers do have a plugin that is in Release Candidate stage that you can use.
I'm showing an image in image control. For that I have created File Upload control of TextBox and button. And storing image in projects Images folder.Image is uploading very well. But it always needs to include in project then only I'm getting image displayed. Is there any solution to overcome this problem?
Be aware that the Silverlight application is running LOCAL in the user's browser. It cannot (easily) access files on the webserver that you upload. Files you include in the project work because they are compiled into the dll which is downloaded to the browser.
To dynamically access files uploaded to the server you need to implement some kind of WCF service to send it back. I don't know if you can easily "download" a file into a Silverlight App with a URL. Silerlight is pretty tight on what you can and cannt do...