<?xml version="1.0" encoding="utf-8" ?>
<!-- The Provider Name property is an internally defined name which is used
     as the unique identity of the provider.  DisplayName is the string displayed
     to the user where needed by an application.
     
     Name="AutoCADElectrical"
-->
<ContentSourcePropertyProviderCfg xmlns="http://AutodeskDM/Schemas/Design/CSPPCfg/01/04/2010/" DisplayName="AutoCAD Electrical!ID_CSPP_DISPLAYNAME_AUTOCAD_ELECTRICAL">

  <!-- configuration of the supported file extensions for the provider. 
       Supported = list of types the provider will work with 
       Unsupported = list of types the provider will not work with from the Supported list.
                     The unsupported list is subtracted form the supported list unless
                     the supported list contains .*
       
       The unsupported option is useful when a provider supports .* (all) types but we want
       to omit some specififc types.
       
       The types (extensions) are to be listed with the format of:  .ext
       multiple are done as follows (example):  .jpg,.html 
   -->
  <FileTypes Supported="*.wdp" Unsupported=""/>

  <!-- configuration of the property sets that the provider will honor and not honor.
       Within each set specifics about individual content source property defs can be configured.
  
       DefaultCtntSrcPropDefAttributes
           rw = "Read, ReadWrite or None"
               None means that all props found are first considered to not be included.
               If a CtntSrcPropDef overrides it then it will be included.
           canCreateNew = true or false
           displayNameSuffix is appended to the end of all display names assinged to cs prop defs.
               This appending is done if a displayname is supplied or not.
       
       For CtntSrcPropDef, id and dataType are required.
       
       UnknownPropertySets can only supply a DefaultCtntSrcPropDefAttributes element (no CtntSrcPropDefs list)
  -->
  <PropertyConfiguration>
    
    <!-- defined alternates for all cs prop defs for property id, prop set and data type.
         When evaluating a tripplet these are applied first.
         altType values:  PropertyId, PropertySet, DataType
    -->
    <GlobalAlternates>
      <GlobalAlternate altType="DataType"  from="text"    to="nvarchar"/>
      <GlobalAlternate altType="DataType"  from="number"  to="float(53)"/>
      <GlobalAlternate altType="DataType"  from="boolean" to="bit"/>
      <GlobalAlternate altType="DataType"  from="date"    to="datetime"/>
    </GlobalAlternates>
    
  </PropertyConfiguration>

  <!-- List of key/value pairs for use by provider as needed -->
  <Settings>
    <!-- dir to output bom xml passed to IContentSourceBOMPropertyProvider.ReadBOMProperties(). 
         The output file will be the file name passed to ReadBOMProperties() with .dmbom appended to it.
         If value="" means no write to dir. Can be relative to this file. -->
    <add key="WriteBomXmlToDir" value="" />
  </Settings>

  <!-- 
    **************************************************************************************************
    Different configuration needs for additional provider support
    ************************************************************************************************** 
   -->
  <!-- 
    BOM Property Configuration. (IContentSourceBOMPropertyProvider)
    Defined the property definitions that are specific to BOMs.
  -->
  <BOMPropertyConfiguration refDesSupport="false">

    <!-- Component Property Sets -->
    <ComponentPropertySets>
      <PropertySet id="VaultComp">
        <DefaultCtntSrcPropDefAttributes rw="None" canCreateNew="false"/>
        <CtntSrcPropDefs>
          <CtntSrcPropDef id="CompName" dataType="nvarchar" rw="Read" displayName="Component Name!ID_COMPONENT_NAME" standard="true"/>
          <CtntSrcPropDef id="CompType" dataType="nvarchar" rw="Read" displayName="Component Type!ID_COMPONENT_TYPE" standard="true"/>
        </CtntSrcPropDefs>
      </PropertySet>

      <!-- Component Type-->
      <PropertySet id="{32853F0F-3444-11D1-9E93-0060B03C1CA6}">
        <DefaultCtntSrcPropDefAttributes rw="None" canCreateNew="false"/>
        <CtntSrcPropDefs>
          <CtntSrcPropDef id="ComponentType" dataType="nvarchar" rw="Read" displayName="Electrical Type!ID_ELECTRICAL_TYPE" standard="true"/>
        </CtntSrcPropDefs>
      </PropertySet>

      <!--Descriptions-->
      <PropertySet id="{D5CDD505-2E9C-101B-9397-08002B2CF9AE}" >
        <DefaultCtntSrcPropDefAttributes rw="ReadAndWrite" canCreateNew="true" displayNameSuffix="(Custom)!ID_CUSTOM_SFX"/>
      </PropertySet>
      
    </ComponentPropertySets>

  </BOMPropertyConfiguration>

</ContentSourcePropertyProviderCfg>
