cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
johnjohn123
Super User
Super User

With inside App StartScreen will return this error "invocation of unknown or unsupported funtion"

I have the following inside my App's StartScreen

 

with(
   { varRecord2:
    LookUp(
        'Online Credit Request',
        ID = Value(Param("onlinecreditrequestid"))
    )},

If(Param("custommode") = "new",'Screen1',
Param("custommode") = "edit" && !IsBlank(varRecord2),Screen1,Param("custommode") = "view" && !IsBlank(varRecord2),Screen1,Screen2
));

 

to redirect the users to screen1 or screen2 based if the varrecord2 is blank and based on some parameters. but i am getting this error "invocation of unknown or unsupported function" on the above formula? any advice?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
v-xiaochen-msft
Community Support
Community Support

Hi @johnjohn123 ,

 

1\ Please use With instead of with.

2\ Delete the ';' at the end of your formula.

 

Best Regards,

Wearsky

View solution in original post

1 REPLY 1
v-xiaochen-msft
Community Support
Community Support

Hi @johnjohn123 ,

 

1\ Please use With instead of with.

2\ Delete the ';' at the end of your formula.

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (2,124)