Skip to main content
January 3, 2022
Question

One interface on different sites

  • January 3, 2022
  • 5 replies
  • 0 views

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
January 3, 2022

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

vinayp0002
January 3, 2022

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.

January 3, 2022

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
January 3, 2022

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