Classe ExportSolutionRequest
Si applica a: CRM 2015 on-prem, CRM Online
Contains the data that’s needed to export a solution.
Spazio dei nomi: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Sintassi
'Dichiarazione
<DataContractAttribute(Namespace:="https://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class ExportSolutionRequest
Inherits OrganizationRequest
[DataContractAttribute(Namespace="https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ExportSolutionRequest : OrganizationRequest
Esempio
The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface. For the complete sample, see the link later in this topic.
// Export or package a solution
//Export an a solution
ExportSolutionRequest exportSolutionRequest = new ExportSolutionRequest();
exportSolutionRequest.Managed = false;
exportSolutionRequest.SolutionName = solution.UniqueName;
ExportSolutionResponse exportSolutionResponse = (ExportSolutionResponse)_serviceProxy.Execute(exportSolutionRequest);
byte[] exportXml = exportSolutionResponse.ExportSolutionFile;
string filename = solution.UniqueName + ".zip";
File.WriteAllBytes(outputDir + filename, exportXml);
Console.WriteLine("Solution exported to {0}.", outputDir + filename);
Note
Message Availability
Affinché questo messaggio funzioni, il chiamante deve essere connesso al server.
Usage
Pass an instance of this class to the Execute method, which returns an instance of ExportSolutionResponse.
Privileges and Access Rights
To perform this action, the caller must have privileges listed in ExportSolution Privileges.
Notes for Callers
The properties of this request correspond to the options in the export solution dialog box in the application. The following table describes the settings included with each of the Export* settings.
Member | Setting | Display Name | Description |
---|---|---|---|
Organization.CampaignPrefix |
Campaign Prefix |
Prefix used for campaign numbering. |
|
Organization.CasePrefix |
Case Prefix |
Prefix to use for all cases throughout Microsoft Dynamics CRM. |
|
Organization.ContractPrefix |
Contract Prefix |
Prefix to use for all contracts throughout Microsoft Dynamics CRM. |
|
Organization.InvoicePrefix |
Invoice Prefix |
Prefix to use for all invoice numbers throughout Microsoft Dynamics CRM. |
|
Organization.KbPrefix |
Article Prefix |
Prefix to use for all articles in Microsoft Dynamics CRM. |
|
Organization. OrderPrefix |
Order Prefix |
Prefix to use for all orders throughout Microsoft Dynamics CRM. |
|
Organization.UniqueSpecifierLength |
Unique String Length |
Number of characters appended to invoice, quote, and order numbers. |
|
Organization.CalendarType |
Calendar Type |
Calendar type for the system. Set to Gregorian US by default. |
|
Organization.DateFormatCode |
Date Format Code |
Information about how the date is displayed throughout Microsoft Dynamics CRM. |
|
Organization.DateSeparator |
Date Separator |
Character used to separate the month, the day, and the year in dates throughout Microsoft Dynamics CRM. |
|
Organization.MaxAppointmentDurationDays |
Max Appointment Duration |
Maximum number of days an appointment can last. |
|
Organization.ShowWeekNumber |
Show Week Number |
Information that specifies whether to display the week number in calendar displays throughout Microsoft CRM. |
|
Organization.TimeFormatCode |
Time Format Code |
Information that specifies how the time is displayed throughout Microsoft CRM. |
|
Organization.WeekStartDayCode |
Week Start Day Code |
Designated first day of the week throughout Microsoft Dynamics CRM. |
|
Organization.IsAppMode |
Is Application Mode Enabled |
Indicates whether loading of Microsoft Dynamics CRM in a browser window that does not have address, tool, and menu bars is enabled. |
|
Organization.AllowUnresolvedPartiesOnEmailSend |
Allow Unresolved Address E-mail Send |
Indicates whether users are allowed to send e-mail to unresolved parties (parties must still have an e-mail address). |
|
Organization.IgnoreInternalEmail |
Ignore Internal E-mail |
Indicates whether incoming e-mail sent by internal Microsoft Dynamics CRM users or queues should be tracked. |
|
Organization.MaximumTrackingNumber |
Max Tracking Number |
Maximum tracking number before recycling takes place. |
|
Organization.RenderSecureIFrameForEmail |
Render Secure Frame For E-mail |
Flag to render the body of e-mail in the Web form in an IFRAME with the security='restricted' attribute set. This is additional security but can cause a credentials prompt. |
|
Organization.TrackingPrefix |
Tracking Prefix |
History list of tracking token prefixes. |
|
Organization.TrackingTokenIdBase |
Tracking Token Base |
Base number used to provide separate tracking token identifiers to users belonging to different deployments. |
|
Organization.TrackingTokenIdDigits |
Tracking Token Digits |
Number of digits used to represent a tracking token identifier. |
|
Organization.BlockedAttachments |
Block Attachments |
Prevent upload or download of certain attachment types that are considered dangerous. |
|
Organization.CurrencyFormatCode |
Currency Format Code |
Information about how currency symbols are placed throughout Microsoft Dynamics CRM. |
|
Organization.CurrencySymbol |
Currency Symbol |
Currency Symbol |
|
Organization.FullNameConventionCode |
Full Name Display Order |
Order in which names are to be displayed throughout Microsoft CRM. |
|
Organization.GetStartedPaneContentEnabled |
Is Get Started Pane Content Enabled |
Indicates whether Get Started content is enabled for this organization. |
|
Organization.IsPresenceEnabled |
Presence Enabled |
Information on whether IM presence is enabled. |
|
Organization.NegativeFormatCode |
Negative Format |
Information that specifies how negative numbers are displayed throughout Microsoft CRM. |
|
Organization.NumberFormat |
Number Format |
Specification of how numbers are displayed throughout Microsoft CRM. |
|
Organization.PricingDecimalPrecision |
Pricing Decimal Precision |
Number of decimal places that can be used for prices. |
|
Organization.ShareToPreviousOwnerOnAssign |
Share To Previous Owner On Assign |
Information that specifies whether to share to previous owner on assign. |
|
Organization.IsAutoSaveEnabled |
Auto Save Enabled |
Information on whether auto save is enabled. |
|
Organization.GlobalHelpUrl |
Global Help URL |
URL for the web page global help. |
|
Organization.GlobalHelpUrlEnabled |
Is Customizable Global Help enabled |
Indicates whether the customizable global help is enabled. |
|
Organization.GlobalAppendUrlParametersEnabled |
Is AppendUrl Parameters enabled |
Indicates whether the append URL parameters is enabled. |
|
Organization.MobileClientMashupEnabled |
Is Mobile Client Mashup enabled |
Indicates whether the mobile client mashup is enabled. |
|
The XML representing the ISV.Config. |
|||
Organization.AllowAutoResponseCreation |
Allow Automatic Response Creation |
Indicates whether automatic response creation is allowed. |
|
Organization.AllowAutoUnsubscribe |
Allow Automatic Unsubscribe |
Indicates whether automatic unsubscribe is allowed. |
|
Organization.AllowAutoUnsubscribeAcknowledgement |
Allow Automatic Unsubscribe Acknowledgement |
Indicates whether automatic unsubscribe acknowledgement e-mail is allowed to send. |
|
Organization.AllowMarketingEmailExecution |
Allow Marketing E-mail Execution |
Indicates whether marketing e-mails execution is allowed. |
|
Organization.AllowAddressBookSyncs |
Allow Address Book Synchronization |
Indicates whether background address book synchronization in Microsoft Office Outlook is allowed. |
|
Organization.AllowOfflineScheduledSyncs |
Allow Offline Scheduled Synchronization |
Indicates whether background offline synchronization in Microsoft Office Outlook is allowed. |
|
Organization.AllowOutlookScheduledSyncs |
Allow Scheduled Synchronization |
Indicates whether scheduled synchronizations to Outlook are allowed. |
|
Organization.EmailSendPollingPeriod |
E-mail Send Polling Frequency |
Normal polling frequency used for sending e-mail in Microsoft Office Outlook. |
|
Organization.MinAddressBookSyncInterval |
Min Address Synchronization Frequency |
Normal polling frequency used for address book synchronization in Microsoft Office Outlook. |
|
Organization.MinOfflineSyncInterval |
Min Offline Synchronization Frequency |
Normal polling frequency used for background offline synchronization in Microsoft Office Outlook. |
|
Organization.MinOutlookSyncInterval |
Min Synchronization Frequency |
Minimum allowed time between scheduled Outlook synchronizations. |
|
Organization.TagMaxAggressiveCycles |
Auto-Tag Max Cycles |
Maximum number of aggressive polling cycles executed for e-mail auto-tagging when a new e-mail is received. |
|
Organization.TagPollingPeriod |
Auto-Tag Interval |
Normal polling frequency used for e-mail receive auto-tagging in outlook. |
|
Organization.UseInbuiltRuleForDefaultPricelistSelection |
Use Inbuilt Rule For Default Pricelist Selection |
Flag indicates whether to Use Inbuilt Rule For DefaultPricelist. |
|
Organization.MaxProductsInBundle |
Bundle Item Limit |
Restrict the maximum no of items in a bundle |
|
Organization.OOBPriceCalculationEnabled |
Enable OOB Price calculation |
Enable OOB pricing calculation logic for Opportunity, Quote, Order and Invoice entities. |
|
Organization.DiscountCalculationMethod |
Discount calculation method |
Discount calculation method for the QOOI product. |
|
Organization.MaximumDynamicPropertiesAllowed |
Product Properties Item Limit |
Restrict the maximum number of product properties for a product family/bundle |
|
Organization.CreateProductsWithoutParentInActiveState |
Enable Active Initial Product State |
Enable Initial state of newly created products to be Active instead of Draft |
Gerarchia ereditarietà
System.Object
Microsoft.Xrm.Sdk.OrganizationRequest
Microsoft.Crm.Sdk.Messages.ExportSolutionRequest
Thread Safety
Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows Server 2003 e
Piattaforme di destinazione
Windows Vista,Windows XP
Change History
Vedere anche
Riferimento
Membri ExportSolutionRequest
Spazio dei nomi Microsoft.Crm.Sdk.Messages
Altre risorse
Sample: Work With Solutions
Package and Distribute Extensions with Microsoft Dynamics CRM Solutions
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.