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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.