Can the Box File Picker display thumbnails, or must use API? - box-api

I have a requirement to present files from Cloud storage (Box). The File Picker looks great and easy. However I also have a requirement to display thumbnails. I don't see this available in the File Picker. Would that force me into writing a custom File Picker utilizing the API?

The Box File Picker appears to simply be a thin javascript wrapper around a PHP app hosted by Box. I think you're going to have to write your own.

Related

How to open/display text file content coming from backend in modal window using angular 7

I am new to angular and looking for a solution where I can select a text file from a list of text files coming from back-end using a checkbox and display its content on click of a button let's say [View Content] in modal window or a dialog box.
The meta-data of all files visible is to be displayed in a table at front-end.
The backend API fetching the file details just provide the id,URL,fileName in json format displayed in a table and files are stored in the file repo lets say google drive.
Any working solution link will be helpful to understand the implementation.
Just make a request and get the file by url using angular http client. And then you can use some library to display it according to the file type.
PS: Image can be fetched directly.

Display PowerPoint presentation within a Windows Store App

Is there any way to read and view a PowerPoint presentation within a Windows Store App?
What I want to achieve is to open the .pptx file from the computer and display the slides inside the app. Basically, it would be like a PowerPoint viewer.
What I figured out with extensive searching is I can use Aspose.Slides API to convert the slides to images and then display them to the user. But firstly, Aspose.Slides is not available for WinRT and secondly, it is not free. The OOXML is really complicated and I can't find an approach to achieve this via OOXML. What could be a work around to the problem? And can there be a way to manipulate the slides?
I haven't seen a WinRT API for PowerPoint, but if you found one for .NET you could easily write a web service that would take a ppt or pptx and use the API to convert it to images or something else that you can display.
If you have some control over the presentations - you might also consider saving them as XPS which is WPF/XAML based format, but even then you would need to do some more work to process it to a XAML format compatible with WinRT/XAML and might still have some problems loading custom embedded fonts etc.

Load styles in Google Maps Wizard

Im using the Google Maps Wizard to customize the color of some maps I need to embed on an website.
I got some JSON that loads ok but if I need to make a change I need to touch the code and load the map every time I change a value to see the results.
Is there any way I can load the styles I already have on a .js file into the Google Maps Wizard or is there any third party tool that allow me to do that?
http://www.mapstylr.com/ is a better solution. It has a load option so you can paste your current style and continue with it.
Besides, it lets you save the map and publish it. They have a showcase to browse and download styles other people did.
Just stumbled upon this Github project which is a version of the original styled maps wizard with json import functionality:
http://instrument.github.io/styled-maps-wizard/

Fill form pdf with flex

I'd like to fill a pdf form with flex.
Data are on my air application and I want to use those to fill a pdf file store on my computer.
Do you have an idea to do that?
thanks
For PDF generation I've used AlivePDF. It works well once you figure it out.
Have you tried AlivePDF with the alivepdf-template extension (they're both available on Google Code)?
Here's a sample of how to use the extension: http://gonzalo.huerta.cl/?p=3

How do i allow the user to select more than one file for upload?

Gmail just released an update to their interface allowing the user to select more than one file for upload by using the CTRL-button. How do they do that? You can read about the new feature and see a screen shot here:
http://gmailblog.blogspot.com/2009/02/updates-to-attachments-multi-select-and.html
You will need to find flash-based sollution, like Google did with Gmail. You can try this jQuery plugin that offers exactly that: jQuery File Upload Plugin
Adobe Flash Player.
Here's a good library that I used: SWFUpload
Of course this is a JavaScript library, and not a jQuery plug-in, making it much more portable.
Take a look at RFC 1867 It defines how to upload files over HTTP using the multipart/mixed encoding. You can use the Apache Commons FileUpload library to do this in Java. I don't know how Google does it, but you can manage the multiple selects with JavaScript processing in your page.
Not the method Gmail uses, but the following link, combined with some jquery you can allow an unlimited number of files to be uploaded at the same time: Link
Google isn't using Flash, but actually some clever javascript (well, that IS what they're all about it seems :-) ). Using javascript and css, you can create a file chooser that lets the user select the file to upload. Then, you use a hidden iframe. The act of posting the form with your upload file targets the hidden iframe so that the result returned from the server on success goes into that hidden iframe. Using javascript, monitor the document body of that iframe to know when the file is uploaded.
This link appears to be a quick example of the basic concept: http://www.seemysites.net/projFolder/uploader/