<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
[<#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??>
<#list app.getAllPSAppPortlets() as appPortlet>
<#if appPortlet.isEnableAppDashboard?? && appPortlet.isEnableAppDashboard()?? && appPortlet.isEnableAppDashboard() == true>
<#if appPortlet.getPSAppDataEntity?? && appPortlet.getPSAppDataEntity()??>
<#assign appDataEntity = appPortlet.getPSAppDataEntity() />
{"type":"app",
"appCodeName":"${appDataEntity.getCodeName()}",
"appName":"${appDataEntity.getLogicName()}",
"portletCodeName": "${appPortlet.getCodeName()}",
"detailText":"${appPortlet.getUserTag()}",
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>
"portletTYpe":"${appPortlet.getPSSysPortlet().getPortletType()}",
"detailImage":"<#if appPortlet.getPSSysPortlet().getPSSysImage?? && appPortlet.getPSSysPortlet().getPSSysImage()?? && appPortlet.getPSSysPortlet().getPSSysImage().getImagePath?? && appPortlet.getPSSysPortlet().getPSSysImage().getImagePath()??>${appPortlet.getPSSysPortlet().getPSSysImage().getImagePath()}</#if>",
"componentName":"app-${srffilepath2(appDataEntity.getCodeName())}-${srffilepath2(appPortlet.getPSSysPortlet().getCodeName())}-portlet",</#if>
"portletName": "${appPortlet.getName()}"}<#if appPortlet_has_next>,</#if>
<#else>
{"type":"app",
"appCodeName":"${app.getPKGCodeName()}",
"appName":"${app.getName()}",
"portletCodeName": "${appPortlet.getCodeName()}",
"detailText":"${appPortlet.getUserTag()}",
"detailImage":"${appPortlet.getUserTag2()}",
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>"portletTYpe":"${appPortlet.getPSSysPortlet().getPortletType()}","componentName":"app-${srffilepath2(appPortlet.getPSSysPortlet().getCodeName())}-portlet",</#if>
"portletName": "${appPortlet.getName()}"}<#if appPortlet_has_next>,</#if>
</#if>
</#if>
</#list>
</#if>
]