User Manual

08.13.2024

MANUAL

Set Parameter: BinaryStorage.json

## Notes When changing parameters, please refer to "[Confirmation When Changing Parameters](/en/manual/parameter-edit)". ## Limitations 1. When setting "Rds" for TemporaryBinaryStorageProvider, "Rds" must also be set for Provider, and UseStorageSelect must be set to false. *If the appropriate values are not set, files cannot be attached correctly. ## Setting Values The setting values ​​for this parameter file are as follows. |Parameter name|Value (e.g)|Description| |:--|:----|:--| |Provider|Rds|Specify how to store the data of attachments and pasted images. Set "Rds" to store in the database, and "Local" to store in storage. | |Path|C:\\\\Data |Set the destination folder for attachments when Provider is set to Local (backslashes must be escaped). *Give IIS_IUSERS access to the target folder. | |Attachments|true|Specify true/false for the attachment function. | |Images|true|Specify true/false for the image pasting function in the description field or comment. To enable pasting of images, both Attachments and Images must be set to true. | |RestoreLocalFiles|true |When Provider is Local, if the value is set to true, local files will not be deleted even if a record with attachments is deleted. If a deleted record is restored, the attachments will also be available. If Provider is "Local" and the value is false, attachments cannot be restored even if a deleted record is restored. | |LimitQuantity|30|Set the initial value for the file limit. | |MinQuantity|1|Set the minimum value for the file limit. | |MaxQuantity|100|Set the maximum value for the file limit. | |LimitSize|50|Set the initial value for the capacity limit (MB). | |MinSize|1|Set the minimum value for the capacity limit (MB). | |MaxSize|50|Set the maximum value for the capacity limit (MB). | |LimitTotalSize|1024|Set the initial value for the total capacity limit (MB). | |TotalMinSize|1|Set the minimum value for the total capacity limit (MB). | |TotalMaxSize|1024|Set the maximum value for the total capacity limit (MB). | |LocalFolderLimitSize|3072|Set the initial value for the capacity limit (MB) for the local folder. | |LocalFolderMinSize|1|Set the lower limit of the capacity limit (MB) for the local folder. | |LocalFolderMaxSize|3072|Set the upper limit of the capacity limit (MB) for the local folder. | |LocalFolderLimitTotalSize|30720|Set the initial value of the total capacity limit (MB) for the local folder. | |LocalFolderTotalMinSize|1|Set the lower limit of the total capacity limit (MB) for the local folder. | |LocalFolderTotalMaxSize|30720|Set the upper limit of the total capacity limit (MB) for the local folder. | |UseStorageSelect|false|Set true if you want to change the "[Storage Destination](/en/manual/table-management-binary-storage-provider)" for each attachment item. | |DefaultBinaryStorageProvider|"DataBase"|Set the default value of the "[Storage Destination](/en/manual/table-management-binary-storage-provider)" for attachment items when UseStorageSelect is true. Set "DataBase" if you want to save to a database, "LocalFolder" if you want to save to a local folder, or "AutoDataBaseOrLocalFolder" if you want to switch automatically based on size. | |TemporaryBinaryStorageProvider|"Rds"|If you want to save the uploaded file under the temporary folder (App_Data\Temp), specify null. If you want to save it directly to the database, specify "Rds". If you specify "Rds", check the above restrictions. *1| |ImageLimitSize|10|Set the maximum number of pixels (px) on one side when registering an image. | |ThumbnailLimitSize|10|Set the maximum number of pixels (px) on one side when registering a thumbnail. |ThumbnailMinSize|100|Set the minimum number of pixels (px) on one side when specifying the thumbnail size. | |ThumbnailMaxSize|1000|Set the maximum number of pixels (px) on one side when specifying the thumbnail size. | *1 The "Rds" of TemporaryBinaryStorageProvider is intended to be used in an environment where there are multiple servers with Pleasanter installed via a load balancer. For details, please refer to the FAQ below.  [FAQ: Attachments cannot be uploaded or registered correctly in an environment where there are multiple servers with Pleasanter installed on the backend of a load balancer | Pleasanter](/manual/faq-direct-upload-to-database)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.