Skip to main content
dave.goodbourn
Participant
Mar 12, 2026 3:00 PM UTC
Answered

CEP plugin JSX function won't return an object

Hi,

I have a CEP plugin that works great in PPRO but is having a problem in AE. I have a simple function in a jsx file to return an object. I’ve tried returning the object or even a string with JSON.stringify() but the stringify seems to fail and return nothing and the object is just a string “object object”. The same code works in PPRO. I’ve tried this on a Mac (Tahoe) and Windows 11 but they both have the same problem.

All I need to do is list out all the items in the project.

Has anyone else seen this problem before? I’ve tried AE 2024/25/26.

 

Any help would be amazing as it’s very odd!

    dave.goodbourn
    dave.goodbournCorrect answer
    Participant
    Mar 13, 2026 9:02 AM UTC

    A quick update. I realised that AE doesn’t support JSON where as PPRO does, so by adding the JSON in Javascript (Thanks Douglas!) it’s now all working.

    1 reply

    dave.goodbourn
    dave.goodbournAuthorCorrect answer
    Participant
    Mar 13, 2026 9:02 AM UTC

    A quick update. I realised that AE doesn’t support JSON where as PPRO does, so by adding the JSON in Javascript (Thanks Douglas!) it’s now all working.

    Translate