掲示板
Sitemap.json
Hi,
I can define my sitemap jason like the following to add asset publisher portlet to my page called Case study. But i tried to pass parameter "anyAssetType" dynamically so that I can display only case study assets only to that page. As Asset type id is dynamic, every time , I deploy the theme, i get a new id and cant filter my display with the type. Is there any way to filter my display dynamically so that i dont have to set the preference again and again manually?
I would appreciate the help, just giving me any api doc or anything is fine.
Thanks in advance.
{
"friendlyURL": "/case-studies",
"name": "Case Studies",
"title": "Case Studies",
"columns": [
[
{
"portletId": "101_INSTANCE_BKPE0LQiS4UI",
"portletPreferences": {
"displayStyle": "full-content",
"enableSocialBookmarks": "false",
"portletSetupShowBorders": "false",
"portletSetupUseCustomTitle": "true",
"portletSetupTitle_en_US": "",
"showAssetTitle":"false",
}
}
]
],
"layoutTemplateId": "1_column"
},
I can define my sitemap jason like the following to add asset publisher portlet to my page called Case study. But i tried to pass parameter "anyAssetType" dynamically so that I can display only case study assets only to that page. As Asset type id is dynamic, every time , I deploy the theme, i get a new id and cant filter my display with the type. Is there any way to filter my display dynamically so that i dont have to set the preference again and again manually?
I would appreciate the help, just giving me any api doc or anything is fine.
Thanks in advance.
{
"friendlyURL": "/case-studies",
"name": "Case Studies",
"title": "Case Studies",
"columns": [
[
{
"portletId": "101_INSTANCE_BKPE0LQiS4UI",
"portletPreferences": {
"displayStyle": "full-content",
"enableSocialBookmarks": "false",
"portletSetupShowBorders": "false",
"portletSetupUseCustomTitle": "true",
"portletSetupTitle_en_US": "",
"showAssetTitle":"false",
}
}
]
],
"layoutTemplateId": "1_column"
},