CS-5879: Update the SPACE_URL removal in Calendar, Contact portlet

Fix description:
	- Update new method to get space ID