Skip to main content
Inspiring
Jan 3, 2022 7:58 AM UTC
Question

One interface on different sites

Hi,

I have a interface which has a read-only grid. Can we set default filter to the grid based on selected site.(site1, site2) 

Is there a way to know which site is selected by the user?

Eg:

I have to create site-1 which has page1 (interface - with read-only grid) where the status column is pending)

I have to create site-2 which has page1 (interface - with read-only grid) where the status column is completed)

5 replies

stefanhelzle0001
Brainy
Jan 3, 2022 9:27 AM UTC

You can create two wrapper interfaces specific to each page. These interfaces then embed your existing interface passing a parameter for configuration.

vinayp0002
Participating Frequently
Jan 3, 2022 9:30 AM UTC

Hello [mention:b76d2763698d4903be0a9d84166776d9:e9ed411860ed4f2ba0265705b8793d05],

Use wrapper interfaces for the page in the respective site in which you can call your designed interface  (read only grid) by passing default filter.

Inspiring
Jan 3, 2022 9:39 AM UTC

yes, but this leads to duplication of interfaces(creating child interfaces). Is there any other way where we can handle this?

Is there a way to know which site is selected by the user?

vinayp0002
Participating Frequently
Jan 3, 2022 9:44 AM UTC

there would be a single child interface which you would use in different parent interfaces with respective default filters for different sites.