09-03-2025 07:19 AM - edited 09-03-2025 07:19 AM
Hi,
following this topics:
and
I would like to change de default landing page after login.
Well, if i tightly follow the topics and start the solution with docker (run.bat build_start), than it works as expected!
While if I create the amps and deploy it to my test environment than, the redirect does not works and, after the login I always see the user dashboard.
May you please help?
Please notice that I can see the package deployed on "Module Deployment" console at ../share/service/modules/deploy.
Thanks a lot.
Kind regards.
01-15-2026 10:47 AM
Thanks @roberto_gamiz but it does not works for me... and I don't know why.
01-15-2026 01:51 PM
Did you test it on a clean installation? Have you got deployed more customizations on your installation?
Regards!!
Roberto Gámiz Sánchez
Alfresco Content Services Engineer
01-16-2026 07:15 AM
Let me do a recap: the project above is a customization of the following https://github.com/Alfresco/alfresco-sdk-samples/tree/alfresco-51/all-in-one/add-surf-dashlet-and-pa... that is official and mentioned here https://docs.alfresco.com/content-services/latest/develop/share-ext-points/surf-pages/#sample-code.
Now, also if I use these official project it works on docker and doesn't works on my installation. Moreover I've installed an older version of alfresco on my pc in order to have a fresh new installation and the simple deploy of the add-surf-dashlet-and-page-share-1.0-SNAPSHOT.jar works.
So the scenarios are these:
Alfresco 5.2.f on my pc - it works these are the modules deployed |
Alfresco v23.3 on a server - it does not works these are the modules deployed (here you can't see add-surf-dashlet-and-page-share module because I've undeployed it) |
Alfresco 25.2 on docker with sdk - it works these are the modules deployed |
This is the only custom related to share so I hope that there isn't an interference form other modules.
01-16-2026 08:33 AM
The same things happens on prod environment where i have:
Alfresco v23.3 on PROD server
these are the modules deployed (here you can see add-surf-dashlet-and-page-share)
I'm going crazy... 🙂
01-16-2026 01:18 PM - edited 01-16-2026 01:21 PM
Hello,
What is content-tutorial-edodtosgd-share? Could it be interfering? Could you undeploy it and try again?
Regards
Roberto Gámiz Sánchez
Alfresco Content Services Engineer
01-19-2026 02:41 AM
content-tutorial-edodtosgd-share is a customization of this: https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html
I have tested the landing page also without it and the issue is always the same so about me it does not interfere.
How can I debug it?
01-27-2026 05:28 AM
I did another test on another environment with alfresco 23.4 on windows and it does not works.
So in order to recap the scenario is this:
Alfresco 5.2.f on my pc with windows - it works Alfresco v23.3 on TEST env01 server - it does not works Alfresco v23.3 on PROD env01 server - it does not works Alfresco 25.2 on docker with sdk - it works Alfresco v23.4 on TEST env02 server - it does not works |
It could be something related to v23.x?
Any idea?
Does anyone have the same problem?
There is a way to debug?
10-29-2025 10:53 AM
My way to do this is to create a new sitepreset and set a full dashboard xml preset fot that new site preset for example "sitepippo" under the file in the path "web-extension/site-data/presets/sitepippo-presets.xml"
<?xml version='1.0' encoding='UTF-8'?>
<presets>
<preset id="sitepippo">
<components>
<component>
<scope>page</scope>
<region-id>title</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/title/collaboration-title</url>
</component>
<component>
<scope>page</scope>
<region-id>navigation</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/navigation/collaboration-navigation</url>
</component>
<component>
<scope>page</scope>
<region-id>component-2-1</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/site-search</url>
<properties>
<height>58</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-1-1</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/xxx/xxx</url>
</component>
<component>
<scope>page</scope>
<region-id>component-1-2</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/yyy/components/dashlet/yyy</url>
</component>
<component>
<scope>page</scope>
<region-id>component-1-3</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/colleagues</url>
<properties>
<height>126</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-2-2</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/zzz/documents-scadenze</url>
<properties>
<height>78</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-2-3</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/activityfeed</url>
<properties>
<height>147</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-2-4</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/docsummary</url>
<properties>
<height>82</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-3-1</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/xxx/xxx</url>
<properties>
<height>90</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-3-3</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/xxx/xxx</url>
<properties>
<height>63</height>
</properties>
</component>
<component>
<scope>page</scope>
<region-id>component-3-4</region-id>
<source-id>site/${siteid}/dashboard</source-id>
<url>/components/dashlets/calendar</url>
<properties>
<height>232</height>
</properties>
</component>
</components>
<pages>
<page id="site/${siteid}/dashboard">
<page-type-id>generic</page-type-id>
<title>Pippo Site Dashboard</title>
<title-id>page.siteDashboard.title</title-id>
<description>Pippo site's dashboard page</description>
<description-id>page.siteDashboard.description</description-id>
<template-instance>dashboard-3-columns</template-instance>
<authentication>user</authentication>
<properties>
<sitePages>[{"pageId":"dashboard"}, {"pageId":"documentlibrary"}]</sitePages>
<dashboardSitePage>true</dashboardSitePage>
<!-- <siteLogo>workspace://SpacesStore/1181d7c0-9086-4c5a-ab2f-9c693ed3c59e</siteLogo> -->
</properties>
</page>
</pages>
</preset>
</presets>
Explore our Alfresco products with the links below. Use labels to filter content by product module.