Pass an interface as an interface input

Hi,
I am using editable grids to manage details of an entity. In dynamic grids implementation I have a local variable where I store the set of data and I use a!applyComponents in order to exchange data with the supporting rule.
The issue is that I need to pass to the main interface (container), as an ri! interface input (not as an local! variable), the modified row index.

Does anybody have any idea how to get this?

Thanks in advance!

OriginalPostID-156368

OriginalPostID-156368

  Discussion posts and replies are publicly visible

Parents
  • Have you considered breaking up the content into sequence of rules, one of which accepts the local variable as a rule input and returns the required data back for your parent to consume? In general, you should be able to pass the local as a direct rule input to your parent.
    Other option is to save the values into both local! and a ri! variable. Its double the job, but just in case, if you do need it in an ri!, then you can use this approach.

    Would be interesting to understand your use case in more detail.
Reply
  • Have you considered breaking up the content into sequence of rules, one of which accepts the local variable as a rule input and returns the required data back for your parent to consume? In general, you should be able to pass the local as a direct rule input to your parent.
    Other option is to save the values into both local! and a ri! variable. Its double the job, but just in case, if you do need it in an ri!, then you can use this approach.

    Would be interesting to understand your use case in more detail.
Children
No Data