Storage API in UIKit app

Marouane MAJID
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2024

Hello Community,

I'm discovering the confluence integration, and I need to build an app that combines 3 elements:

  • confluence:globalSettings to store some app params using Storage API.
  • macro and its MacroConfig.

 

I have created a uiKit application as the MacroConfig is not supported by the CustomUI apps, in the other side I can't implement resolver to load and save parameters.
when deploying I have this issue.
Error: Error thrown in the snapshot context.
App code snapshot error: Snapshot error occurred: Error: window is not defined
Learn more about the snapshot context at https://go.atlassian.com/forge-snapshot-context.
Can you please advise ?

1 answer

1 accepted

1 vote
Answer accepted
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2024

Welcome to the community @Marouane MAJID !

This question is more suitable for the development community, which is here https://community.developer.atlassian.com/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events