I want to let users fill some metadata information i have created while uploading files.
I use file entity and media module and i have created a few fields for the image file type. For instance some of the fields are : Location, category, Title etc.
I can see and complete those fields if i navigate to "admin/content/media". But i would like users to be able to view and fill those fields when they upload their images.
I can't find anything in permissions table for that or any other setting. Can someone give some light?
thank you in advance
I managed to find something that works. Actually, i downloaded the dev versions of media module (link) and file entity module (link). The new versions enable users to edit the custom fields when they upload new files.
Hope this information helps someone else too!
Related
My app has a custom Document type and create, edit, and save the Documents with custom extension. For saving I serialize the document and write Data to a file URL. For retrieving I use FileManager methods.
I want to save a custom value with File which I don't know how to do. I want to keep the File status as editing or done. When user create a new Document it's default status should be editing and he can make the file as done manually inside the app. I don't allow to edit done files , user can only view them.
Can I use appendOnly: FileAttributeKey for this purpose, assuming to make the file read-only if user marks it as done?
I also found this answer about extend file attributes Write extend file attributes swift example.
Is this a recommended way by Apple? If above attribute cannot help I guess I'll have to use extended file attributes.. please advice
Thanks in advance
I have a field to upload a file to my form. Now I want to be able to view it without downloading the file (it's a photo and no editing of the file is required). When I do download the file I would like to have it keep its original name instead of being renamed to a generic name (ex. original_name.* stays original_name.* instead of becoming serial_number_22.*).
I have the following.
In my .py file:
'file_upload' : fields.binary('Sales Contract'),
In my .xml file:
<field name="file_upload"/>
With kind regards,
Please have a look at this module Document Management System. This helps you in uploading and associating files to individual records. And separately under knowledge menu you can organize, view, share files and folders and sharing via ftp is also an additional option.
I am sorry if your purpose is different. I thought this may help you.
If it's an image, you can use widget="image" to view it directly after upload.
Is there anyway to restrict the attachments of types - .bat/.exe/.bmp, etc to be restricted while user trying to upload them in JIRA.
I tried using the Servlet-Filter plugin module in JIRA. But I am not able to get the URL at the time of uploading the attachment. Also I am trying to listen to the Attachment event for an issue.
Is there any other alternative of restricting these file types.
Any help will be much appreciated.
Thanks!
Well there was an Attachment Filter available but I am not sure if it is still relevant - it actually seems that it is no longer relevant also if I recall correctly it was for
Confluence. So you're left with writing a custom plugin for this.
You could implement com.atlassian.jira.issue.AttachmentManager, the default implementation is com.atlassian.jira.issue.managers.DefaultAttachmentManager and wrap it so that you check what's going on with the upload - filetype etc. But be sure to check the mime-type - not only the file name and/or extension. Check this out.
I have recently been assigned the project of reviving our old magento site, which is for a bookstore, version 1.4.1.1. The first order of business that I need to do is to update the inventory on the site, which has about 95,000 items. What is the best way to do this? My inventory is all in a mysql database currently.
Secondly, I need to upload pictures for all of the entries, is there a way/ place that I can specify a base url for the picture, and then just add the specific location (ie bookpic.isbn.gif where the isbn will change based on the isbn of the book)?
I saw a previous post from over a year ago that listed good reference sites, where can I go for updated information?
Have a look on cutesave for an easy implementation and import for simple-products:
https://github.com/magento-hackathon/cutesave
https://github.com/magento-hackathon/cutesave/wiki/Cutesave-Tests
Good luck
Another solution I've used is a dataflow profile (Admin->System->Import/Export) to import products from a flat file. I exported the products from another database to a flat file, then used dataflow to import all products.
I referenced an article that talked about modifying the profile to add an extra step to the import process where it downloads the image from a supplied URL in the flat file and saves it to the media/import directory before it attempts to check the media/import directory to import an image for the product.
I need to save a file from iPhone/iPad to SharePoint site. When I tried to upload content with the same name of one document that actually there, it succeeds and even file size is shown as that of the new one. But content remains as the initial file as itself.
Do anyone have a solution for this?. Please let me know if something is there.