Changes for page SetFile
Last modified by Outhman Moustaghfir on 2024/11/28 14:50
<
edited by Outhman Moustaghfir
on 2024/09/24 16:54
on 2024/09/24 16:54
edited by Outhman Moustaghfir
on 2024/11/28 14:50
on 2024/11/28 14:50
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +3,3 @@ 1 - 2 - 3 3 ==== Purpose: ==== 4 4 5 5 The SetFile method is designed to store XML content in a database by saving it as a file and returning the file's unique identifier. ... ... @@ -10,6 +10,16 @@ 10 10 * It writes the XML content to a file. 11 11 * The file is saved in the database, and its file ID is returned for future reference. 12 12 11 +==== optional parameters: ==== 12 + 13 +* **fileName** (optional): Specifies a custom name for the saved file. If not provided (null or empty), the file will be saved with its unique file ID as the name. 14 +* **folder** (optional): Defines the folder where the file will be stored (e.g., "work", "out", etc.). If not specified (null or empty), the file will be placed in the default "work" folder. 15 +* **synchrone **(optional): Defaults to false. Determines whether the file is set synchronously or asynchronously 16 + 17 +{{code language="XML"}} 18 +SetFile(xmlContent,fileName,folder) 19 +{{/code}} 20 + 13 13 ==== Usage Example: ==== 14 14 15 15 Consider the following XSLT transformation that calls the SetFile method: