Product, Libraries & Version
Desktop version 9.10
Goal
I am exploring the platform and the demo applications. Some applications have the channel selector, but others don’t so I’m trying to enable it for them. I’ve enabled channelSelector in the json file and can see the selector, but it doesn’t do anything when I select a color. This is the snippet that I’m using to subscribe:
io.channels.subscribe((client) => {
if (client && client.name) {
setFields(client);
}
});
Hi, can you make sure the Channels API is enabled in the initialization config - something like:
const config = { channels: true };
const io = await IODesktop(config);
It will help if you can also share:
Which demo applications are you using?
Are the apps in Workspace or standalone?
You can temporarily enable logging by adding "logging": true under"details" app json.
Try again and check the application log:
People talk about flashy frameworks, IDEs, and now AI copilots as the ultimate tools for developers. But I think logs hide real superpowers that we often overlook. They’re like truth serum you give to your apps, and they will reveal their secrets. Because they track every action, error, and alert, digging into logs can save you from embarrassing bugs and help you catch issues before they crush end-users’ systems.
Logs provide valuable insights into a program’s activities. Typically, logs offer …
Thank you!
Yes, I’ve enabled channels. Turned out that getMyWorkspace was throwing an error I had to catch, first.
I’m using the Clients Details demo app from the tutorial.