# Suppress warning window

**URL:** <https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067>\
**Category:** Photoshop\
**Created:** [November 5, 2023, 7:55pm UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067 "2023-11-05T19:55:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![haller](https://avatars.discourse-cdn.com/v4/letter/h/53a042/32.png) [@haller](https://forums.creativeclouddeveloper.com/u/haller)\
**Post date:** [November 5, 2023, 7:55pm UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067/1 "2023-11-05T19:55:44Z")

</div>

I would like to know if there is a way to suppress this warning window  
There are no errors in debugging  
maybe you need permission in the manifest file,.  
the file I want to open is in the plugin folder

 ![aok](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/2/2a9e5e9d913307c4ba7727e776634899234d0fee.jpeg)

---

<div class="post-metadata">

**Author:** ![vinayKumarG](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/vinaykumarg/32/3225_2.png) [@vinayKumarG](https://forums.creativeclouddeveloper.com/u/vinayKumarG)\
**Post date:** [November 7, 2023, 3:27am UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067/2 "2023-11-07T03:27:25Z")

</div>

@haller if I’m not wrong, you would be using `shell.openPath`, shell.openPath would open the requested file with the system default application(more details [here](https://developer.adobe.com/xd/uxp/uxp/reference-js/Modules/shell/Shell/#openpathpath-developertext)), for which UXP would ask for the user for consent. (which has the option `Remember my choice`, once selected dialog will not be shown on further usage)

Can you provide details on what you are trying to do and may be we can suggest any other alternatives

---

<div class="post-metadata">

**Author:** ![haller](https://avatars.discourse-cdn.com/v4/letter/h/53a042/32.png) [@haller](https://forums.creativeclouddeveloper.com/u/haller)\
**Post date:** [November 7, 2023, 8:05am UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067/3 "2023-11-07T08:05:11Z")

</div>

@vinayKumarG  
Thanks for replying  
in the meantime I found a solution  
I was missing some options in the manifest file,  
these strings and some others that I don’t remember,  
Now I’m at work and I don’t have the whole manifest in sight

requiredPermissions": {  
“allowCodeGenerationFromStrings”: true,  
“localFileSystem” : “request”,  
“clipboard”: “readAndWrite”,

However, I understood that the manifest file is very important for the development of access and saving.

I wonder why a complete manifest with all the accesses and options has never been published,  
It’s probably there but I haven’t found it.

---

<div class="post-metadata">

**Author:** ![Karmalakas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/karmalakas/32/1048_2.png) [@Karmalakas](https://forums.creativeclouddeveloper.com/u/Karmalakas)\
**Post date:** [November 7, 2023, 8:18am UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067/4 "2023-11-07T08:18:05Z")

</div>

If you’re submitting this to Marketplace, it used to reject plugins with `“allowCodeGenerationFromStrings”: true` - you would need to remove this after packaging a plugin if you use Webpack, or change the code to not use JS in HTML tags

---

<div class="post-metadata">

**Author:** ![haller](https://avatars.discourse-cdn.com/v4/letter/h/53a042/32.png) [@haller](https://forums.creativeclouddeveloper.com/u/haller)\
**Post date:** [November 7, 2023, 8:26am UTC](https://forums.creativeclouddeveloper.com/t/suppress-warning-window/7067/5 "2023-11-07T08:26:56Z")

</div>

@karmalaka I did not know this I’ll have to see if deleting the string works fine Thank you
