OnPublishFinished

This event occurs when the publishing of a project is finished.

 

JavaScript

 

OnPublishFinished (

       json)

 

C#

 

void OnPublishFinished(

       string json)

 

C++

 

HRESULT OnPublishFinished(

       [in] BSTR json,

       [out, retval] VARIANT_BOOL* pbHandled)

Parameters

json

A json with the URL's of the desktop, web, and mobile published projects. This json is returned when publishing to SGS using the PublishToSGS method. For example:

{

    "TE Desktop": "https://www.skylineglobe.com/SG/projects/SG.1111111",

    "TE Web": "https://www.skylineglobe.com/SG/terraexplorerweb/terraexplorer.html?catalogid=SG. 1111111",

    "TE Mobile": "https://www.skylineglobe.com/SG/terraexplorerweb/terraexplorer.html?catalogid=SG.11111111&isMobileApp=1"

}  

 

Return Value

pbHandled

A Boolean that indicates whether the client handled the completion of the publishing process and the display of the "Publishing project completed" dialog box itself, and does not wish TerraExplorer to respond. When the value is FALSE, TerraExplorer handles the completion of the publishing process.

A screenshot of a social media post Description automatically generated