{"id":757,"date":"2008-01-04T19:58:12","date_gmt":"2008-01-05T02:58:12","guid":{"rendered":"http:\/\/members.crystalreportsbook.com\/crystal-reports-xi\/19-8-exporting-to-exchange\/"},"modified":"2010-11-17T18:48:51","modified_gmt":"2010-11-18T01:48:51","slug":"19-8-exporting-to-exchange","status":"publish","type":"post","link":"http:\/\/www.crystalreportsonlinetraining.com\/training\/19-8-exporting-to-exchange\/","title":{"rendered":"19.08 Exporting to Exchange"},"content":{"rendered":"<h2>Exporting to Exchange Folder Destination<\/h2>\n<p>Crystal Reports lets you export a report to an Exchange folder. Table 19-6 shows the properties that need to be set for this to work.<\/p>\n<p>         <b>Table 19-6. ExchangeFolderDestinationOptions Properties.<\/b><\/p>\n<table border=\"1\">\n<tr>\n<th>Property<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr>\n<td>DestinationType<\/td>\n<td>The export destination type<\/td>\n<\/tr>\n<tr>\n<td>FolderPath<\/td>\n<td>The path of the Exchange folder<\/td>\n<\/tr>\n<tr>\n<td>Password<\/td>\n<td>The Exchange password<\/td>\n<\/tr>\n<tr>\n<td>Profile<\/td>\n<td>The user profile for accessing the Exchange folder<\/td>\n<\/tr>\n<\/table>\n<p>         <code_Caption>Listing 19-4. Export a report to an Exchange folder.<\/code_Caption><br \/>\n         <code>Public Sub SetDestinationExchangeFolder(ByVal MyReport As CrystalDecisions.CrystalReports.Engine.ReportDocument, ByVal FolderPath As _<\/code><br \/>\n         <code>String, ByVal Password As String, ByVal Profile As String)<\/code><br \/>\n         <code>'Set the destination type to ExchangeFolder<\/code><br \/>\n         <code>MyReport.ExportOptions.ExportDestinationType = _<\/code><br \/>\n         <code>CrystalDecisions.Shared.ExportDestinationType.ExchangeFolder<\/code><br \/>\n         <code>'Instantiate an ExchangeFolder options object and set its properties<\/code><br \/>\n         <code>Dim Options As CrystalDecisions.Shared.ExchangeFolderDestinationOptions = _<\/code><br \/>\n         <code>New CrystalDecisions.Shared.ExchangeFolderDestinationOptions<\/code><br \/>\n         <code>Options.DestinationType = _<\/code><br \/>\n         <code>CrystalDecisions.Shared.ExchangeDestinationType.ExchangePostDocMessage<\/code><br \/>\n         <code>Options.FolderPath = FolderPath<\/code><br \/>\n         <code>Options.Password = Password<\/code><br \/>\n         <code>Options.Profile = Profile<\/code><br \/>\n         <code>MyReport.ExportOptions.DestinationOptions = Options<\/code><br \/>\n         <code>End Sub<\/code><\/p>\n<p>This procedure first sets the report object&#8217;s destination type to be ExchangeFolder. Then it creates a new options object and assigns the parameters to the appropriate properties. The last step assigns the options object to the DestinationOptions property of the report object.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Exporting to Exchange Folder Destination Crystal Reports lets you export a report to an Exchange folder. Table 19-6 shows the properties that need to be set for this to work. Table 19-6. ExchangeFolderDestinationOptions Properties. Property Description DestinationType The export destination type FolderPath The path of the Exchange folder Password The Exchange password Profile The user [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,2],"tags":[],"class_list":["post-757","post","type-post","status-publish","format-standard","hentry","category-chapter-19-exporting-and-deploying-reports","category-crystal-reportsnet-2003","entry"],"_links":{"self":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/comments?post=757"}],"version-history":[{"count":1,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/757\/revisions"}],"predecessor-version":[{"id":1670,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/posts\/757\/revisions\/1670"}],"wp:attachment":[{"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/media?parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/categories?post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.crystalreportsonlinetraining.com\/training\/wp-json\/wp\/v2\/tags?post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}