I am trying to fetch details in Interface for displaying purpose from database. I don't know where am missing something. If someone can help. I have called the CDT as RI.
a!textField( label: "Address", labelPosition: "JUSTIFIED", value: ri!CompanyInformation.Address, saveInto: {}, refreshAfter: "UNFOCUS", readonly: true, validations: {} ), a!textField( label: "Website", labelPosition: "JUSTIFIED", value: ri!CompanyInformation.Website, saveInto: {}, refreshAfter: "UNFOCUS", readonly: true, validations: {}
Note: I have data in database.
Discussion posts and replies are publicly visible
I can't really tell what you've tried, but you need to query the data from the database within Appian before you can display it on a form. If the form is to be used in a process model, a typical way to do this is to query the data into a Process Variable and then pass that information into the interface as a Rule Input (ri!) variable. Another way would be to query the data directly on your form, into a local variable. It all depends on what you're trying to do.