How to retrieve macro parameters in custom macro editor?

Hi,

I am creating a macro that has a custom macro editor using Confluence Connect. I have found that I am unable to retrieve the macro configuration parameters when editing. How can I set the configuration form to have the previous saved parameters?