• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

how to run own html file in UXP web view

New Here ,
Nov 13, 2022 Nov 13, 2022

Copy link to clipboard

Copied

hi
i am a newbie in UXP and javascript itself. Can i use my own html file to display in uxp web view.

i write the following code but it is giving error.

<webview style="border: 2px solid black;" id="webviewSample" width="100%" height="500px" style="margin-top:10px;" src="./published/NewProject1.html" uxpAllowInspector="true"></webview>

DETAIL:
i actually want that the user of this plugin can run hie html file and could take the snapshot , which will become a layer in the photoshop.


REGARDS
TOPICS
Actions and scripting , Windows

Views

26

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation