Yochay Kiriaty Senior Technical Evangelist Microsoft® Corporation

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Multitenant Model Request/Response General Model.
 Alexander Malek Lead Program Manager SharePoint Microsoft Corporation BB47.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Windows ® 7 Libraries And Federated Search Name Title Microsoft ® Corporation.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Windows 8 (1) (2) (3) Windows 8 (1) (2) (3)
 Michael Bernstein Principal Software Design Engineer Microsoft Corporation.
Inspire and enable transformative user experiences for retrieving and exploring content regardless of location.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
NEXT: Overview – Sharing skills & code.
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
Windows Azure SQL Data Sync Name Title Microsoft Corporation.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

demo User Signs Up Temporary Account is Created with Verification Link Sent User Clicks Link Account is Activated Login.Register(userName,
Windows 7 Training.
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Virtual Academy
Microsoft Office SharePoint Server 2007 Enterprise Search
Build /4/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
SkyDrive Pro Chris Gideon Architect Microsoft 9/16/2018
Возможности Excel 2010, о которых следует знать
Введение в архитектуру SharePoint 2010
Office 365 Development.
FeedSync And Live Mesh Sync Services
Enterprise Metadata in SharePoint 2013
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /22/2019 3:15 AM
Feature: Document Attachment - Flow from Master Records
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Build /20/ :42 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Feature: Multi-user Editing Allowed in RMA Entry
WINDOWS AZURE A LAP AROUND PLATFORM THE Steve Marx
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
The complete developer's guide to the SkyDrive API
Title of Presentation 5/24/2019 1:26 PM
Using Smart Unit Tests to find bugs earlier in the development cycle
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

Yochay Kiriaty Senior Technical Evangelist Microsoft® Corporation 4/15/2018 3:40 AM Empowering Users to Find, Visualize, and Organize Their Data with Libraries and the Explorer Yochay Kiriaty Senior Technical Evangelist Microsoft® Corporation © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Agenda Library overview Common File Dialogs Libraries API Federated search Call to Action Resources

Why Libraries? Users manage their files (content) in: Known folders locations, such as My Documents, My Pictures, My Music, and My Videos Any other local or network folder Research shows that: Only 50% of user’s content is found in a known folder The other 50% of the content is not indexed

Libraries in Windows 7

Definition of Library “Libraries are destinations where users can find and organize their data as collections of items that may span multiple locations.”

Managing Libraries Windows Explorer has a user interface to manage libraries

Demo Windows Shell Managing Libraries

Common File Dialogs The new Common File Dialogs have built-in support for libraries By using the Common File Dialogs, you get the libraries experience out of the box plus additional taskbar functionality Don’t use Use these ×

Making Your Application Aware of Libraries Demo Making Your Application Aware of Libraries

Libraries Under the Hood Library information is kept in a file The format of the .library-ms file is a private data structure and subject to changes Use the Shell Library APIs to manage libraries You should use the file to: Delete, rename, or wait for change notification <libraryDescription> <name>@shell32.dll,-34575</name> <isLibraryPinned>-1</isLibraryPinned> <iconReference>imageres.dll,-1002</iconReference> <folderType>{7d49d726-3c21-4f05-99aa-fdc2c9474656}</folderType> …

Library APIs Every operation that is exposed by theShell UI (Windows Explorer) can be performed programmatically The Shell exposes several COM objects and helper functions to work with libraries: Create new library Open an existing library Add or remove folder from a library Get a folder list from a library Get and set library options Get and set the library icon

Using the API Create Library Shell APIs are COM-based To use the Library objects, interfaces, and functions you should: #include <shobjidl.h> #include <objbase.h> // IID_PPV_ARGS macro To create a new Library: HRESULT SHCreateLibrary(REFIID riid,void **ppv ); With the macro: IShellLibrary *pIShellLib; SHCreateLibrary(IID_PPV_ARGS(&pIShellLib));

Shell Helper Functions Description SHAddFolderPathToLibrary Adds a folder to a library SHCreateLibrary Creates an IShellLibrary object SHLoadLibraryFromItem Creates and loads an IShellLibrary object from a specified library definition file SHLoadLibraryFromKnownFolder Creates and loads an IShellLibrary object for a specified KNOWNFOLDERID SHLoadLibraryFromParsingName Creates and loads an IShellLibrary object for a specified path SHRemoveFolderPathFromLibrary Removes a folder from a library SHResolveFolderPathInLibrary Resolves the target location of a library folder that has been moved or renamed SHSaveLibraryInFolderPath Saves an IShellLibrary object to disk

The IShellLibrary Interface Commit Commits library updates to an existing file SetOptions and GetOptions LIBRARYOPTIONFLAGS: LOF_DEFAULT, LOF_PINNEDTONAVPANE, LOF_MASK_ALL Currently the only option is the LOF_PINNEDTONAVPANE SetFolderType Set the folder template (such as Pictures or Music)

Create Libraries and Add Folders IShellLibrary *pIShelLibrary; HRESULT hr = SHCreateLibrary(IID_PPV_ARGS(&pIShelLibrary)); if (SUCCEEDED(hr)) { IShellItem *pIShellItem; SHAddFolderPathToLibrary(pIShelLibrary, L"C:\\Users\\Public\\Documents"); hr = pIShelLibrary->SaveInKnownFolder(FOLDERID_Libraries, L"My New Library", LSF_MAKEUNIQUENAME, &pIShellItem); pIShellItem->Release(); pIShelLibrary->Release(); }

The ShellLibrary Class Windows API Pack public sealed class ShellLibrary : ShellContainer, IList<FileSystemFolder> { public ShellLibrary(…); public static ShellLibrary Copy(…); public static ShellLibrary Load(…); public static IKnownFolder LibrariesKnownFolder { get; } public override string Name {get;} public IconReference IconResourceId {get; set;} public LibraryFolderType LibraryType {get; set;} public Guid LibraryTypeId {get; set;} public string DefaultSaveFolder {set; get;} public bool IsPinnedToNavigationPane {get; set;} public bool ShowManageLibraryUI(…); public void Add(…) public void Close(); … }

Create Libraries and Add Folders using (ShellLibrary library = new ShellLibrary(name, true)) { library.Add(folderPath); }

Many Other Operations using (ShellLibrary lib = ShellLibrary.Load( "Documents", false)) { lib.Add(@"C:\"); lib.IsPinnedToNavigationPane = true; lib.DefaultSaveFolder = @"C:\"; }

Custom Library Manager demo Custom Library Manager Managing Libraries

Stay in Sync with Libraries Goal is to be notified about: Structure changes in a library Content changes in a library folder Listen for changes to .Library-ms files Listen for changes to any content or file change from any folder in the library

Staying in Sync with Windows 7 Libraries demo Staying in Sync with Windows 7 Libraries

Libraries Summary Libraries are destinations where users can find and organize their data as collections of items that may span multiple locations IShellLibrary is a COM interface that exposes methods to manage libraries The ShellLibrary is a .NET Framework wrapper that exposes the same functionality

Federated Search The Best Internet and Intranet Search Experience on the Desktop

Federated Search Consistent Experience Across Providers for Files and Other Items Document repository Enterprise data store Enterprise application

How Federated Search Works Rich client experience Previews, metadata, and drag-and-drop Familiar Explorer paradigms Simple and lightweight integration No client code Works with any server platform Standards-based OpenSearch 1.1 RSS and ATOM Authentication Integrated or custom 1. Search connector (.osdx) is installed 2. Windows sends search terms as an HTTP request 3. The server returns RSS results

Federated Search Your search provider should: Accept URL queries Example: http://www.contoso.com/q={searchTerms} Define rich items Return RSS results Windows 7 enables federated search through: XML search connector description Property mapping Example: BookAuthor  System.Author Thumbnail and preview URLs Custom view descriptions 1. Search connector (.osdx) is installed 2. Windows sends search terms as an HTTP request 3. The server returns RSS results

Building an Open Search File demo Federated Search Building an Open Search File

Summary Windows 7 has a cleaner and more elegant shell Explorer Users can find and organize their documents, pictures, music, and other content in an easy and consistent way The shell has many extension points Use these extension abilities in your software Give the user the same rich experience

Call to Action Use Common File Dialogs Make your applications library aware Integrate with Shell APIs Participate in federated search Fill out the evaluation form for this presentation

Windows Summit 2010 4/15/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.