cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KarolCzer
Helper I
Helper I

Passing to app per parameter & choice box problem

Dear PApps Experts,

 

Another blocker which I got.

 

I'm passing to the app via parameter named "Mailbox". It's my Item Form property:

KarolCzer_0-1654099633380.png

 

This is my Items Property in ComboBox named MailboxChoice1:

KarolCzer_6-1654100291988.png

 

 

When I'm passing the app with Parameter, my MailboxChoice1 field DisplayMode is "View", and the Choice is empty. How can I feed this field with "Param" value?

KarolCzer_4-1654100160502.png

 

When I'm trying to get "Default" value of this field as Param("Mailbox") I'm getting an error "Expecting Record value":

KarolCzer_5-1654100208582.png

 

Sum up: feed MailboxChoice1 with Param("Mailbox") as default.

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @KarolCzer ,

 

You could set the combo box's DefaultSelectedItems property to:

LookUp(
  'Suggestion Mailboxes',
  Title=Calsece(Param("Mailbox"),Title) &&
  Today()>= Valid_x0020_from &&
  Today()<=Vaild_x0020_to &&
  Enabled=true
)

 

Best Regards,

Bof

View solution in original post

2 REPLIES 2
KarolCzer
Helper I
Helper I

Kindly F5. @RandyHayes 

Hi @KarolCzer ,

 

You could set the combo box's DefaultSelectedItems property to:

LookUp(
  'Suggestion Mailboxes',
  Title=Calsece(Param("Mailbox"),Title) &&
  Today()>= Valid_x0020_from &&
  Today()<=Vaild_x0020_to &&
  Enabled=true
)

 

Best Regards,

Bof

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,272)