Skip to content

Commit 65b4403

Browse files
added docs on Invisible Panels
1 parent 143aa38 commit 65b4403

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,35 @@ This boilerplate is flavored for a single JSX object attached to helper object `
416416

417417
---
418418

419+
## Invisible Panels
420+
421+
To make one or more of your panels an invisible panel, aka hidden from the Extensions menu, make sure to leave the panelDisplayName as an empty string in `cep.config.ts`
422+
423+
```js
424+
panels: [
425+
{
426+
mainPath: "./main/index.html",
427+
name: "Invisible Bolt CEP",
428+
panelDisplayName: "",
429+
...
430+
}
431+
]
432+
```
433+
434+
You'll want to ensure your panel can be launched from another panel with `csi.requestOpenExtension()` or with an auto-start event in `startOnEvents` in `cep.config.ts` event depending on the app:
435+
436+
```js
437+
startOnEvents: [
438+
"com.adobe.csxs.events.ApplicationActivate",
439+
"com.adobe.csxs.events.ApplicationInitialized",
440+
"applicationActivate",
441+
],
442+
```
443+
444+
Reference the [Adobe CEP Cookbook](https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_11.x/Documentation/CEP%2011.1%20HTML%20Extension%20Cookbook.md) for more info on [invisible panels](https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_11.x/Documentation/CEP%2011.1%20HTML%20Extension%20Cookbook.md#invisible-html-extensions) and [CEP events](https://github.com/Adobe-CEP/CEP-Resources/blob/master/CEP_11.x/Documentation/CEP%2011.1%20HTML%20Extension%20Cookbook.md#invisible-html-extensions)
445+
446+
---
447+
419448
## Troubleshooting Modules
420449

421450
Node.js Built-in modules can be imported from the `src/js/lib/node.ts` file.

0 commit comments

Comments
 (0)