Hi all,
I'm triing to configure a corporate intranet, and I need to show the My Site dashlet in a site.
Actually My Site dashlet is only available on user dashboard.
I configured a site as landing page for all users, and I need to show the list of created sites.
Env: alfresco Share 7.1 (Bitnami install).
Thanks
So the current behavior you see is expected as it makes sense to see the dashlet for the respective user (as it is from user-dashlet family) and it is meant to be.
If i underatand correctly, you have one site where all users will land by default after login, and you want to show the list of all sites as a site dashlet??
If yes, then i would suggest you to develop a custom site dashlet and pull the list of available sites via REST api and paint the dashlet from the response.
You can take reference from this existing dashlet to create the custom site dashlet of "site-dashlet" family.
/alfresco/site-webscripts/org/alfresco/components/dashlets/my-sites.get.js
/alfresco/site-webscripts/org/alfresco/components/dashlets/my-sites.get.desc.xml
/alfresco/site-webscripts/org/alfresco/components/dashlets/my-sites.get.head.ftl
/alfresco/site-webscripts/org/alfresco/components/dashlets/my-sites.get.html.ftl
Source can be found here: https://github.com/Alfresco/share/tree/master/share/src/main/resources/alfresco/site-webscripts/org/...
Refer this documentation for more details: https://docs.alfresco.com/content-services/6.1/develop/share-ext-points/surf-dashlets/
Thanks Abhinav,
I copied/paste the my-site dashlet, renamed as "site-menu", and changed the family tag as <family>user-dashlet</family>.
It worked well.
Thanks for support.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.