Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Custom user property which is read on page load and modifies UI

Matt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2023

My org is looking into the feasibility of a migration from DC to Cloud. Part of that, of course, is feature parity. We have a custom feature on DC that executes JS on every page load. I'd like to implement this in the Cloud using Forge (or whatever avenue is best). This shouldn't require adding a macro to a page.

Ideally, I'd like to take it a step further and make it a user property rather than just executed regardless. 

How to create a custom user property (an option within the user's profile)? Storage API would be my first guess, Storage API (atlassian.com), but how to I tie that into their user profile properties?

With that enabled/disabled, how do I auto load and execute the app on each page load without requiring a macro?

This is my first adventure in Confluence Cloud/Forge development so any pointers to bits and pieces of this functionality are still appreciated.

TIA!

0 answers

Suggest an answer

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

Atlassian Community Events