Live Fields Cloud: getContext help

David Foote
Contributor
December 23, 2024

Hi all,

I've been enjoying playing around with the new Life Fields Cloud addon by Appfire.

However, I am running into of a roadblock when using the getContext() function. 

I was hoping to use it to do some additional evaluation on a field change vs a page load, but all I seem to get back from the function is an empty object:
getContext.png

The script I'm using to try and figure it out is pretty simple:

 

const c = getContext();
logger.debug(c);
The documentation indicates it should include a lot of information but I am not seeing any.
Any ideas or help would be much appreciated!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
1 vote
Answer accepted
David Foote
Contributor
December 23, 2024

Turns out using "await" was necessary!

const c = await getContext();
logger.debug(c);
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events