Solved

Updating interface components

  • 30 January 2024
  • 3 replies
  • 40 views

We are using interface components (RDMI) in USoft 10.1.1D.

If a new method is added to a component, it is sometimes necessary to toggle the ‘Interface’ checkbox so the new method shows up in the provided interface object (in the consumer, but also in the provider itself). And yes 😉, I did do a ‘Check’ of the component in the provider to generate the new methods and parameters.

Is this a known bug?

icon

Best answer by robert.hellinx 6 February 2024, 17:35

View original

3 replies

And a related issue: it does not seem to be possible to use an interface component in a domain constraint (‘Component does not exist’) - is that intentional?

Userlevel 2
Badge +2

Hi Marc,

You asked about the toggling you use to see new methods in an interface. It's a feature: When you first turn an RDMI Component into an interface component, all methods of the component become interface methods. If you add a method to a component, the interface checkbox is not set automatically. You have to decide yourself if you want the method to be available in the interface.

If you uncheck the Interface attribute of this component, the methods can no longer be part of an interface, so they are unchecked as well. If you check the Interface attribute of the component after that, all methods are added to the interface.

See the checkboxes on the image below.

A new method on a component that is part of the interface

If you check the checkbox at the level of the method, you don't have to toggle and the method will be available in new conceptual files.

About the second question, not being able to use an RDMI component defined in another module is a bug. I created at support ticket for that.

 

Regards,

Robert

Clear, thanks for the explanation!

Reply