Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Bug] Unable to open pdf file inside code app

Open
#413 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
react, typescript
Domain
frontend, web-dev

Research direction

Start by reproducing the PDF iframe flow in a published Power Apps Code App, comparing it with the local-host behavior. Check the local worker and byte reconstruction path described in the issue, especially with files larger than 5 MB. Done means the environment limitation or a reproducible fix is identified and documented with the relevant error details.

Written by the indexing model from the issue text.

Description

bug

Describe the bug

Unable to open pdf inside iframe via flow
Unable to open pdf file inside code app

Expected behavior

It would be easy to pass pdf file content from flow and render inside iframe but seems power app's environment blocking the pdf rendering.

Pdf are working fine inside iframe on local host but after publishing it blocked by the environment

Actual behavior

Screenshots or Error Messages

Environment information

  • Framework, build tool or relevant package used: [React,Vite, Webpack, etc]
  • Any connection/components: [Office365, SQL, etc]

React typescript

Additional context

External worker are also blocked in the environment if we try another way around. So i disable the external worker and use local worker then reconstruct the pdf via bytes which is causing issue when pdf file is larger than 5mb.

Dominant language
TypeScript
Stars
504
Forks
145
Avg merge
4h 3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerAppsCodeApps

All issues in microsoft/PowerAppsCodeApps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.