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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjUyNDcsIm5iZiI6MTczOTEyNDk0NywicGF0aCI6Ii8xMDgyNTczMjUvMzg5NTkzOTM3LTk0YTNiZDM4LWExMTUtNDA3MS1hMDUxLTYxOWRiYjA3ZWQyNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQxODE1NDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01MzU0ZjExMTU2ZjAwMzlmNzIzMjkxYzE2NTNjYzBhNmUwMzE2ZjZkMjQwMTMwYzU0NmY1YzJjMWY4OTAzZmY0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.0lqqLVOOJLbl7QL7RHlAfBGx_-XYlghl8mAAClmkzbE)
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