# DEE任务内置对象使用说明-05 宏
在适配器配置界面,可以使用 “${参数名称}”或“$参数名称”的方式动态引用参数容器 里的数据。例如下图文本框内的引用:

在脚本中的参数引用:
String param1 = getParaByName(document,"参数名称")*;*
或
**if** (document.getContext().getParameters().get("参数名称") != null) {
Object param2 = document.getContext().getParameters().get("参数名称").getValue()*;*
}
编撰人:chuhc、het、wujhyf
快速跳转