How to use and set file policies for user and community libraries

    CAT Features

    Problem Description

    Problem 1: A user can’t upload a file into the Files module, because there is not enough space left in their user library. Selected users need a library size greater than the standard 500 MB.
    Solution: Create a file policy with a maximum size greater than 500 MB or select an already existing policy greater than 500 MB and set the user’s file library policy to the new policy.

    Problem 2: A community library is full. The community needs a library size greater than the standard 500 MB
    Solution: Create a file policy with a maximum size greater than 500 MB or select an already existing policy greater than 500 MB and set the community’s file library policy to the new policy.

    Problem 3: A user must be prevented from uploading anything into their user file library

    Solution: Create a file policy with a maximum size of 0 MB and set the user’s file library policy to the new policy. Files that they have uploaded before will be preserved.

    Solution with Websphere Commandline Interface

    Problems 1-3:

    1. Search the HCL Connections documentation for the steps to solve your problem.
    2. Start the wsadmin commandline interface as administrator. ATTENTION: All commands for the commandline interface are case sensitive!
    3. Activate the relevant Jython script.
    4. Perform the relevant Jython commands:
    5. Create the new policy. Remember the policy ID.
    6. Search for the relevant user / community library in the Files module. Remember the library ID.
    7. Assign the policy to the the library with the IDs

    Solution with Connections Administration Toolkit (CAT)

    Step 1: Create a new file policy

    Navigate to Administration – Files, subsection Manage Policies. There you can see all existing file policies including their maximum size. If the available file policies don’t contain a file policy with acceptable maximum size, create a new one by hitting “New Policy”:

    When you hit “Save”, a confirmation popup will summarize the new policy and allow you to enter a comment. All changes, comments, and who made them, are logged by the CAT application.

    Step 2: Set the desired file policy for a user or community file library

    Navigate to Content And Access – Files – Libraries. Filter for the user library (by using the filter setting “Type: Personal”) or the community library (by using the filter setting “Type: Community”).

    Select all libraries for which you want to set the desired file policy. Then click “Set Policy”. In the drop-down list, all available file policies are listed. Choose the file policy that fits your needs.

    After a successful submit, the new file policy will be set for all selected user or community libraries.

     

    Other CAT Features