Sharing services

Feedback


iPortal supports sharing services. The service sharing scopes include: private, public search/view, designated search/view. When registering a service, you can set sharing scope. For services that have been added to iPortal, you can also set sharing scope in "Resource Center > Service > My Services" after logging in. Once set sharing, the designated users can access it from "Resource Center > Service > Public / Shared with Me / My Organization / My Groups", then use the service in iPortal built-in WebApps or customized WebGIS system, please see: Use services.

Service sharing scope

Note 1: iPortal provides the service proxy function, which means that when the service proxy is enabled (the built-in service proxy is enabled by default, you can also choose to deploy the service proxy independently), iPortal will not expose the original address of the service to the sharer, but show the proxied service address. Therefore, for security reasons, it is recommended that you turn on the service proxy function.

Note 2: If the administrator has enabled the service review function, the services to be shared must be reviewed before the sharing settings take effect. You can check the review status on the My Services page by the resource thumbnails. For services that are pending review, the thumbnail will show "Pending administrator review", while for service that has not passed the review, it will show "Review Rejected".

Limiting the accessible spatial extent of service

When setting a "designated view" sharing scope for a service resource, iPortal supports limit the accessible spatial extent at a finer level of granularity. For example, the designated department/group/user can only access the features or map tiles contained within the restricted spatial extent. iPortal supports the following ways to limit the spatial extent:

When a user and his department/group are both limited accessible spatial extents which are different, the accessible extent to the user is the concatenation of the multiple spatial extents. For example, a user is limited a spatial extent of Beijing, the department he works in is limited a spatial extent of Tianjin, and the group he joined is limited a spatial extent of Hebei, then a user can access services within the three spatial extents of Beijing, Tianjin, and Hebei.

Note 1: The service types that currently support limiting spatial extent are SuperMap iServer REST Map Service, REST Vector Tile Service, REST Data Service, OGC WMS Service, WMTS Service, Imaging Service and Map Service.

Note 2: If the base map cannot be displayed when setting the spatial extent, the administrator needs to configure the base map.

Sharing steps

  1. After logging in, click on "Resource Center" > "Service" in the top navigation bar to access the service resources page, and then click "My Services" in the secondary navigation bar to access the My Services page.
  2. In list view mode, click on the icon in the action bar of the specific service resource. In grid view mode, click on "..." in the bottom right corner of the card and select "Share" to enter the sharing settings page.
  3. If the resource is private now, click on the "Sharing" button and select the sharing scope "Public Search", "Public View" , or "Designated".
  4. If the resource is shared now, you can change the sharing scope directly; or click the "Share" switch to turn off the sharing status of the resource. Click the "Save" button to take effect.
  5. If you set the sharing scope to "Public Search", click the "Save" button directly to take effect. You can also assign the view permission with designated objects when sharing the public search. Click "Add department / Add group / Add user" to add the objects to be shared. Once added, the page will list the shared objects that have been added. You can delete a single shared object or select multiple shared objects to delete in batch. Click the "Save" button to take effect.
  6. If you set the sharing scope to "Public View", click the "Save" button directly to take effect.
  7. If you set the sharing scope to "Designated", you need to click "Add department / Add group / Add user" to add the objects and set search/view permissions. Once added, the page will list the shared objects that have been added. It supports modifying the spatial extent of a shared object and deletion of a shared object one by one or in a batch. Click the "Save" button to take effect.