Answered by:
Is it possible to use a file picker to get SkyDrive content?

Question
-
Is it possible, or will it be possible, to use a file picker to get SkyDrive content? Steve Gordon's SkyDrive session made it seem like the only way to navigate SkyDrive was to build the interface yourself. The end result I'm looking for is to be able to choose files from SkyDrive and locally without having to use two different interfaces.
If anyone has any insight on this it is appreciated.
Thursday, September 29, 2011 12:56 AM
Answers
-
One way to do this is to build a file picker extension in your app.
- Use the Live SDK to retrieve a list of files from SkyDrive
- Pass the list of files to in your picker extension when handling the invoke
- In your code to launch the file picker, the user will be able to select your app as one of the additional sources to pick from, and then pick the files using the file picker UI.
Sample on building a file picker extension:
http://code.msdn.microsoft.com/windowsapps/File-picker-app-extension-0cb95155
Skydrive API samples
http://code.msdn.microsoft.com/windowsapps/Skypad-SkyDrive-Sample-8a187bd8
- Edited by Lisa O - MSFT Thursday, October 6, 2011 2:34 AM
- Marked as answer by jfryc Saturday, October 8, 2011 2:49 AM
Thursday, October 6, 2011 2:29 AM
All replies
-
I am not aware of a way to extend file picker that way. Anyone else? Feel free to chime in!
Jeff Sanders (MSFT)Thursday, September 29, 2011 6:31 PMModerator -
One way to do this is to build a file picker extension in your app.
- Use the Live SDK to retrieve a list of files from SkyDrive
- Pass the list of files to in your picker extension when handling the invoke
- In your code to launch the file picker, the user will be able to select your app as one of the additional sources to pick from, and then pick the files using the file picker UI.
Sample on building a file picker extension:
http://code.msdn.microsoft.com/windowsapps/File-picker-app-extension-0cb95155
Skydrive API samples
http://code.msdn.microsoft.com/windowsapps/Skypad-SkyDrive-Sample-8a187bd8
- Edited by Lisa O - MSFT Thursday, October 6, 2011 2:34 AM
- Marked as answer by jfryc Saturday, October 8, 2011 2:49 AM
Thursday, October 6, 2011 2:29 AM -
If implementing the file picker extension in JavaScript, you should be aware of the following issue: http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/66ab75a9-8f35-4b73-b497-796b42e903aeThursday, October 6, 2011 2:40 AM