Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Adding custom namespaces into Server/Namespaces(i=15957)
June 17, 2022
10:09, EEST
Forum Posts: 9
Member Since:
March 31, 2022
sp_UserOfflineSmall Offline

Adding a new custom namespace into the namespaces table does not add the namespace into the Server(i=2253) subnode Namespaces(i=15957).
You can check this with the SampleConsoleServer example.
Can I do this somehow programmatically?

June 17, 2022
10:31, EEST
Bjarne Boström
Forum Posts: 775
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


There is no automatic logic yet for those metadata nodes. In practice as far as I’m aware almost nothing yet uses those.

IF you just meant how the NamespaceArray is to be updated, it can be done via
(If you add them after starting, this happens internally on start automatically)

As to adding a NamespaceMetadataType instance(s) below the Server/Namespaces can be done as adding “any other node” with the SDK, as “they are just nodes”. As to how to do that, open the MyNodeManager in the sampleconsoleserver example and seach for “createInstance”. That is to say, something like
instance = nodeManagerUaNode.createInstance(NamespaceMetadataTypeNode.class, …)

You must then also attach it via the reference + fill the data. Since it (NamespaceMetadataTypeNode) is a base information model type that is generated to the SDK (by us), you can use just e.g. instance.setNamespaceVersion(…) etc.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online: jl75, Larryorarm
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 120

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

gjevremovic: 49

Xavier: 42

fred: 41

TimK: 41

Fransua33: 39

Member Stats:

Guest Posters: 0

Members: 2891

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1261

Posts: 5369

Newest Members:

allisontz18, Elmer1493vok, AspectMontageAtrox, miloparris0, josettegrenier, berniceiy1, Sylviaser, gilbertstonge93, waldomarriott43, madgeroque72

Moderators: Jouni Aro: 930, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 775, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 39, Niklas Nurminen: 0, Matti Siponen: 207, Lusetti: 0

Administrators: admin: 1