---
sourceDocument: 호주 API 참조
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/api-reference

 Release :

    - australia

ft:locale :

    - ko-KR

ft:publication_title :

    - 호주 API 참조

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# ExtractTermsFromAttachment - 전역

# ExtractTermsFromAttachment - 전역 {#ariaid-title1}

* 릴리스 버전: Australia
* 
* 업데이트 날짜 2026년 03월 12일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 1분

ExtractTermsFromAttachment 스크립트 포함은 첨부 파일에서 용어를 추출하는 메서드를 제공합니다.

이 스크립트 포함은 ScriptedExtractor 객체, SysAttachmentInputStream, 첨부 파일의 sys_id 및 첨부 파일의 확장명과 함께 호출됩니다. getTerms() 메서드는 인덱싱해야 하는 첨부 파일에서 용어를 추출하기 위해 호출됩니다. getTerms() 메서드는 용어가 포함된 문자열만 반환해야 합니다. inputStream이 아닌 파일을 입력하는 것을 선호하는 경우 extractor.getFile() 을 호출하여 첨부 파일이 포함된 파일 객체를 가져옵니다.

