Hi,
I’m trying out a forge custom UI using the confluence space page template that comes up with Forge Install, but before even changing anything it seems like the default example resolver is not loading anything into the page, if I change the html directly I can change what shows up but it doesn’t seem like the resolver is working.
Is this just in beta mode and not ready yet or am I doing something wrong / haven’t done something I need to?
I am seeing similar behaviour. I took the template, renamed the module from hello-world to something else, and it won’t work. The template is supposed to display “Loading…” until getText is invoked, then replace it with the returned data “Hello, world!”. Instead, the “Loading…” text is never replaced and I see a console error. The “hwir-new-request” is the key I selected for the confluence:spacePage module:
global-bridge.js:1 Uncaught (in promise) Error: Extension "hwir-new-request" does not exist, the app may have changed or no longer be installed in this context
at invoke (https://confluence-v1.prod.atl-paas.net/master/53933.JKepTLTBVN.js:1:15499)
at async https://confluence-v1.prod.atl-paas.net/master/53933.JKepTLTBVN.js:1:9311
Error: Extension "hwir-new-request" does not exist, the app may have changed or no longer be installed in this context
at lt.error (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:23327)
at Object.<anonymous> (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:31106)
at JSON.parse (<anonymous>)
at o (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:30965)
at xt (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:31118)
at Mt.a.on (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:35782)
at Mt (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:35919)
at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:41908
at Function.t.try (https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:14391)
at https://forge.cdn.prod.atlassian-dev.net/global-bridge.js:1:41705
I’m also observing that the spacePage only appears in the page list occasionally. When I load a page in any space, it may be there and it may not.
There was one more change I made. I added read scope for jira-work in anticipation of needing it. Removing the scope makes the module function, but to add API calls in my resolver I need to re-add the scope and the module breaks.
As I understand, the change in scope is supposed to trigger an authorization page, but that isn’t happening.