Maximum number of attachments for MMS messages

Partners can specify the maximum number of attachments for MMS messages, from 1 to 20. The default is 5.

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="MaxNumberAttachmentsForMMS"  
                         Description="Use to specify the maximum number of attachments for MMS messages (from 1 to 20)."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <!-- Define the Targets --> 
      <Targets>
         <Target Id="">
            <TargetState>
               <Condition Name="" Value="" />
               <Condition Name="" Value="" />
            </TargetState>
         </Target>
      </Targets>
    
      <Static>
        <Settings Path="Multivariant">
          <Setting Name="Enable" Value="1" />
        </Settings>
        <Settings Path="AutoDataConfig">
          <Setting Name="Enable" Value="0" />
        </Settings>
      </Static>
    
      <!-- Specify the Variant -->
      <Variant Name=""> 
        <TargetRefs>
          <TargetRef Id="" /> 
        </TargetRefs>
    
        <Settings Path="Messaging/PerSimSettings/$(__ICCID)">  
          <Setting Name="MMSLimitAttachments" Value="" /> 
        </Settings>  
    
      </Variant>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Define Targets or conditions for when a variant can be applied, such as keying off a SIM's MCC, MNC, and SPN.

  4. Define settings for a Variant, which are applied if the associated target's conditions are met.

  5. Set MMSLimitAttachments to a value from 1 to 20 to specify the default number of attachments for MMS messages. The default set by the OS is 5.

Testing:

  1. Flash the build containing this customization to a device.

  2. Go to the messaging application and attempt to attach multiple items up to and greater than the limit.

  3. The attach button should become disabled after the maximum number of attachments has been reached.

Prepare for Windows mobile development

Customization answer file overview