ChangeSessionConfiguration - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

Pass in a data transfer object containing one item for setting the query configuration and one for setting the create configuration.

The Name is either configuration Name (PlantA) or UID (PL_PlantA).

Dim lobjRequest As New UploadService.XFRDataTransfer

Dim lcolXFRItemsList(1) As UploadService.XFRItem

lobjRequest.XFRItems = lcolXFRItemsList

lcolXFRItemsList(0) = New UploadService.XFRItem

With lcolXFRItemsList(0)

.C = "QUERYCONFIG"

.N = txtQueryConfig.Text

End With

lcolXFRItemsList(1) = New UploadService.XFRItem

With lcolXFRItemsList(1)

.C = "CREATECONFIG"

.N = txtCreateConfig.Text

End With

Returns an UploadResult object that either has the error message populated or RequestHasBeenProcessed = True.