GET_SMATNET_URL - Intergraph Smart Materials - Version 10.2 - Customization & Programming - Hexagon

Intergraph Smart Materials Customization (10.2)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.2

Description:

This function returns the Application Launcher url.

Type:

Function

Usage:

Used in M_PCK_URL_CUSTOM.START_SMAT_SSO function to retrieve the url of the Smart Materials Application Launcher.

Event:

Click Create Agreement on the Procurement > Inquiry > Requisition Workload page in Smart Materials Web.

Default:

Sample of the url:

appLauncherURL := 'http://azdord-devpub/wpf/current/web/launcher/Intergraph.WPF.Apps.ApplicationLauncher.exe.application?DeploymentServiceURI=http://azdord-devpub/wpf/current/web/DeploymentService/DeploymentService.svc&IdleTimeout=1&AppId=981B2AE3-8F88-4F83-8B21-069187A05D33';

In this string, replace 'http://azdord-devpub/wpf/current' for appLauncherURL and DeploymentServiceURI with your server path (where Smart Materials is installed), for example, with 'http://host/SmartMaterials10.2'.

SHARED Tip You can find the correct path needed for these urls under <behavior name="viaBehaviorDeployment"> in the Intergraph.WPF.Apps.SMATApplication.exe.config, located under <Product Root Location>\SPMAT.

Use the following SQL command to determine the AppId:

select deployment_guid as appId from m_applications;

After replacing the server path and the AppId, the url would look like:

appLauncherURL := 'http://host/SmartMaterials10.2/web/launcher/Intergraph.WPF.Apps.ApplicationLauncher.exe.application?DeploymentServiceURI=http://host/SmartMaterials10.2/web/DeploymentService/DeploymentService.svc&IdleTimeout=1&AppId=981B2AE3-8F88-4F83-8B21-069187A05D33';