Hello,
I have an automation that is setting a new value for the service property, however this is not being update over the service custom property window.
Code to perform property value:
service.SetGeneratedWithOptions("Service Name", "new property value");
service.SaveService(engine, false);
connectOutputService.GetGeneratedWithOptions("Service Name") -> This call returns the value "new property value".
However this is not being reflected as in below image.
What am I missing here?
The problem is already sorted out. It was related to a duplication service where the IAS was selecting the wrong service in cause and not updating the mentioned service as expected.
Hello João, thank you for your response, but as I mentioned, all is already sorted out and no need to further investigation over this once the route cause was found.
Hi Bruno,
Thank you for reaching out. With the code that you display it seemed to be the right approach to achieve the result you wanted; glad you found the root cause after our informal chat earlier this week.
Noteworthy on this discussion possibly the following pointers can help you further in the event of a similar issue:
Verify Property Update: Ensure that the property update is being correctly applied. You can add logging or debugging statements to confirm that service.SetGeneratedWithOptions and service.SaveService are being executed without errors.
Refresh UI: Sometimes, the UI might not reflect the changes immediately. Try refreshing the custom property window or restarting the DataMiner client to see if the changes appear.
Check Permissions: Ensure that the user or automation script has the necessary permissions to update the service properties. Lack of permissions might prevent the changes from being saved.
Service Configuration: Double-check the service configuration to ensure that the property you are trying to update is correctly defined and accessible.
Ensure UI Binding is Updating – Some UI elements are bound to specific events. If the UI doesn’t subscribe to property changes, it may not display updates unless manually triggered.
These step pointers might help you to seek an investigation thread.
To complement further investigation, you might want to reach out to Skyline DataMiner support for further assistance where it will be requested further supporting evidence to consolidate full investigation on the issue.
They can provide more detailed guidance based on your specific setup and configuration.