Can I store data from Forge?

Sharon Gilmore August 11, 2023

I have an app written in Forge which uses Custom UI and has a series of radio boxes.  When the page visitor selects a radio box, I want to store the value(s) they selected, and to show them that they have now voted, and which option they selected.  Ideally I'd also like to show the user how many other respondents picked the same value(s), and allow the page owner to have an overview of all responses.

 

Is there a way to store this?  In Forge UI there's a function called useContentProperty which seems to do what I need, but is there an equivalent in Custom UI?

1 answer

3 votes
Dugald Morrow
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 11, 2023

Hi @Sharon Gilmore ,

Yes, any Forge app can store data, and there are multiple options such as issue, project, page or space entity properties depending on what product the app is installed in. There's also Forge storage. To use Forge storage from a Custom UI iframe, the app needs to invoke its backend function which can then use the Forge storage API.

Also, in the future, it would be better to ask questions about app development in the Atlassian Developer Community where there is a category dedicated to Forge.

Regards,

Dugald

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events