Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Step 3: Localize the Solution Manifest (OIR.config) File

SharePoint 2010

The solution manifest (OIR.config) file defines the parts of an Microsoft Outlook declarative solution. In this step, you learn how to localize several XML elements in the solution manifest file.

Last modified: July 12, 2010

Applies to: SharePoint Server 2010

To localize part of the solution manifest file from the AdventureWorks2008 Declarative Outlook Solution Sample, perform the following steps.

To update the solution manifest (OIR.config) file

  1. In SolutionSettings, replace the SolutionDisplayName attribute value with a localized string.

    <SolutionSettings SolutionId="ContosoSalesManager" SolutionDisplayName="yourLocalizedString" SolutionVersion="1.0.0.0"/>
    
  2. In OfficeItemCustomizations, replace the ItemTypeDisplayName attribute value with a localized string.

    <OfficeItemCustomizations xsl:type="OutlookItemCustomizations" ItemTypeDisplayName="yourLocalizedString" MessageClass="IPM.Contact.AWWSCustomer">
    
  3. In OutlookFolder, replace the FolderDisplayName attribute value with a localized string. Beneath this element, in FolderViewDefinition, replace the ViewName attribute value with a localized string.

    <OutlookFolder Name="ContosoCustomers" FolderDisplayName="yourLocalizedString" NativeType="FolderContacts" SubscriptionName="AWWSExampleCustomerSubscription" FolderName="ContosoCustomerFolderID" CanCreate="true" CanUpdate="true" CanDelete="false">     
      <Views>         
        <FolderViewDefinition Name="ContosoCustomerViewName" ViewName="yourLocalizedString" ViewType="TableView" IsDefault="true" ViewFileName="ContosoCustomerView.ovd" />    
      </Views>    
      <Associations />
    </OutlookFolder>
    
  4. In Declarative:CodeMethodAction, replace the Caption attribute value with a localized string.

    <Declarative:Actions>          
      <Declarative:CodeMethodAction MethodType="EditEntity" Name="Edit" Caption="yourLocalizedString" DisplayLocations="ItemContextMenu" DisplayOrder="2" Scope="ItemContext" /> 
    </Declarative:Actions>
    
Show:
© 2015 Microsoft