# How to define the endpoint for OPC-UA with payload?

**URL:** https://discourse.nodered.org/t/how-to-define-the-endpoint-for-opc-ua-with-payload/85671
**Category:** General
**Tags:** opcua
**Created:** [19 February 2024 15:03 UTC](https://discourse.nodered.org/t/how-to-define-the-endpoint-for-opc-ua-with-payload/85671 "2024-02-19T15:03:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ashiqzcc](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@ashiqzcc](https://discourse.nodered.org/u/ashiqzcc)
#### Post date: [19 February 2024 15:03 UTC](https://discourse.nodered.org/t/how-to-define-the-endpoint-for-opc-ua-with-payload/85671/1 "2024-02-19T15:03:45Z")

</div>

I'm interested in knowing whether it's feasible to set the OPC UA client's endpoint dynamically using the payload. My goal is to simplify the code structure since I have more than 200 OPC UA clients.

---

<div class="post-metadata">

### Author: ![mikakaraila](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mikakaraila/32/37496_2.png) [@mikakaraila](https://discourse.nodered.org/u/mikakaraila)
#### Post date: [7 March 2024 09:50 UTC](https://discourse.nodered.org/t/how-to-define-the-endpoint-for-opc-ua-with-payload/85671/2 "2024-03-07T09:50:26Z")

</div>

I expect you mean OPC UA server that client should connect.  
Look OPCUA-TEST-NODES.json and Reconnect tab.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 June 2024 09:50 UTC](https://discourse.nodered.org/t/how-to-define-the-endpoint-for-opc-ua-with-payload/85671/3 "2024-06-05T09:50:50Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
