Skip to content

[Bug] Unable to open pdf file inside code app #413

Description

@Hardesh15

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions