UrlMesToSf Property
General info
Label |
Endpoint to Shopfloor |
Description |
The URL of the inmation WebAPI endpoint used for POST requests sent from PAS-X. This value needs to be added to the foreseen field in the PAS-X MSI adapter configuration. |
Data type |
String |
Type |
Regular |
Code |
12318 |
Symbolic name |
MODEL_PROP_URLMESTOSF |
Lua access code |
syslib.model.properties.UrlMesToSf |
Available since |
1.66 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_VOLATILE | The property exists during runtime of the service only and is not saved to the image. |
Examples
Read from or write to the UrlMesToSf property.
-- Read from the UrlMesToSf
syslib.getvalue("<OBJECT FULL PATH>.MBMessageTypeOptions.MSIOptions.UrlMesToSf")
-- Write to the UrlMesToSf
syslib.setvalue("<OBJECT FULL PATH>.MBMessageTypeOptions.MSIOptions.UrlMesToSf", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the UrlMesToSf
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.MBMessageTypeOptions.MSIOptions.UrlMesToSf"));
// Write to the UrlMesToSf
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.MBMessageTypeOptions.MSIOptions.UrlMesToSf"));