Skip to main content
dave.goodbourn
Participant
March 12, 2026
Answered

CEP plugin JSX function won't return an object

  • March 12, 2026
  • 1 reply
  • 31 views

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!

    Correct answer dave.goodbourn

    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
    March 13, 2026

    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.