iPortal 11i(2022) Interface Changes

Feedback


Java API Changes

Package Class/Interface Field/Method/Property/Event Note

com.supermap.iportal.web.commontypes

DBVersion

V00_111

V00_112

V00_114

V00_116

New Enumeration Values

Credential

 

New Class

CredentialType

 

New Enumeration Class

ArcGISRefreshTokenConfig

 

New Class

ArcGISGenerateTokenConfig

 

New Class

HttpAuthBasicConfig

 

New Class

HttpAuthBearerConfig

 

New Class

TokenAsQueryParamConfig

 

New Class

ServiceInfo

credentialId

New Field

CredentialSearchParameter

 

New Class

InternetBuildinMap

 

New Class

MvtBuildinMap

 

New Class

ViewerMapBuildinMap

 

New Class

QuotaType

INSIGHT_WORKSPACE

MAP_DASHBOARD

New Enumeration Values

OperationType

 

New Enumeration Class

OperatedResourceItemSearchParameter

  New Class

OperatedResourceItem

 

New Class

REST  API Changes

Module Resource Name Resource/Parameter/Request/Representation Note

portal

credentials

 

GET request: Query credentials based on query parameters.

Query parameters: CredentialSearchParameter

Response: Page<Credential>

New Resource

iportal/web/mycontent/credentials

POST request: Add a credential.

Request body: Credential

Response: MethodResult

credential

GET request: Get a credential of the current user

Path parameters: id

Response: Credential

New Resource

iportal/web/mycontent/credentials/{id}

PUT request: Update one of the current user's credentials.

Path parameters: id

Request body: Credential

Response: MethodResult

DELETE request: Delete a credential of the current user.

Path parameters: id

Response: MethodResult

updateAppsConfig

PUT request: iportal/apps/config.json

The request body adds a configuration item: "servicePreviewConfig".

Description: To configure the Service Preview basemap.

Request body changes.

The configuration item "commonConfig" adds: "googleMapsAPIKey", "baiduMapsAPIKey", "tencentMapsAPIKey".

Description: Configure the keys of Internet maps (including Google Maps, Baidu Maps, and Tencent Maps) used by all WebApps (including DataViz, DataInsights, MapStudio, and Service Preview).

Request body changes.

The configuration item "mapStudioConfig" adds: "mapCenterX", "mapCenterY", "level".

Description: Set the default center point and zoom level of the MapStudio basemap

getAppsConfig

GET request: iportal/apps/config.json?scope=["servicePreviewConfig"]

a) The query parameter “scope” adds enumeration value: "servicePreviewConfig"

b) The response body adds "service preview" related configuration items ("servicePreviewConfig")

GET request: iportal/apps/config.json?scope=["mapStudioConfig"]

Response body changes.

The configuration item "mapStudioConfig" adds: "mapCenterX", "mapCenterY", "level".

Description: Return the default center point and zoom level of the MapStudio basemap

GET request: iportal/apps/config.json?scope=["commonConfig"]

Response body changes.

The configuration item "commonConfig" adds: "googleMapsAPIKey", "baiduMapsAPIKey", "tencentMapsAPIKey".

Description: Return the keys of Internet maps (including Google Maps, Baidu Maps, and Tencent Maps) used by all WebApps (including DataViz, DataInsights, MapStudio, and Service Preview).

getRecentlyOperatedResources GET request: Get the resources recently viewed and edited by the current user.
Query parameters: OperatedResourceItemSearchParameter
Response: Page<OperatedResourceItem>

New Resource

iportal//web/mycontent/recent/resources

getPointOnSurfaceTiles

GET request: Get points on polygon data and generate vector tiles

Path parameters:

String dataid
Integer x
Integer y
Integer z

Request parameters:

String[] returnedFieldNames
Integer epsgCode

Response: byte[]

New Resource

iportal/web/datas/{dataId}/structureddata/pointonsurface/tiles/{z}/{x}/{y}.mvt

Configuration File Changes

File Path

File Name

Configuration Item Note

[SuperMap iPortal installation directory]\webapps\iportal\WEB-INF

iportal.xml

quotaType

The configuration item “quotaType” of the node <resourceQuota> under the node <defaultUserResourceQuota> adds enumeration values: INSIGHT_WORKSPACE and MAP_DASHBOARD

accessRecordCleanupSetting

 

Add resource access log clean-up configuration node