COMMUNITY-CLOUD-CONSULTANT practice question 8 of 35

You are creating a community whereby your customers will be able to upload photos of themselves with your products to a contest chatter group. You want to make sure only photo file extensions are allowed e.g. (.jpg, .png, .gif) and only up to 500mb. What steps would you take to enable this?

Full set: 288 questions
Answer options
A: Define the file size limit in the Community Manager but it's not possible to limit the file type
B: Define the file types and size limit in the Community Manager under Administration Correct answer
C: Write an apex trigger on the Feed Object
D: Define the file types in the Community Builder but it's not possible to restrict the file size
E: Download a 3rd party photo upload component from the AppExchange
Correct Answer:
B. Define the file types and size limit in the Community Manager under Administration
Explanation

Salesforce Experience Cloud provides native, declarative controls for file uploads. Within Experience Workspaces (formerly Community Manager), the Administration section contains a Preferences page. On this page, administrators can configure site-wide file settings, including specifying the "Max file size in MB" and defining a comma-separated list of "Allow only these file types." This approach directly meets the requirements to limit both file size and type without requiring custom code or external applications.

Why Incorrect

A: Incorrect. File types can be restricted natively in the same administrative area where the file size limit is set. C: Incorrect. An Apex trigger is a programmatic solution. A declarative option exists and is the best practice in this scenario. D: Incorrect. The maximum file size can be restricted natively along with the allowed file types in the administration settings. E: Incorrect. A third-party component is unnecessary as this functionality is a standard, built-in feature of Experience Cloud.

References

1. Salesforce Help

Set File Size and File Type Limits in Your Experience Cloud Site: This document explicitly details the procedure. It states

"You can set limits on the size and type of files that can be uploaded to your Experience Cloud site... From Setup... click Workspaces next to your site. Select Administration | Preferences. In the Files section

set your preferences... For Allow only these file types

enter a comma-separated list of file extensions."

Source: Salesforce Help. Title: Set File Size and File Type Limits in Your Experience Cloud Site.

2. Salesforce Help

Experience Workspaces: This document outlines the navigation and purpose of Experience Workspaces

confirming that Administration is a key area for site management. The path Workspaces > Administration > Preferences is the standard location for these settings.

Source: Salesforce Help. Title: Navigate Experience Workspaces.

3. Trailhead

Experience Cloud Basics

Set Up Your Experience Cloud Site: This module covers the fundamental setup of an Experience Cloud site

guiding users through the Administration workspace where preferences

including member access and file settings

are configured.

Source: Salesforce Trailhead. Module: Experience Cloud Basics. Unit: Set Up Your Experience Cloud Site.

Scroll to Top