@pkrishna: Perhaps I’m doing something wrong. Here is the manifest as it exists currently:
{
“id”: “btc4AID”,
“name”: “BLOX Total CMS”,
“version”: “6.0.0”,
“main”: “idClient.html”,
“host”: [
{
“app”: “ID”,
“minVersion”: “18.5”
}
],
“manifestVersion”: 5,
“entrypoints”: [
{
“type”: “panel”,
“id”: “BLOX_Total_CMS”,
“icons”: [
{
“width”: 23,
“height”: 23,
“path”: “icons/dark.png”,
“scale”: [
1,
2
],
“theme”: [
“darkest”,
“dark”,
“medium”
]
},
{
“width”: 23,
“height”: 23,
“path”: “icons/light.png”,
“scale”: [
1,
2
],
“theme”: [
“lightest”,
“light”
]
}
],
“minimumSize”: {
“width”: 230,
“height”: 200
},
“maximumSize”: {
“width”: 2000,
“height”: 2000
},
“preferredDockedSize”: {
“width”: 300,
“height”: 300
},
“preferredFloatingSize”: {
“width”: 300,
“height”: 300
}
}
],
“icons”: [
{
“width”: 48,
“height”: 48,
“path”: “icons/icon-48x48.png”,
“scale”: [
1,
2
],
“theme”: [
“darkest”,
“dark”,
“medium”,
“lightest”,
“light”,
“all”
],
“species”: [
“pluginList”
]
}
],
“requiredPermissions”: {
“clipboard”: “readAndWrite”,
“launchProcess”: {
“schemes”: [
“https”,
“http”
]
},
“localFileSystem”: “fullAccess”,
“network”: {
“domains”: [
“https://.bloxcms.com",
"https://bloximages..vip.townnews.com”,
“https://.townnews.com"
]
},
“webview”: {
“allow”: “yes”,
“domains”: [
"https://.bloxcms.com”,
“https://.townnews.com",
"https://.leeent.net”,
“https://admin.dev1.vip.inn.mwn.leeent.net”
]
}
}
}
(mercy that doesn’t post nice-sorry)
And then in the .html file it specifies I have this head:
<head>
<link rel="stylesheet" href="../psClient.css" />
<meta charset="UTF-8" />
<script src="idClientMain.js"></script>
<title>UXP Client</title>
</head>
Both I and VS Code see the psClient.css
file in that ".//psClient.css"
directory.
And here is an image of the directory structure with the html and the desired css file:
But UDT 1.9 shows this error:
Uncaught Error: Error: Failed to load CSS file: ../psClient.css Failed to invoke the stat. File Path: /Users/jwinters/uxp-client/uxp/UXP_client/btc4AID/psClient.css
or with more detail, this image:
So,:
a) do I have the permission option stated incorrectly in the manifest?
b) do have the path in the HTML incorrect?
c) or, is UDT unable to see outside the root folder of it’s manifest file?
Hopefully I just have something wrong. Would really like to share the CSS file directly.