<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://open-csp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=4c97ee44-77f7-420e-9403-aec39cd29b42</id>
	<title>CSP Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://open-csp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=4c97ee44-77f7-420e-9403-aec39cd29b42"/>
	<link rel="alternate" type="text/html" href="https://open-csp.org/Special:Contributions/4c97ee44-77f7-420e-9403-aec39cd29b42"/>
	<updated>2026-04-29T23:34:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://open-csp.org/index.php?title=DevOps:Doc/FlexForm/2.1/input/file/examples&amp;diff=3920</id>
		<title>DevOps:Doc/FlexForm/2.1/input/file/examples</title>
		<link rel="alternate" type="text/html" href="https://open-csp.org/index.php?title=DevOps:Doc/FlexForm/2.1/input/file/examples&amp;diff=3920"/>
		<updated>2026-02-18T08:56:08Z</updated>

		<summary type="html">&lt;p&gt;4c97ee44-77f7-420e-9403-aec39cd29b42: Testen&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Example 1 ====&lt;br /&gt;
This will upload a file. If the filename is DCM10001.jpg, the file will be uploaded as &#039;&#039;&#039;pictures-DCM10001-732138982.jpg&#039;&#039;&#039;, The filepage will have &#039;&#039;&#039;Information of the test file&#039;&#039;&#039;. Finally using &#039;&#039;&#039;error_id&#039;&#039;&#039; and &#039;&#039;&#039;verbose_id&#039;&#039;&#039;, means the user should add two div&#039;s, one with an id=&amp;quot;div-error&amp;quot; and one with an id=&amp;quot;div-verbose&amp;quot; with these name themselves.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;test&amp;quot; target=&amp;quot;pictures-[filename]-[mwrandom]&amp;quot; pagecontent=&amp;quot;Information of the test file&amp;quot; error_id=&amp;quot;div-error&amp;quot; verbose_id=&amp;quot;div-verbose&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
Always make sure an image will be transformed to jpeg.&lt;br /&gt;
&lt;br /&gt;
Allow for multiple file upload.&lt;br /&gt;
&lt;br /&gt;
Add form text field &amp;quot;description&amp;quot; on the files page content.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;myfile&amp;quot; multiple=&amp;quot;multiple&amp;quot; parsecontent target=&amp;quot;pictures-[filename]-[mwrandom]&amp;quot; pagecontent=&amp;quot;Information for this image: [description]&amp;quot; force=&amp;quot;jpg&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;description&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 3 ====&lt;br /&gt;
Store a template to the pagecontent. You can use this if you want the filepage to have structured content or if you want to store structured data with an extension like SMW.&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;myfile&amp;quot; target=&amp;quot;picture-[mwrandom]&amp;quot; parsecontent template=&amp;quot;Uploaded file&amp;quot; pagecontent=&amp;quot;[flexform-template]|Uploaded from page={{FULLPAGENAME}}|Uploaded by={{CURRENTLOGGEDUSER}}|Comment=[Comment][/flexform-template]&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;Comment&amp;quot; placeholder=&amp;quot;Comment&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 4 ====&lt;br /&gt;
Convert a Microsoft Docx document to a page in the Wiki. In our example the pagename will be the filename.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; messageonsuccess=&amp;quot;File has been converted and uploaded&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;myfile&amp;quot; id=&amp;quot;fileUpload&amp;quot; multiple=&amp;quot;multiple&amp;quot; parsecontent target=&amp;quot;[filename]&amp;quot; pagecontent=&amp;quot;This image belongs to : [filename]&amp;quot; action=&amp;quot;convertfrom:docx&amp;quot; comment=&amp;quot;converted and uploaded from {{PAGENAME}}&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 5 ====&lt;br /&gt;
Convert a Microsoft Excel document to a page in the Wiki. The Excel content (from the second sheet) is stored in json format in a slot and a create is used to also store a template in the main slot.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; messageonsuccess=&amp;quot;File has been converted and uploaded&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;form-group&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fieldset class=&amp;quot;form-group&amp;quot;&amp;gt;&amp;lt;legend&amp;gt;Upload and convert Excel to Json&amp;lt;/legend&amp;gt;&lt;br /&gt;
  &amp;lt;_create noseo mwwrite=&amp;quot;[FFUploadedFile-NewName-myfile]&amp;quot; mwtemplate=&amp;quot;Test excel convert&amp;quot; mwfields=&amp;quot;FFUploadedFile-UploadName-myfile::Original filename&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;form-control-file&amp;quot; id=&amp;quot;testingFile&amp;quot; name=&amp;quot;myfile&amp;quot; sheet_by_id=&amp;quot;1&amp;quot; parsecontent target=&amp;quot;[filename]&amp;quot; action=&amp;quot;convertfrom:xlsx&amp;quot; slot=&amp;quot;ws-data&amp;quot; comment=&amp;quot;converted and uploaded from {{PAGENAME}}&amp;quot; accept=&amp;quot;.xlsx&amp;quot; target=&amp;quot;excel-data-[mwrandom]-[filename]&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/fieldset&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>4c97ee44-77f7-420e-9403-aec39cd29b42</name></author>
	</entry>
	<entry>
		<id>https://open-csp.org/index.php?title=DevOps:Doc/FlexForm/2.1/input/file/examples&amp;diff=3919</id>
		<title>DevOps:Doc/FlexForm/2.1/input/file/examples</title>
		<link rel="alternate" type="text/html" href="https://open-csp.org/index.php?title=DevOps:Doc/FlexForm/2.1/input/file/examples&amp;diff=3919"/>
		<updated>2026-02-18T08:55:46Z</updated>

		<summary type="html">&lt;p&gt;4c97ee44-77f7-420e-9403-aec39cd29b42: User:4c97ee44-77f7-420e-9403-aec39cd29b42&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== Example 1 ====&lt;br /&gt;
This will upload a file. If the filename is DCM10001.jpg, the file will be uploaded as &#039;&#039;&#039;pictures-DCM10001-732138982.jpg&#039;&#039;&#039;, The filepage will have &#039;&#039;&#039;Information of the test file&#039;&#039;&#039;. Finally using &#039;&#039;&#039;error_id&#039;&#039;&#039; and &#039;&#039;&#039;verbose_id&#039;&#039;&#039;, means the user should add two div&#039;s, one with an id=&amp;quot;div-error&amp;quot; and one with an id=&amp;quot;div-verbose&amp;quot; with these name themselves.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;test&amp;quot; target=&amp;quot;pictures-[filename]-[mwrandom]&amp;quot; pagecontent=&amp;quot;Information of the test file&amp;quot; error_id=&amp;quot;div-error&amp;quot; verbose_id=&amp;quot;div-verbose&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 2 ====&lt;br /&gt;
Always make sure an image will be transformed to jpeg.&lt;br /&gt;
&lt;br /&gt;
Allow for multiple file upload.&lt;br /&gt;
&lt;br /&gt;
Add form text field &amp;quot;description&amp;quot; on the files page content.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;myfile&amp;quot; multiple=&amp;quot;multiple&amp;quot; parsecontent target=&amp;quot;pictures-[filename]-[mwrandom]&amp;quot; pagecontent=&amp;quot;Information for this image: [description]&amp;quot; force=&amp;quot;jpg&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;description&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 3 ====&lt;br /&gt;
Store a template to the pagecontent. You can use this if you want the filepage to have structured content or if you want to store structured data with an extension like SMW.&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; &amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; id=&amp;quot;fileUpload&amp;quot; name=&amp;quot;myfile&amp;quot; target=&amp;quot;picture-[mwrandom]&amp;quot; parsecontent template=&amp;quot;Uploaded file&amp;quot; pagecontent=&amp;quot;[flexform-template]|Uploaded from page={{FULLPAGENAME}}|Uploaded by={{CURRENTLOGGEDUSER}}|Comment=[Comment][/flexform-template]&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;Comment&amp;quot; placeholder=&amp;quot;Comment&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 4 ====&lt;br /&gt;
Convert a Microsoft Docx document to a page in the Wiki. In our example the pagename will be the filename.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; messageonsuccess=&amp;quot;File has been converted and uploaded&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;input type=&amp;quot;file&amp;quot; name=&amp;quot;myfile&amp;quot; id=&amp;quot;fileUpload&amp;quot; multiple=&amp;quot;multiple&amp;quot; parsecontent target=&amp;quot;[filename]&amp;quot; pagecontent=&amp;quot;This image belongs to : [filename]&amp;quot; action=&amp;quot;convertfrom:docx&amp;quot; comment=&amp;quot;converted and uploaded from {{PAGENAME}}&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example 5 ====&lt;br /&gt;
Convert a Microsoft Excel document to a page in the Wiki. The Excel content (from the second sheet) is stored in json format in a slot and a create is used to also store a template in the main slot.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;form enctype=&amp;quot;multipart/form-data&amp;quot; messageonsuccess=&amp;quot;File has been converted and uploaded&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;form-group&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;fieldset class=&amp;quot;form-group&amp;quot;&amp;gt;&amp;lt;legend&amp;gt;Upload and convert Excel to Json&amp;lt;/legend&amp;gt;&lt;br /&gt;
  &amp;lt;_create noseo mwwrite=&amp;quot;[FFUploadedFile-NewName-myfile]&amp;quot; mwtemplate=&amp;quot;Test excel convert&amp;quot; mwfields=&amp;quot;FFUploadedFile-UploadName-myfile::Original filename&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;file&amp;quot; class=&amp;quot;form-control-file&amp;quot; id=&amp;quot;testingFile&amp;quot; name=&amp;quot;myfile&amp;quot; sheet_by_id=&amp;quot;1&amp;quot; parsecontent target=&amp;quot;[filename]&amp;quot; action=&amp;quot;convertfrom:xlsx&amp;quot; slot=&amp;quot;ws-data&amp;quot; comment=&amp;quot;converted and uploaded from {{PAGENAME}}&amp;quot; accept=&amp;quot;.xlsx&amp;quot; target=&amp;quot;excel-data-[mwrandom]-[filename]&amp;quot; /&amp;gt;&lt;br /&gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;upload&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/fieldset&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>4c97ee44-77f7-420e-9403-aec39cd29b42</name></author>
	</entry>
</feed>