적용
- Windchill PDMLink 9.1 에서 11.1
- Desktop Integration (DTI)
내용
- Desktop Integration (DTI)에서 사용자 지정 속성 매핑을 추가하는 방법
- 기본적으로 추가되지 않은 추가 속성을 DTI 에 추가하는 방법 (예 :
- Created By
- Created On
- Modified By
- Description
해결
- Windchill PDMLink 10.0 이상 버전에서 즉시 사용 가능한 설정 및 구성과 함께 Windchill Desktop Integration을 통해 소프트 속성이 자동으로 검색됩니다.
참고 : Windchill 10.0 이상 버전에서 아래에 언급 된대로 해결 방법 2를 따른다면 Windchill Desktop Integration을 통해 속성을 두 번 사용할 수 있습니다.
- Windchill PDMLink 9.1에 대한 다음 해결 방법 중 하나를 수행합니다 :
해결 방법 1:
- 다음 항목을 <Windchill>\codebase\com\ptc\windchill\enterprise\nativeapp\msoi\server\ 에 있는 msoimap.xml 파일에 추가합니다.
<attribute soft_attribute="true" prefix="ptc.c|">
<wt_name>ALL_SOFT_SCHEMA_ATTRIBUTES</wt_name>
<display>true</display>
</attribute>
<attribute soft_attribute="true" prefix="ptc.c|">
<wt_name>ALL_SOFT_ATTRIBUTES</wt_name>
<display>true</display>
</attribute>
<attribute soft_attribute="true" prefix="ptc.c|">
<wt_name>ALL_SOFT_CLASSIFICATION_ATTRIBUTES</wt_name>
<display>true</display>
</attribute>
- Word에서 Insert > Quick Parts > Field > Insert Field로 이동합니다.
- DocProperty 로 이동하여 속성을 검색합니다.
- 참고 :
- 위에 지정된 항목을 사용하면 모든 새로운 속성이 특정 유형 또는 컨텍스트에 자동으로 추가됩니다.
- 위의 항목은 각 컨텍스트 유형 ( 예 : Document type 및 Product Specific Attributes, Library Specific Attributes or Project Specific Attributes 등) 마다 추가해야 합니다.
- 위 항목을 추가 한 후 속성을 수동으로 다시 추가하면 Document Properties 및 Insert Windchill Attribute Field 삽입 대화 상자안에 duplicate attributes 가 표시됩니다.
해결 방법 2:
- 항목을 수동으로 추가해야하는 경우<Windchill>\codebase\com\ptc\windchill\enterprise\nativeapp\msoi\server\ 안에 있는 msoimap.xml 파일에 다음 세부 정보를 추가해야 합니다.
- 일반적인 입력 구문 :
<attribute>
<ms_name>Name_to_be_displayed_in_Microsoft_Office_Application</ms_name>
<wt_name>Introspection_name_of_attribute_in_Windchill</wt_name>
</attribute>
- 내부 검사 이름을 찾으려면 Windchill Shell의 객체 유형에 대해 InfoReport 를 실행합니다. :
InfoReport wt.doc.WTDocument
- <Windchill>\temp\doc.WTDocument.out 에 있는 결과
- 변경 사항을 적용하려면 다음을 수행합니다. :
- <Windchill>\codebase\com\ptc\windchill\enterprise\nativeapp\msoi\server\ 에 있는 msoimap.xml 파일을 백업합니다.
- 원하는 속성을 msoimap.xml에 추가/저장 ( 예: 아래 )
- Windchill 메뉴 > Attribute Actions > Refresh Properties 또는 10.2 Windchill 메뉴 > Properties > Refresh Properties 를 사용하여 Word와 같은 Office 응용 프로그램에서 Refresh Properties 도구 모음 단추를 클릭합니다.
- 예 (<type key="wt.doc.WTDocument" > 섹션에 있음 ):
<attribute>
<ms_name>Doc Creator</ms_name>
<wt_name>creator.name</wt_name>
<display>true</display>
<attrFormat>string</attrFormat>
</attribute>
<attribute>
<ms_name>Doc CreatedAt</ms_name>
<wt_name>thePersistInfo.createStamp</wt_name>
<display>true</display>
<attrFormat>string</attrFormat>
</attribute>
<attribute>
<ms_name>Doc ModifiedBy Name</ms_name>
<wt_name>modifier.name</wt_name>
<display>true</display>
<attrFormat>string</attrFormat>
</attribute>
<attribute>
<ms_name>Doc LastUpdated</ms_name>
<wt_name>last_updated</wt_name>
<display>true</display>
<attrFormat>UTC</attrFormat>
</attribute>
- 참고 :
- 자세한 내용은 Windchill Help Center 항목 Customize Microsoft Office Properties 사용자 정의를 참조합니다.
- Windchill 9.x와 같은 이전 릴리스의 경우 Windchill 을 다시 시작해야 하지만 Windchill 10.x 이상은 msoimap.xml 을 업데이트하고 3단계에 지정된 대로 Refresh Properties를 클릭하면 msoimap.xml의 변경 사항이 방영됩니다.
- 별칭 또는 계산된 속성 추가 또는 업데이트와 관련된 정보는 CS70889 문서를 참조합니다.
- Windchill의 Introspection은 DTI 대화 상자에서 속성을 그룹화하고 레이블을 지정하는데 사용됩니다 (예:
- wt_name iterationInfo.modified는 사용자 아래에 Modfied By 및
- wt_name modifier.name 은 사용자 섹션에서 Name으로 나타납니다.
- 논리적 형식으로 속성 이름을 얻으려면 Logical Attribute Report 를 참조합니다.
- Add Custom Attributes to Microsoft Office 섹션의 사용자 정의 안내서를 참조하십시오.
- 두 파일을 모두 추가하는 방법에 대한 설명은 CS301271에서 하나의 파일에 여러개의 이름이 있는지 (예 : creator.name 및 modifier.name) 를 참조합니다.
'Creo > Windchill PDMLink' 카테고리의 다른 글
Windchill 매개변수 삭제 방법 (0) | 2020.06.16 |
---|---|
Windchill PDMLink에서 메소드 서버가 시작되지 않습니다 (0) | 2020.05.27 |
세부 정보 탭 알아보기 (0) | 2020.05.09 |
과거 버전 작업 공간으로 가져오기 (0) | 2020.05.09 |
실전> Local Cache의 이해 (0) | 2020.04.29 |