Skip to main content
May 27, 2022
Question

calling interface in another

  • May 27, 2022
  • 2 replies
  • 0 views

Homepage is my 1st interface with rule inputs.

When iam trying to add the interface in site, throwing "An interface with rule input cannot be used as site page".

so iam trying to call 1st interface in 2nd.

the below is the code i have used in 2nd interface.

how to pass the SampleDataType parameter here

rule!HomePage(....?

rule!HomePage(SampleDataType, cancel, readOnly)

SampleDataType (SampleDataType)

cancel (Boolean)

readOnly (Boolean)

2 replies

mikes0011
Brainy
May 27, 2022

Just from the text you've pasted here I'm unclear what your actual configuration is.  It's easy enough to call one interface from a parent (such as a site-specific landing page), just calling the rule and passing in key-value parameters.

The Expression Guru
Inspiring
May 27, 2022

Hi,

If your interface have submit cancel or additional rule inputs do the following 

  • Create a process with start form and call your interface into that process
  • Call this process in your site, you will be able to submit the form or cancel form  by this way. 

in case if  this is not your requirement provide additional details of your use case