[Bug] Unable to open pdf file inside code app
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
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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/PowerAppsCodeApps
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
microsoft/PowerAppsCodeApps#465 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/PowerAppsCodeApps#463 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/PowerAppsCodeApps#462 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/PowerAppsCodeApps#461 ·
-
bug
Difficulty 5/5 Over a week Newbie friendliness 28/100
microsoft/PowerAppsCodeApps#460 · 2 comments ·
All issues in microsoft/PowerAppsCodeApps
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug v2
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
modelcontextprotocol/inspector#2458 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
carbon-design-system/ibm-products#9907 ·