Scenario: user is able to upload multiple files by drag & drop or file dialog, the uploading and tracking works fine, but now the user wants a retry function.
situation:
user tries to upload form
form gets rejected for lack of content
user fixes form while still in web-session
user saves form that is on local computer
user clicks retry
at step 5 I am having trouble understanding how i can retrieve that changed file, i have a file object that contains the original file info, ive tried creating a new instance of a file object using the file name, but im beginning to think theres not a way to accomplish this because i would be programatically accessing the users computer to update the file.
any thoughts or help would be amazing!
would be programatically accessing the users computer to update the
file.
You can't do this programatically . File input is readonly one way for security issue. You can only reach with clicking it
Related
I am unable to submit my app for review in the Microsoft app store, and when I upload my csv and resources, it accepts them and says complete, but the submit button is still greyed out and unclickable, then The page reloads, and it still says incomplete.
Here's a link to the image : https://imgur.com/VY0Evsf
CSV file doesn't complete everything, you need to go into your Store Listing (English) and make sure every field is filled properly. There surely is something missing in there, that is why it is incomplete.
I am developing a windows store desktop app which needs one time registration. If the user has not registered, ie. when the app is starting for the first time, I want to display the registration page. And if the user has already registered, I want to display another page.How to do this?
I would use the LocalFolder to store a flag file.
Every time the app starts looks there for a file, if it is not there show the user the registration page and create the file. If the file is already there you can be sure the user already registered himself (if you save the file after the user successfully registers).
EDIT: LocalSettings looks like a better place for something that small. You don't need it to be a file, it is just a setting.
I'm developing an intranet site for my company, and part of the task it has to perform is to hold a database of files and their locations as submitted by users (the files are on a network drive and people viewing the database can click links to the files to access them). I have it working now using a standard text input field where the user enters the path to the file, but is there a way of giving the user a Browse... button to choose the path instead?
Using the type="file" option isn't suitable as I don't want the actual file submitted, and it only gives the filename, not the path for security reasons. But that's the sort of thing I'd like.
Thanks!
No.
Browsers aren't designed to expose details of the client file system to the server.
Build your file browser server side instead. The server should be able to access the same network drive.
Building a workflow that allows a file to be dynamically moved via user input (renames, the whole works). Using the Service Action, a web service will rename and move the file based on user input fields and some other behind the scenes processing. However, once the service runs and the window closes, the file is move but the user experience goes bad. The file keeps refreshing in the preview pane, redirects back to the root, and nothing works right until you navigate away.
The ideal solution would be the for the file to be moved and the user moved to the next file in the folder (or at minimum kept in the folder) as we're looking at a "processing" folder.
Is there any ideal best practice? Do I simply just need to copy the file instead of move and then run a delete routine after-the-fact?
It may be best for you to contact Box via email at API at Box dot com to explain better what your application is trying to accomplish. Generally describing the business case helps us resolve questions like this more quickly.
I have a requirement to create a job where a web upload (IE a post with a file) is going to be required. Is there a way to do this? (I've tried searching the web). Note that the files in question could be very large.
Workflow (for clarity):
User clicks build in job menu, user can set parameters and make an upload, user clicks submit and job is built with that file as a source.
Other use case:
The job is started remotely with a POST operation to upload the file and set the parameters.
You can create a Parameterized Build in which there is a File parameter for the user to upload their file.
File parameter allows a build to
accept a file, to be submitted by the
user when scheduling a new build. The
file will be placed inside the
workspace at the known location after
the check-out/update is done, so that
your build scripts can use this file.