Forums

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

Live Fields Cloud: getContext help

David Foote
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.
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
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.
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