Material Server initialization
Starting in FactoryTalk Batch version 18.00.00, custom client applications require
initialization before they can make calls through the Material Server API.
The first part of the initialization process requires a call to the
MaterialServerUtils.InitializeFromLocalNetworkModel()
. See
InitializeFromLocalNetworkModel.For example, here is a sample C# initialization call:
Public Class CustomApp { // Constuctor Public CustomApp() { MaterialServerUtils _msUtils = new MaterialServerUtils(); Bool initOk = _msUtils.InitializeFromLocalNetworkModel(); If (initOk) { // do some custom code here. } } }
Provide Feedback