Has anybody seen this error message while testing a site page that calls an add new record interface.?
"The provided urlStub for the site was not valid."
I have been looking in the documentation for any clues with no success.
If I test the interface in desgin mode I have no errors, the add new record is called with no issues but when entering information in any fields and later jumping to another this error message pops up.
I have checked all related pages, intefaces and process model but cant find the issue.
can somebody point me to the right direction?
Discussion posts and replies are publicly visible
carlosg.r929912 said:a site page that calls an add new record interface
What exactly do you mean with this?
In my mind, the use case "create new record" implies using a record list action, but not a link.
Have you checked tomcat logs?
carlosg.r929912 said: the add new record is called with no issues but when entering information in any fields and later jumping to another this error message pops up.
Can we know more about this ?? Are you calling it as record action or using any other plugin .(Just checked a oldpost, this urlstub i think it's a plugin component . I don't suggest using it. https://community.appian.com/discussions/f/data/24987/related-action-url-stub-for-the-given-record-type)
it is an "Add New Record" action from a read-only grid. I am not using any plug-ins.
The odd thing is that testing the interface directly does not produce any errors and adds the record correctly.
The issue is when being called from the published site, which has an interface with a read only grid that uses the record action to add a new record .
Seems like the issue comes up after you submit the form. Did you do any other configuration in the process or in that submit button?
Anything on Tomcat logs?
yes, you are correct, sorry, bad wording. it is a record list action.
I don't get to submit the form, it happens when I jump to the following field within the form
Error has been resolved.
The issue was related to a rule input parameter that was specified on the record action of the record type, and not included in the target [Add New record] interface. I must of removed it by accident while modifying the expression.
all I had to do was add the rule input parameter and update the interface expression
Thanks who responded in the follow up.