cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to set company home as the default?

hsturner
Champ on-the-rise
Champ on-the-rise
Is the anyway to set company home as the default page for all users when they log into alfresco explorer. Our users are being managed by active directory, so I do not have their passwords to log in as those users to change their default start page. Also since we would like all users to go to Company Home by default, it would be much more convenient if this just just be the default page.
8 REPLIES 8

sujaypillai
Confirmed Champ
Confirmed Champ
Please find this setting in <configRoot>\web-client-config.xml. This should be set by default as -

<default-home-space-path>/app:company_home/app:user_homes</default-home-space-path>


Update this value as -

<default-home-space-path>/app:company_home</default-home-space-path>


You may find  <extension>\web-client-config-custom.xml.sample OR copy the existing web-client-config.xml to <extension> path for making this change. Don't update the file directly under <configRoot>\web-client-config.xml to make it upgrade safe.

Hi Sujay,

Thanks for the tip, but it did not work, users still get taken to the My Alfresco page when they log in.

Hey,

Sorry I overlooked the wrong node in xml. Please revert back to the original value for defaul-home-space-path

It should be -
       
         <!– The default location to display when the browse screen is first shown –>
         <!– This value should be one of 'myalfresco', 'userhome', 'companyhome' or 'guesthome' –>
         <initial-location>companyhome</initial-location>


You can get more detail about various settings here - http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/tasks/explorer-config-settings.html

Hi,

I am trying to change the start-location also. But, I need to do that for some users not all of them.
I made a javascript to create the users and I want to set the startlocation to "My Home" myalfresco in the script. But didn't work.

I've tried these:



(1) user.properties["cm:initial-location"]= cm:myFolder;
(2) user.properties["cm:initial-location"]= "myalfresco";
(3) user.properties["cm:initial-location"]= "My Home";



Do you know how to do it?

Thanks

If you are in alfresco share and want to change the landing page then site-index.jsp is the one which you can modify to set the landing page for users. Conditionally you can route it to different pages based on users adding some customized logic for it.

Hope this helps.

Hi

I am not in Alfresco Share.
And I need to change the startLocation only for a kind of users, not all users.
I am using Alfresco 3.2r.
Do you think I can do that just for some users in a javascript?

Thanks in advance for your attention. 

I am not sure just through javascript implementation it can be done. However, There is one way of implementing this though customized java code. Take a look at org.alfresco.web.bean.NavigationBean class processToolbarLocation method. You can customize this class and override above method as required, this way you can take the user to the appropriate landing page conditionally. See if it works for you or not.

Hope this helps.

Thanks Sanjay. that fixed the starting point for my users.