Skip to content

[MWPW-206112]Update supported file type for gen pres and interactive report to pdf only for viewer flow - #880

Merged
Ruchika4 merged 1 commit into
stagefrom
MWPW-206112
Sep 1, 2026
Merged

[MWPW-206112]Update supported file type for gen pres and interactive report to pdf only for viewer flow#880
Ruchika4 merged 1 commit into
stagefrom
MWPW-206112

Conversation

@Ruchika4

@Ruchika4 Ruchika4 commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Restricted gen-presentation-v2 and interactive-report verbs to PDF-only file uploads by replacing allowed-filetypes-study-spaces + allowed-filetypes-eml-msg-images with allowed-filetypes-pdf-only in action-binder.js
  • Removed both verbs from nonpdfSfuProductScreen in target-config.json (non-PDF product screen is irrelevant when only PDF is accepted)
  • Removed both verbs from wordPageCountVerbs in target-config.json (Word page count validation is no longer needed)
  • Deleted the allowed-filetypes-eml-msg-images entry from limits.json as it was exclusively used by these two verbs and is now dead config

Test plan

  • Upload a PDF to gen-presentation-v2 — should proceed normally
  • Upload a PDF to interactive-report — should proceed normally
  • Upload a non-PDF file (e.g. .docx, .pptx, .jpg) to either verb — should be rejected with a file type validation error
  • Verify no regressions on other verbs that use allowed-filetypes-study-spaces (quiz-maker, flashcard-maker, mindmap-maker)

Test Url:

Stage: https://stage--da-dc--adobecom.aem.page/acrobat/campaign/generate-presentation?unitylibs=stage
Branch: https://mwpw-206115--da-dc--adobecom.aem.page/acrobat/campaign/generate-presentation?unitylibs=MWPW-206112

Stage: https://stage--da-dc--adobecom.aem.page/acrobat/campaign/interactive-report?unitylibs=stage
Branch: https://mwpw-206115--da-dc--adobecom.aem.page/acrobat/campaign/interactive-report?unitylibs=MWPW-206112

@aem-code-sync

aem-code-sync Bot commented Sep 1, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@asonnalagi

asonnalagi commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Validated below URL's with/without login flows in branch by uploading below mentioned files.

-EML, MSG
-JPG, JPEG, PNG, and TIFF

PDF
Word (doc, docx)
Excel (xls, xlsx)
Powerpoint (ppt, pptx)
RTF, TXT

https://mwpw-206115--da-dc--adobecom.aem.page/acrobat/campaign/stylize?unitylibs=MWPW-206112
https://mwpw-206115--da-dc--adobecom.aem.page/acrobat/campaign/generate-presentation?unitylibs=MWPW-206112
https://mwpw-206115--da-dc--adobecom.aem.page/acrobat/campaign/interactive-report?unitylibs=MWPW-206112

Only pdf files are accepted

image

Validated quiz-maker, flashcard-maker, mindmap-maker as well for the file upload. All looks fine.

@Ruchika4
Ruchika4 merged commit 24ea63c into stage Sep 1, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants