---
sourceDocument: Yokohama Data and Automation
sourceDocumentLink: https://www.servicenow.com/docs/r/yokohama/integrate-applications

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama Data and Automation

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# XmlTemplate connector methods

# XmlTemplate connector methods {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

The XMLTemplate methods classify the templates and get the fields added to the
templates.

## Clasify {#connector-xmlTemplate-methods__section_z5y_v1j_vrb}

Classifies the template created. To see the steps to create templates, see [Use the XmlTemplate component](https://www.servicenow.com/docs/BlFufStNiivG0BJeExb7EQ "Create templates from existing XML or PDF documents by adding custom data or fields to the documents.").  
You must first configure the method before executing it. To configure, do the following steps.

1. Click the method settings icon (![Method settings icon.]()).
2. Select the required template.
3. Click OK.
{#connector-xmlTemplate-methods__ol_ssq_jgy_ssb}  

Input
:   [FilePath](https://www.servicenow.com/docs/a7zjRdOgxhEX6c5Fu7ssVw#parameters-xmlTemplate-methods__parameter-input-clasify-filepath)
:   [Status](https://www.servicenow.com/docs/a7zjRdOgxhEX6c5Fu7ssVw#parameters-xmlTemplate-methods__parameter-input-clasify-status)
:   [Template](https://www.servicenow.com/docs/a7zjRdOgxhEX6c5Fu7ssVw#parameters-xmlTemplate-methods__parameter-input-clasify-template)

## GetFields {#connector-xmlTemplate-methods__section_bps_q2j_vrb}

Returns the fields that were added to the template. You must configure the method before using it. To configure, do the following steps.

1. Click the method settings icon (![Method settings icon.]()).
2. Select the required template.
3. Select the corresponding field.A Data Out field is added with each field you
   select.

4. Click OK.
{#connector-xmlTemplate-methods__ol_pth_dhy_ssb}

