<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tsnocode.dev/index.php?action=history&amp;feed=atom&amp;title=Bulk_importing_files</id>
	<title>Bulk importing files - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tsnocode.dev/index.php?action=history&amp;feed=atom&amp;title=Bulk_importing_files"/>
	<link rel="alternate" type="text/html" href="https://wiki.tsnocode.dev/index.php?title=Bulk_importing_files&amp;action=history"/>
	<updated>2026-04-11T12:18:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.0</generator>
	<entry>
		<id>https://wiki.tsnocode.dev/index.php?title=Bulk_importing_files&amp;diff=6733&amp;oldid=prev</id>
		<title>Tvi: Created the page</title>
		<link rel="alternate" type="text/html" href="https://wiki.tsnocode.dev/index.php?title=Bulk_importing_files&amp;diff=6733&amp;oldid=prev"/>
		<updated>2023-11-02T09:07:42Z</updated>

		<summary type="html">&lt;p&gt;Created the page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== What ==&lt;br /&gt;
&lt;br /&gt;
This page describes how to setup the bulk-import codeunit, to import a lot of files at once and generate a separate record in an entity, for each file.&lt;br /&gt;
&lt;br /&gt;
== How ==&lt;br /&gt;
&lt;br /&gt;
First, setup an entity with at least two fields: A [[FieldText|text-field]] for the filename and a [[FieldFiles|document field]] for the document.&amp;lt;br&amp;gt;&lt;br /&gt;
Second, create or edit the following 5 &amp;quot;Static content&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
# BulkImport.SagID, the SagID of the entity that is the target of the import&lt;br /&gt;
# BulkImport.UserGroupID, The GroupID of the usergroup that is allowed to access the bulk-import system&lt;br /&gt;
# BulkImport.FileTitleField, The systemname of the field where the name of the file should be stored&lt;br /&gt;
# BulkImport.FileFieldID, The FieldID of the field where the uploaded document should be stored&lt;br /&gt;
# BulkImport.StatusID, The StatusID that uploaded documents should have&lt;br /&gt;
&lt;br /&gt;
Third, edit the url on the site and access ''main?command=dk.tempusserva.codeunit.bulkimport.ImportPage''&amp;lt;br&amp;gt;&lt;br /&gt;
Fourth, upload the files.&lt;br /&gt;
&lt;br /&gt;
Next step could be to index all the files, allowing the content of the files to be searched and queried, maybe through ChatGPT.&lt;/div&gt;</summary>
		<author><name>Tvi</name></author>
	</entry>
</feed>