Guides

Attach a file to a question

This guide maps every current question-submission path on the public site and in the signed-in app, and states one complete spec for multimodal question intake, with safety checks, staff moderation steps, and ready-to-ship checks. Attach a photo, diagram, document, spreadsheet, or code file to a question you ask on Ask, so staff see the detail the words alone do not carry. Use it when a question needs a photo, a diagram, a scanned past paper or a PDF worksheet, and not only words. This page states the formats, the size limits, and the storage rule. It is a specification for the signed-in app. It does not claim an attachment control is live today, and no client ships until the server schema in this page is confirmed in the app slice.

Every current question-submission path and what it can carry today

Read this map first. Only one path can carry a file today, and it is not the question itself. Read this table before you attach a file. Each row states the path, where the pack states it, and the rule that applies today.

Current question paths in the site pack, their file support today, and the canonical guide for each path
PathHow a question is sent todayFile support todayCanonical guide
Ask screen in the signed-in appA signed-in person chooses an assistant for one job and types the question in plain words, then reads an answer with source links and a last checked date.None. No file field is stated in the eight steps. Pasted text can be used for a writing draft, and a draft stays a draft until a person edits and saves it.Ask and check sources
Website widget on a college pageA visitor without an account types a public question in the widget, reads an answer from public approved sources only, rates it helpful or not helpful, or chooses Talk to an office.None. No upload is stated for a visitor, and personal questions route to sign-in or to the named handoff office. A visitor without an account does not attach a file. Public answers use public approved sources only.Website widget and Publish the widget
Public question form on Request a demoA visitor sends name, work email, college or system office, role and a message through the form with data-request question. The form states a reply within one business day and instructs the person not to add student record details.None. Every field is text, and the form submit sends text values only. Fields are name, email, org, role, and message only. No file input is stated, and a file does not change the field rules in Request validation.Request a demo
Hand-off form in the signed-in appA person chooses Talk to an office from an answer screen. The question, the answer shown and the sources tried travel with the hand-off to the named office in the handoff queue.Yes, on the hand-off form only. Accepted formats are PDF, DOCX, PPTX, CSV, TXT, JPG, PNG and WebP, at 10 MB per file and 5 files per hand-off. The file is shown in the hand-off thread only, is never an approved source, and is never cited in an answer.Hand off to an office
Discussion thread under an answerA signed-in person adds a top level clarification or one reply under an answer, with one level of replies only.None. Comments are plain text in the labeled field only, and no files are uploaded in a thread.Discuss an answer
Add a source in the signed-in appStaff add a web page, file or collection as a source, name an owner office, set a review date and submit it for approval. This is not a question path and a person cannot add a file during a chat to make an answer.Yes, as a source only. Accepted types are PDF, DOCX, CSV, TXT and PPTX. Photos and images are not accepted as sources, and a scanned file with no readable text cannot be cited. Text extraction is checked, and only sources in approved status can be cited. A file that should become an approved source follows the source approval path. A question attachment never becomes a source by being attached.Approve a source
Saved and followed form and the reports calculatorA visitor can save a guide or an answer title with a topic and an optional source link, and can enter counts on the reports calculator.None. These forms hold a title, a topic, a link or counts only, with no upload.Guides and Reports
Question attachment on AskLinked from the guides index as Attach a file to a question, with no guide file in this pack. A signed-in person asks on Ask and attaches a file to that question only.No control, no format list, and no limit are stated for a question in the pack. No control is live today. This page is the canonical spec for that path, and no client ships until the server schema in this page is confirmed in the app slice.This page, Attach a file to a question
My Answers importImport uses the my-answers.json form for saved items only.It is not a question attachment and it carries no question file.My Answers and Share an answer
POST /api/filesThe endpoint is named with field file and an optional ref such as case:id.No file type, size, ref pattern, required status, or unknown-field rule is stated in the site pack, and no client ships until the app slice states them. The server schema below states the rules to confirm.Form field standard, server-side validation inventory, correction 8

Gap against campus expectations

  • A photo of handwritten work, a whiteboard or equipment, a diagram, a scanned past paper, a worksheet PDF and a screenshot of an error are common in campus questions. Today each of those must wait for a hand-off, or be described in words only.
  • Waiting for a hand-off loses the link between the file and the exact question, and a person may need an answer rather than an office appointment.
  • A file attached to a question is context for staff and for the person who asked. It is not an approved source, it cannot widen the sources an assistant may use, and no answer can rely on it instead of an approved source. See Build an assistant.
  • Photos taken on a phone can carry location data and can show other people, names, numbers and screens in the background. The spec below states the check before a photo is sent and the removal step after it is sent.
  • iPhone photos in HEIC or HEIF form are not in the accepted list. A student with an HEIC photo needs a stated conversion step, or the upload will fail with no path forward.

Spec for multimodal question intake

Attach the file to the question on the Ask screen in the signed-in app. One question, one thread, one set of limits. The limits below match the hand-off limits already stated on this site, so staff learn one set of limits for a question and for a hand-off. Use one list for the Ask question path and the handoff path, so a reader learns one rule. A file outside the list is not sent in the attachment. Ask the office in your note what format to use instead.

Accepted format, example use, and display rule
CategoryAccepted formatsExample use and display
DocumentsPDF, DOCX, PPTXAssignment sheet, syllabus excerpt, or past paper. Shown in the thread with file name, type, and size.
Spreadsheets and plain textCSV, TXT, MDGrade table, timetable extract, or notes. Shown as text on a phone, with no reformatting of the file.
Images and diagramsJPG, JPEG, PNG, WebPPhoto of a whiteboard, diagram, or screenshot. Shown with alt text from the file name, and the original file on open.
Code and data textJSON, JS, MJS, TS, PY, JAVA, C, CPP, H, CSS, HTML, XML, YAML, YML, LOGCode snippet, error log, or configuration sample for a course question. Shown as text only, never run, never rendered as a live page, and never fetched by another page.

Supported file types

  • Accepted types: PDF, DOCX, PPTX, CSV, TXT, MD, JPG, JPEG, PNG and WebP, and code and data text: JSON, JS, MJS, TS, PY, JAVA, C, CPP, H, CSS, HTML, XML, YAML, YML and LOG. Use one of those types for a question attachment. A JPG file may use a .jpg or a .jpeg file name. A file name is at most 120 characters.
  • Images are accepted here, unlike Add a source, because a photo of handwritten work or a diagram has no text to cite as a source but can be useful context for staff.
  • No other type is accepted on the question form. No archives, executables, installers, or password-protected files are accepted. A ZIP or RAR file is not sent as an attachment. If a file is in another type, do not send it in the question. Ask the office in a note what type to use instead, or hand off with the file on the hand-off form where the same list applies. Send the single file the office needs in an accepted format.
  • HEIC and HEIF are not accepted. On iPhone, set Settings, Camera, Formats to Most Compatible before taking the photo, or export the photo as JPG, then attach the JPG.
  • A file name does not decide the type. The form checks the file type itself, from the file content and the extension, not from the name alone. An SVG file or an executable file is not accepted, even when the file name ends in a listed type. Code and data text files, including HTML, are shown as text only, never run, never rendered as a live page, and never fetched by another page.
  • DOCX, PPTX and PDF files with macros or embedded scripts are not accepted for a question. Save or export a plain copy without macros, then attach that copy.

Size limits

  • Size limit: 10 MB per file, and 5 files per question at most, and at most 25 MB in total per question, and a file name of at most 120 characters.
  • Choose one file at a time and check the file name, type and size shown before you send the question. The form shows the count for each file as 1 of 5, 2 of 5, and so on, with a running total in megabytes.
  • Each image needs a short description in plain words at upload. The question cannot be sent until each image has a description. Use the description also as the text a screen reader announces for the image, shown with alt text from the description and the original file on open.
  • Keep the file to the pages or images the question needs. Split a long past paper to the pages the topic needs, and link the college web page for the rest.
  • If a file is past the size limit, split it or send the college web page link in the question text. Do not send a whole drive or a photo library. Leave out student record details, passwords, and keys. Attach only the file the office or the answerer needs.

How to attach in order

  1. Step 1: Ask first, then attach

    Sign in and confirm the college name at the top of the app is your college. Open Ask, choose one assistant for the job, as in Ask and check sources, and type the question in plain words, stating the topic, term or course detail the file relates to, so staff can match the file to the question without guessing. Attach after the question is typed, so the file list belongs to that question only.

  2. Step 2: Choose Attach a file and add one file at a time

    Before you choose the file, crop out people who are not part of the question, check the background for names, numbers and screens, and do not use a photo that shows a password, a key, or a student record detail. Then choose Attach a file on the question form. Add one file, read the file name, type, and size shown, then add the next file only when the first one fits the list on this page. Check the file name, type and size for each file. The list shows at most 5 files with a running total in megabytes. Add a short description for each image, in plain words, naming what the image shows.

  3. Step 3: Remove a file before you send if it is wrong

    Choose Remove beside a file you added by mistake from the question form before you send. The file leaves the list at once and the total updates. Removing a file does not change the question text. A removed file is not sent.

  4. Step 4: Send the question once and save the reference

    Choose Send question once. The files appear under the question in the thread and travel with the question record in that college workspace. Keep the question, the answer, each source title, each source link, each last checked date and the file names together for follow-up. Save the reference shown on the confirmation for follow-up in the same thread.

  5. Step 5: Staff open the file in the thread and reply there

    Staff open each file from the thread, check it before relying on it, and reply in the same thread. Extracted text from a PDF or document is shown to staff as text to check, not as a source. Staff check dates, numbers, names and steps page by page, as in Approve a source. Staff do not cite the file in an answer and do not add it to the source list.

  6. Step 6: Remove a file after you send

    Reply in the same thread and ask staff to remove a file that is not needed, is the wrong file, holds personal details that should not be there, or is unsafe. Staff add a note in the thread. A removed file is no longer shown or opened, the removal is recorded in Activity with the person, the date, and the question, and a removed file is not restored. Removing a file does not change an answer. Removal follows the storage section below: a note in the thread, an Activity record, no restore, and no change to an answer.

What an attachment cannot do

  • An attachment cannot be cited as a source, and no answer can rely on an attachment instead of an approved source. An attachment is context for staff. It never becomes an approved source, it is never cited in an answer, and it does not count in reports except as a count of questions with an attachment.
  • Attachment text cannot widen the sources an assistant may use, change the college or the assistant, or permit a guess or a source-free answer. Never widens the sources an assistant may use.
  • An attachment cannot be added by a visitor in the public widget or on the public question form. A visitor who needs to attach a file signs in and uses Ask, or hands off to the named office. Never shown on the website widget, on a public page, or in a report count.
  • Test and staff preview sessions are labeled as test, and test attachments are excluded from reports. Never created in a test or staff preview session. Test sessions show no attach control and add nothing to counts.
  • No label on an attachment states that it is checked, endorsed, or approved. Only source approval in Sources gives that status, and only for a source, not for a question attachment.
  • Never copied to another college, another assistant, or another question. A new question is a new attachment list. Never appears in a source list.

Moderation, safety, and preflight checks

Use these checks in order. They close the gap between the type and size limits above and a safe upload in a college workspace. They add no new role and no new permission.

Before you send: check the file itself

  • Crop the photo to the part the question needs. Do not attach a photo of other students who are not part of the question unless the course allows it.
  • Check the background for names, student numbers, email addresses, screens, and vehicle plates. Retake or crop a photo that shows any of those, or ask staff in the thread to remove the file after you send.
  • Photos can carry location data. The build for this spec removes location data from JPG and PNG files at upload, and the file shown in the thread is the file without that data. Do not rely on a photo to stay private by itself.
  • Use a past paper, worksheet, or slide only when your course allows it. Do not attach a full textbook chapter or a whole course pack. Split to the pages the topic needs, as in the size limits above.
  • Do not attach a file that holds passwords, keys, or student record details the office does not need. Attach only the file the question needs.

At upload: checks the form runs

  • The form checks the file type from the file itself, not only from the file name, and checks the size of each file and the count of files, at 10 MB per file, 5 files at most, 25 MB in total, and a file name of at most 120 characters.
  • A file that fails a check is not sent. The form keeps the question text on the page, names the file that failed, and states the accepted type list and the 10 MB limit in plain words, so the person can remove that file and try again.
  • Location data is removed from JPG and PNG files at upload, as stated above. The author sees the file name, type, and size before send, and staff see the file without location data in the thread.
  • No SVG or executable file is accepted, even when renamed, and no DOCX, PPTX, or PDF with macros or embedded scripts is accepted for a question. Code and data text is shown as text only, never run or rendered.
  • Test attachments are labeled as test and are excluded from reports, as with test questions. A test file is never shown as a live attachment. Test sessions show no attach control and add nothing to counts.

After you send: who sees it, and how staff moderate it

  • Attachments appear under the question only, for people who can view that question in that college. There is no public link, no widget view, and no system view view of an attachment.
  • Any signed-in person who can view the question can flag a file in the thread in plain words, stating what looks wrong. Flagging does not delete the file at once.
  • Staff who can view the question can hide a file at once while they check it, add a note in the thread, and record the hide in Activity with the person, the date, and the question. A hidden file does not open for other readers.
  • Staff remove a file that is not needed, is the wrong file, is unsafe, or holds personal details that should not be there. Removal follows the storage section below: a note in the thread, an Activity record, no restore, and no change to an answer.
  • If a file cannot be opened, or text extraction is wrong, staff say so in the thread and ask for the same detail in words or in a text PDF, DOCX, or TXT file. Staff do not guess a detail that an unreadable file was meant to show, and staff do not edit a file to fix it.

What moderation does not do

  • Moderation of an attachment is not source approval. A file that passes safety checks still cannot be cited, widen the sources an assistant may use, or change an answer.
  • Staff do not edit an attachment to make it safe. Staff ask the author for a corrected file or for the detail in words, and the author sends the corrected file as a new attachment, checked again from the start.
  • A corrected file gets a new file name check, a new type check, and a new size check. It does not replace the removed file in place.
  • Removal of a file does not remove the question, the answer, its sources, or its rating, and it does not change answered share or helpful rate counts.
Campus request, file to attach, and description to add for a question attachment
Campus requestFile to attachDescription to add
Photo of handwritten workJPG or PNGName the topic and the page, such as handwritten work for the spring add deadline, page 1
Diagram, whiteboard, or equipmentJPG, PNG, or WebPName what the diagram shows and which part the question asks about
Scanned past paperPDFName the paper, the term, and the pages included
WorksheetPDF, DOCX, or TXTName the worksheet and the question numbers included
Screenshot of an error or a portalPNG or JPGName the screen and the step where the error shows
Slides for a topicPPTX or PDFName the slide topic and the slide numbers included
Data for a calculationCSV or TXTName the data and the columns included, in plain words
Typed noteDOCX, TXT, or MDName the topic the note covers
Code snippet, error log, or configuration sampleJSON, JS, MJS, TS, PY, JAVA, C, CPP, H, CSS, HTML, XML, YAML, YML, or LOGName the language and what the snippet or log shows, shown as text only

Workspace and role permissions

Use the existing Ask access for that college. No new role and no new permission is added by this spec. One rule applies to every attachment on a question and on a handoff, so a file is never kept in two places.

Who can attach

Signed-in people who can open Ask in that college workspace can attach a file to their own question. That includes students, prospective students once signed in, faculty, help desk staff, student services staff and college administrators in that college. A visitor without an account cannot attach a file in the widget or on the public form.

Who can open an attachment

Only people who can view that question for that college can open its attachments. Reading full question text and exporting detail need a separate permission and are audit logged, as stated on Reports and in Set retention and access. A person in another college cannot open the attachment. Only people who can view that question for that college can open the file. Reading full question text keeps the separate detail permission and audit entry stated on Reports. Every query filters by that college workspace.

One college at a time

Every question and its attachments belong to exactly one college workspace. System view shows totals across colleges and never mixes question text or file content across colleges, and no attachment is opened from system view. The file is kept only in the college workspace that owns the question, with that question record, and with tenant scope from the signed-in session. Every query filters by that college workspace.

Display behavior

  • Attachments appear under the question in the thread, in the order added, with file name, type and size for each file.
  • An image shows a preview with its file name and the short description the author added, so a screen reader can announce what the image shows. Shown with alt text from the file name and the description, and the original file on open. A PDF shows a file card with file name, type and size, and the first page preview where the app can show it. Spreadsheets, plain text and code are shown as text on a phone, with no reformatting of the file, and code is shown as text only, never run, never rendered as a live page, and never fetched by another page.
  • Each file has a labeled open control, focus stays visible by keyboard, tap targets are at least 44 pixels, and the layout stacks to one column on a phone. See Accessibility.
  • Staff open the file from the thread. Extracted text from a PDF or document is shown to staff as text to check, not as a source. Staff check dates, numbers, names and steps page by page, as in Approve a source.
  • An attachment does not appear on the answer, is not listed as a source, does not change the last checked date of any source, and does not count in reports except as a count of questions with an attachment. Never shown on the website widget, on a public page, or in a report count.

Storage, retention and removal

  • The file is kept only in your college workspace, with that question. It follows the same college data-use rules and retention rule as the question record. Follow Set retention and access and read Security and privacy. The file is kept only in the college workspace that owns the question, with that question record, and with tenant scope from the signed-in session. Every query filters by that college workspace.
  • In session-only mode, attachments are kept only for the session and nothing is kept after the session ends, and the screen states that rule. In session-only mode, nothing is kept after the session ends, and the screen states that rule instead of claiming the file was saved. In retention mode, expired files are deleted on schedule with the record and the deletion is logged. Expired files are deleted on schedule and the deletion is logged.
  • College questions, uploads and answers are never used to train, fine-tune or improve any outside system. That rule is locked at platform level. College questions, uploads, and answers are never used to train, fine-tune, or improve any outside system.
  • Do not add a file that holds passwords, keys or student record details the office does not need. Attach only the file the question needs. Leave out student record details, passwords, and keys. Attach only the file the office or the answerer needs.
  • After you send the question, reply in the same thread and ask staff to remove a file that is not needed, is the wrong file, or holds personal details that should not be there. Staff remove the file, add a note in the thread, and record the removal in Activity with the person, the date and the question. A removed file is not restored, and removing a file does not change an answer. A removed file is no longer shown or opened, the removal is recorded in Activity with the person, the date, and the question, and a removed file is not restored.

Failure handling

  • If a file is in a wrong type or past the size limit, the form states the type list and the 10 MB limit in plain words, keeps the question text on the page, and lets the person remove the file and try again.
  • If text extraction misses pages or puts text in the wrong order, staff say so in the thread and ask for the same detail in words or in a text PDF, DOCX or TXT file. Do not guess a detail that an unreadable file was meant to show.
  • If an attachment check does not complete for a question, the screen shows the unavailable wording in Build an assistant, lists no source for that check, and offers the hand-off. It must not claim that no approved source covers the question for an unavailable check.

Server schema required before a client ships

This section states the schema the app slice must confirm before any attach control ships. It follows correction 8 in Form field standard and the field rules in Request validation. Do not ship the client in the site slice until each row is confirmed in the app slice in the same release.

POST /api/files schema to confirm, with the rule for each field
FieldRule to confirm
file, form fieldRequired, one file per request. File type must be in the format list on this page, checked from the file content and the extension, not from the name alone. A type outside the list is a 400 with fields for file, never a 500 and never a silent conversion.
ref, optionalPattern question:id for a question attachment and handoff:id for a handoff attachment, where id is the record in the signed-in college workspace. A ref from another college is a 400 for ref and never opens that record.
SizeAt most 10 MB per file and at most 25 MB in total per record, counting files already on that record. A file past the limit is a 400 for file.
CountAt most 5 files per record. A sixth file is a 400 for file, with the existing list kept on the page.
Unknown fieldsAny field other than file and ref is a 400 naming that field, never ignored. Signed-in routes take tenant scope only from the session, never from the body.
ResponseSuccess returns ok true with data holding file name, type, size, and the record id. Error returns ok false with a plain message in error and fields per field, as in Request validation. No secret, address, or internal detail is returned.

Until that schema is confirmed, the Ask screen shows no attach control and this page stays a specification. A guide must not state a shipped limit in page text before the code that sets it ships.

Try the format and size checker on this page

Example only. Nothing entered here is sent to a server and nothing is saved. Enter one file at a time as you would add it on Ask.

Fields marked are required. At most 5 files, 10 MB per file, and 25 MB in total apply on Ask.

Write the file name with its extension, such as diagram.png or notes.md.

Write the size as shown by your device, in megabytes. One file is at most 10.

No file checked yet on this page.

    Empty states for attachments

    Keep the question heading and the Ask field visible when a list is empty. Show one empty state per list, with icon, title, one line of explanation, and one primary action.

    No attachments yet

    Title: No files attached yet. Explanation: This question has no file attached. Primary action: Attach a file. Counts: Showing 0 of 0 files, with space for at most 5 files.

    Attachment limit reached

    Title: Attachment limit reached. Explanation: This question already holds 5 files, or the total is past 25 MB. Primary action: Remove a file. A sixth file is not added and no send is made.

    Checks before you rely on an attached file

    Do each check in the app. If a check fails, ask for the detail in words or in an accepted format instead of relying on the file.

    • The file list names the college workspace and the question it belongs to, the college name at the top of the app matches, and each file shows file name, type, and size
    • Each file is in the format list on this page, is at most 10 MB, the list holds at most 5 files, and the total is at most 25 MB
    • The file is shown in the thread only, is not listed as a source, and is not cited in an answer
    • A file that does not open is reported in the thread, with the same detail asked for in words
    • Personal questions stay signed in, public answers use public approved sources only, and test sessions show no attach control

    Ready-to-ship checks before you publish attachment intake

    Run each check in a test college workspace. If a check fails, fix it before you publish. Each check states the field, the limit, and the result to confirm.

    1. Field and limits check

      Confirm the field is labeled Attach a file, the accepted list is PDF, DOCX, PPTX, CSV, TXT, MD, JPG, JPEG, PNG, WebP and code and data text JSON, JS, MJS, TS, PY, JAVA, C, CPP, H, CSS, HTML, XML, YAML, YML, LOG, one file is chosen at a time, the count shows as 1 of 5 and so on, a running total in megabytes is shown, the limit is 10 MB per file, 5 files at most, 25 MB in total, a file name of at most 120 characters, and each image needs a short description before send.

    2. Wrong type and renamed file check

      Try an HEIC file, an SVG file, a ZIP file, an HTML file renamed to end in .pdf as a rendered document, and an executable file renamed to end in .pdf. Confirm each file is not sent as a document, the question text stays on the page, and the form names the file that failed and states the accepted list. Confirm a code or HTML file accepted as text is shown as text only, never run and never rendered as a live page.

    3. Size and count check

      Try a file past 10 MB, a sixth file on one question, and a set of files past 25 MB in total. Confirm neither file is sent, the five files already chosen stay on the form, and the form states the 10 MB limit, the 5 file limit and the 25 MB total in plain words.

    4. Location data and personal detail check

      Upload a JPG photo that carries location data and a photo that shows a name or a number in the background. Confirm the file shown in the thread is the file without location data, confirm the author saw the preflight check before send, and confirm staff can hide and remove the file with a thread note and an Activity record.

    5. Source and report check

      Ask a question with an attachment where an approved source covers the question, and a question where no approved source covers it. Confirm no answer cites the attachment, no answer widens the sources for the attachment, a not-known answer lists no source, and reports count only questions with an attachment.

    6. Access and display check

      Confirm the attachment shows under the question only, with file name, type, and size, an image preview with its description and alt text, a labeled open control, focus visible by keyboard, tap targets of at least 44 pixels, and a one column layout on a phone. Confirm a person in another college, a visitor on the widget, and system view cannot open the attachment. Confirm tenant scope comes only from the signed-in session and every query filters by that college workspace.

    7. Test session check

      Ask a test question with an attachment in a test or staff preview session. Confirm test sessions show no attach control, a test attachment is labeled as test where a preview allows it, is excluded from reports, and is never shown as a live attachment or as an approved source.

    8. Server schema, checker and empty state check

      Confirm each POST /api/files schema row on this page is confirmed in the app slice in the same release before any client ships, confirm the format and size checker on this page passes and fails as stated with nothing sent or saved, and confirm the empty states show No files attached yet with Showing 0 of 0 files and Attachment limit reached past 5 files or 25 MB, each with one primary action.

    Next guide

    Ask in plain words, check each source, and keep the answer with its sources.