I've been following a tutorial to build a simple system which allows users to record their work hours and date.
When I try to edit record type using rf and rp, I receive an error message "Improper scoped variable".
For example, I try to edit the "summary" view using the rules defined in an Expression Rule:
rule!TST_TimesheetSubission(rule!TST_getTimesheetSubmissions(rp!id).data[1],null,true)
I receive an error because I have rp!id, and
and when I try to edit the List so that the ID of each row becomes a hyperlink to an individual page about the shift logged, I have:
- Label: rf!id
- Record Type: rp!type
- Identifier: rp!id
the above three get an error, so when I access the Site, I receive an error "The Requested Record Type Is Not Available".
Before the edit, it is a Text field and uses fv.
How do I access rf and rp, or alternatively, how do I use the rp equivalent with fv to fully display the page?
I'm new to Appian and the forum, if I need to provide further information or edit the formatting, please do let me know.
Any help is appreciated!
Discussion posts and replies are publicly visible
Which version of Appian are you on? As of 20.3 I belive rf! and rp! have been replaced by rv!record[fieldName]
Thank you for letting me know about rf! ad rp.
I'm on version 21.2 - I guess the depreciated rf! and rp! probably wouldn't work on my systen if it doesn't work with 20.3.
I managed to get the problem with list edits sorted out with the new syntax :)