전문 관리 > 비즈니스 객체 변경 > 유형 및 속성 관리 > 유형 및 속성 관리 명령줄 도구 > 유형 정보 내보내기 및 가져오기 > 유형 내보내기 > 내보내기 정의 파일 작성
  
내보내기 정의 파일 작성
내보내기를 수행하려면 먼저 내보내기 정의 파일을 작성해야 합니다. 내보내기 정의 파일에는 아무 이름이나 지정할 수 있습니다(예: DefinitionExporter.xml). 내보내기 정의 파일의 형식은 다음 예제에 나와 있습니다.
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standardX26.dtd">
<NmLoader>
<csvExportDefinition handler="com.ptc.core.lwc.server.
TypeDefinitionExporter.beginExportDefinition">
<csvtoLocation>D:\temp</csvtoLocation>
<csvtoFileName>documents.xml</csvtoFileName>
<csvexportDefClass>com.ptc.core.lwc.server.LWCTypeDefinition</csvexportDefClass>
<csvexportNames>wt.doc.WTDocument</csvexportNames>
</csvExportDefinition>
</NmLoader>
예제 내보내기 정의 파일은 wt.doc.WTDocument 유형 및 모든 해당 하위 유형의 메타데이터를 다음 위치의 로드 파일로 내보내도록 익스포터에 지시합니다. 여기서 #은 생성된 유형 로드 파일(D:\temp\documents_#.xml)에 추가되는 번호 접미사입니다.