HowTo: Set the bucket for the NFS instance

Follow

Caution: This is an advanced capability of NFS. Mistakes can cause the system to malfunction.

1. To set a bucket to be used for all customers within a NFS instance, modify the SET statement(s) accordingly in the following SQL query, then execute it against the database for the NFS instance


DECLARE @BucketName VARCHAR(100)
SET @BucketName = 'FileSystem'
BEGIN TRANSACTION
INSERT INTO ApplicationVariable (Name, Value) VALUES('DefaultBinaryBucket', @BucketName)
COMMIT TRANSACTION

a. @BucketName: must match the bucket name as defined in Step 2a of HOWTO: Add a bucket.

2. Perform an IISRESET on the machine where NFS is installed.

 

Related Articles:

Saving attachments outside the database

HowTo: Add a bucket to your NFS Server 

HowTo: Set the bucket for the NFS instance (This Article)

HowTo: Set the bucket for a specific customer

Have more questions? Submit a request

Comments

Powered by Zendesk