Passing Logon User Id to a standard Mobile Data View

0
Am trying to pass the current user id of the signed user to populate a Data View form. In Pizza Mario project I created a new Data View (Mobile) form. I am then using a Microflow to "retrieve" the data from the Customer entity where the source type is "From database", Entity is "Customer", Range is "First", Xpath constraint is "[LastName = '%$currentUser%]'] and output Name is "Customer". I have created a Pizza Mario Customer with the same User Name as the signed on user. When I run this - the standard mobile signon screen appears, when I log on using a valid user name, the Form appears but the fields are all blank empty. can anyone help.
asked
1 answers
0

You should use an inheritance split, then cast the Customer User from there and pass it in as a form parameter.

answered