How does one create multiple instances of filepicker (each one using a different account) on one page? - multiple-instances

I have a JS library that uses filepicker to upload files to our service. We have a customer who is already a filepicker customer (using it on his site). When he embeds our JS library our instance of filepicker collides with his.
How does one create multiple instances of filepicker (each one using a different account) on one page?

Related

How to programmatically get a Shared Link for end-user access to Fusion Team items?

Using the Data Management API for use with Fusion Team, we have successfully done the following via .NET:
Retrieved the necessary 3-legged authorization token.
Created storage in Fusion Team.
Uploaded files to the storage.
Create corresponding items for those files.
What we need at this point is a programmatic way to retrieve a shared link.
If we go through the online UI, the Share feature can create a shared link that can be used to share the item with anyone (without the need for any authorization at that point).
![Text]()
Is there any programmatic access to the Share mechanism from the Data Management API, or one of the other available API's?
If there is no available API support for generating Shared Links, can a Shared Link be pieced together from available information such as Project ID, Folder ID, Item ID, and so forth?
Utilizing the resultant Shared Link (generated from the online UI) into a browser, we have noted that it goes through a couple of changes. As an example, a link similar to this is presented to the user as the Shared Link:
https://a360.co/2Xyz6Kb
(not a real link - just an example)
And if you plug that into a browser, it first changes momentarily to something similar to this:
https://myxyz4.autodesk360.com/g/shares/SH56a43QTfd62c1cd968b6b8eedb8c9de08a
(not a real link - just an example)
And then that eventually resolves into this:
https://myxyz4.autodesk360.com/g/projects/20200728319292106/data/dXJuOmFkc2sud2lwcHJvZDpmcy5mb2xkZXI6Y28uYlJ1RjFMZ2RTRktKYXlJZjdqRnNaUQ/dXJuOmFkc2sud2lwcHJvZDpkbS5saW5lYWdlOlRhcUJhRjM1VDdTcFl6YUxXbXNiNXc?show=viewer&redirectSource=shared
(not a real link - just an example)
Is there a way to leverage the information we have access to in order to construct those sorts of Shared Links?
Unfortunately, that functionality is still not exposed, though it is being considered for the future.
Currently, you would need to create your own website that would take care of making the model publicly available. E.g. something like this:
https://forge.autodesk.com/blog/auto-publish-models-website

how to read images form a cloud shared services like google drive or other

hi i am working on project in which requirement is i have to upload images on some cloud services like google drive or other, and it generates a URL of images like http://example.com/images/1.jpg etc and share this URL with any one.
I already tried this method (but it not fulfill my requirement) :
How do I display images from Google Drive on a website?
If you have some image files, just upload them to a public folder on
your Google Drive, copy its folder ID from the address bar (e.g.
0B0Gi4v5omoZUVXhCT2kta1l0ZG8) and paste it into a form at GDrives,
then choose your own alias (e.g. myimgs) and voila! You can access the
images one by one using e.g.
http://gdriv.es/myimgs/myimage.jpg
If you want to embed a whole folder on your website (in a frame), you can use one of the following URLs, replacing [folderID] with your
own ID:
http://gdriv.es/myimgs/
https://docs.google.com/folder/d/[folderID]/preview?rm=minimal
https://drive.google.com/folderview?id=[folderID]
If you prefer to get the file list in XML or JSON, you can use YQL.
Note: You can use Google+ Photos to host ans embed your images as well.

Transfer a google Drive to a different user in a different subdomain

I am looking to transfer users from one domain to a different domain within our Google Apps. We don't want users to manually move their files and we cannot have our admins transfer them (we have 50K + users to move).
Is there any way within Google's API's that I can program a method to transfer files within an executable? Please if there is a way to do it in .Net that would be most desired.
See the permissions.insert() reference. There's a .Net sample on that page that should get you started.

Multiple File Support in Google Drive API is not working any more

We are using "Multiple File Support" ("Allow users to open multiple files using a single instance of this application" checkbox in Google APIs Console) to allow our users to tick multiple files in Google Drive and open them on a single page.
However this feature seems to stop working recently. It looks like the second file ID is not passed in the URL any more.
For example, if I tick two files, the redirect URL still contains a single ID in the state parameter:
{"ids":["0B7r4-DNJuWqNT0hhb0lxMnhtZ0k"],"action":"open","userId":"USER_ID"}
Has something changed related to the way of opening multiple files at a time?

Box.net URL Schemes

I'm writing an iPhone app, MyApp, which needs access to documents on and off-line. My users are already managing these documents (pdf's, movies, etc) via the Box iPhone app synching with the company server.
If MyApp knows the path & filename of a document, is it possible to use the Box URL Schemes to launch Box and open the document externally?
MyApp doesn't need to store or access the files and since Box already has the files downloaded, there's no point storing them in the Document space of both apps.
If there is such a URL Scheme, two follow up questions are: A) is there a callback to return to MyApp when the document is closed, and B) can MyApp use another URL Scheme to get a list of documents?
NSURL *ourURL = [NSURL URLWithString:#"box://some/path/to/fileid?callback=myapp://"];
if ([ourApplication canOpenURL:ourURL]) {
[ourApplication openURL:ourURL];
}
If this isn't currently possible, but of interest to Box, I'm interested in being a beta tester/early adopter.
If you just want to direct the user to a Box page, you may be able to direct the user to a specific file in one of two ways:
1) If the file is shared in Box and you have the shared name, you can generate a shared url (see sharing in the docs at developers.box.com). This only works for files that were shared, however.
2) If you have the file id of the file in Box, you can generate a URL to which the user can login to one's Box account and view the content. You can determine that URL by going into Box and seeing how URLs are displayed when you click on a particular file. We don't like to advertise that URL for developers, however, because we don't guarantee that this URL format will be maintained in the future. It hasn't changed in a while, so it's probably safe to use, but Box provides that "use it at your own risk" disclaimer.
Unfortunately, Box doesn't have a way to pull up a file based on file path. You need the file id or shared name. There isn't a url that relies on file or folder names.