cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Binding a SAC Custom Widget to Multiple Models Simultaneously

lmarkowski
Participant
835

EDIT: I have created an improvement request for this feature. If you're interested in it please vote here: https://influence.sap.com/sap/ino/#/idea/352949

Is it possible to connect a custom widget to more than one model at the same time? I'm developing a custom widget that compares data across models, and it would be highly beneficial to retrieve data directly from these models. Currently, I've implemented a workaround by passing data from hidden tables, each connected to a separate model.

According to the announcement post from 2022:

The keys of the dataBindings property represent the arbitrary name of the dataBinding, and contains a "feeds" property which is an array of objects that define a "feed". Currently this is limited to defining one dataBinding object. Defining multiples will not yield any error but only the first one will be used.

As far as I can tell, this limitation still applies. Are there any plans to support multiple dataBindings in the future?

Cheers,
Łukasz

Accepted Solutions (0)

Answers (2)

Answers (2)

JasonYang
Product and Topic Expert
Product and Topic Expert
Hi, this limitation still applies. Creating an improvement request at https://influence.sap.com/sap/ino/#/campaign/884 could help prioritize this requirement.
Bob0001
Product and Topic Expert
Product and Topic Expert

The documentation also indicates this (see description for "dataBindings" at help.sap.com). How about trying it out?

lmarkowski
Participant
0 Likes
Hi Bob. Yes, I already tried it out and the widget behaves as the documentation indicates (so it includes only the first dataBinding). But I'm curious if there is a way to omit this limitation, or if SAP plans to lift it in the future.