Problems with custom structure and structure field UtcTime #1345
johannwesely
started this conversation in
General
Replies: 3 comments 5 replies
-
Does it work if you define the field's type as DateTime instead? i.e. use |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
4 replies
-
Hi FYI, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
![Screenshot 2024-11-25 162750](https://private-user-images.githubusercontent.com/108257325/389593937-94a3bd38-a115-4071-a051-619dbb07ed27.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzE5OTEsIm5iZiI6MTczOTM3MTY5MSwicGF0aCI6Ii8xMDgyNTczMjUvMzg5NTkzOTM3LTk0YTNiZDM4LWExMTUtNDA3MS1hMDUxLTYxOWRiYjA3ZWQyNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQxNDQ4MTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wOTkzZGIxM2JkNmIwYzdkNDBjNjhmYTQ2ZDEzNTJhOWEyYTc2ZDgwNzFiNmM1M2MwYzg0OGExM2I1YzU3ZjU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.iufUI13SlmnJY6z1EWh1EKZp2hjAlj4kFmd4Rf__W0c)
I get the following error message in uaexpert when using a custom structure with an utctime field:
I already use other custom structures wich work fine. Im running on Milo/dev1.0
here is the code of my customStruct:
Do you have any Idea what could go wrong? I also register customStruct in dictionaryManager.registerStructure(structureClassName, dataTypeId, binaryEncodingId, uaStructure.getCodec(), description); and getNodeContext().getServer().getDataTypeManager().registerType(dataTypeId, uaStructure.getCodec(), binaryEncodingId, null, null);
Beta Was this translation helpful? Give feedback.
All reactions