Right now, preview does not show the macro args that are used in the plugin like it does when you run a pipeline. This causes issues because a user has to remember those. They should be automatically populated.
Also, if there are namespace or cdap preferences for the value, they should be auto populated.
Added feature where macro arguments are also listed in the runtime arguments of preview mode, just like when running a new pipeline.
For real pipelines, the UI is using
to get the PluginInstanceDetail from the appSpec for each stage. Preview cannot do the same because backend does not have the pipeline config or the app spec until you start the preview. So backend can hardly have a way to figure out the macros for a preview.