# Insert Information into Notes

You can use the `insert` fetch action to insert DXL files into the Notes database. The user account you use to insert data must have write access to the database.

To use the `insert` action, you must construct some XML that specifies the file to add. The XML can also include the following property:

`FolderPath` | The folder in the database in which to insert the DXL file. If you do not set this property, the file is inserted into the root of the database.

For example:

    <insertXML>
     <insert>
      <reference>na</reference>
      <property name="FolderPath" value="Inbox"/>

      <file>
       <type>file</type>
       <displayname>my_file.dxl</displayname>
       <content>C:\My_Folder\my_file.dxl</content>
      </file>
     </insert>
    </insertXML>

Add the XML to the `insert` action as the value of the `insertXML` action parameter. You must URL-encode the XML before adding it to the action command:

    http://host:port/action=Fetch&FetchAction=Insert
                                 &ConfigSection=MyTask
                                 &InsertXML=URL-encoded-XML

For more information about the `insert` action, how to construct the value for the `insertXML` parameter, and how to specify the file to add, refer to the documentation for the `insert` fetch action in the Notes Connector Reference.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm