ImportExportFavorites Method
Imports or exports Favorites information.
Syntax
window.external.ImportExportFavorites(bImportExport [, sImportExportPath])
Parameters
bImportExport Required. Boolean that specifies one of the following values:
true Import is requested. false Export is requested. sImportExportPath Optional. String that specifies the location (URL) to import or export, depending on bImportExport. If a value is not provided, a file dialog box is opened.
Return Value
No return value.
Remarks
Confirmation is required before the import or export begins.
All favorites are uploaded to the server when exported, and it is recommended that the server be configured to erase previously stored favorites before accepting the updates. Favorites imported from the server merge with existing favorites on the client. Deletions on the server do not propagate to the client.
This method is not supported in html applications.
Example
This example uses the ImportExportFavorites method to import Favorites information from the server.
// 'true' specifies that the Favorites are imported from the server. window.external.ImportExportFavorites( true,"http://www.your_server.com");This example uses the ImportExportFavorites method to export Favorites information from the server.
// 'false' specifies that the Favorites are exported to the server. window.external.ImportExportFavorites( false,"http://www.your_server.com");This example uses the ImportExportFavorites method to open a file dialog box.
// If the path is not provided, a dialog box is opened. window.external.ImportExportFavorites(false);
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. external
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.