Hey.. I have created a interface with huge rule inputs. but when i add it to my site its showing an error. how can we add a new interface into another
Discussion posts and replies are publicly visible
Hi, could you please share the error. Please check the keyword syntax as well when referencing interface into other.
"An interface with rule inputs cannot be save as a site" this is the error
A page i a site has no context and cannot pass any data to your interface. Either remove the rule inputs or wrap your existing interface into a new interface which passes the required data.
May I know what your use case is?
I think that's fairly explanatory. Any Interface that is sued to implement a Site page cannot, by definition, contain any rule inputs because it is the top-level container for all other interface objects. That is: because nothing can call such an interface in the context of a Site the rule-inputs can never have any values passed to them.
how can we wrap our existing interface into new interface. my use case is registration form.which stores data in database
So what you want to do here is to attach your User Interface (the form the collects registration data) to a Process Model as a "Start Form". In your Site you can then add an "Action" and reference that Process Model:
yeah thanks now i can see my form