Developers Knowledge Base

Learn how to manipulate, modify, and tune your GeoMedia WebMap, Geospatial Portal and Consumer portal instances.
Showing results for 
Search instead for 
Do you mean 

Configuring workspaces of custom portals

by Technical Evangelist on ‎10-16-2015 08:33 AM - edited on ‎04-06-2017 04:10 AM by Technical Evangelist (640 Views)

Modify the AdminHelper.js file


To make possible assigning workspaces for your custom portal, append/edit the following file

"C:\Program Files\Common Files\Hexagon\Services\AdminInstances\AdminPortal\js\AdminHelper.js"


	var orig = Intergraph.WebSolutions.Core.WebClient.Controls.Instances.InstancesControl.prototype.initialize;
	Intergraph.WebSolutions.Core.WebClient.Controls.Instances.InstancesControl.prototype.initialize = function () {
                //TODO: put your custom portal names in this array
		this._instancesDefaultTypes = this._instancesDefaultTypes.concat(["MyPortal"]);