
Announcements
Hi All,
I have a SharePoint list form used to create events designed in Powerapps. I have a user role Moderator, who can blacklist/un-blacklist the organizer of the event, as per below image.
When moderator have blacklisted the organizer, requestor cannot add that organizer anymore in NewForm.aspx. System should show the pop-up that this organizer is blacklisted, while filling-in Organizer text field.
May i know if this can be achieved by using PowerApps. I can do this in Javascript, but explored and found that Powerapps doesn't support JavaScript. Any advice would be much appreciated. Thanks.
Hi @Kumar9024021 ,
I can't give you workaround step by step, because I have no idea with data source tables information of your app. But I hope some thoughts can help.
I think you can add a "BlackList" column in your data source of that form to store the status of blacklist(by that button).
In NewForm, you can create a pop-up window, and set the visible property to false. Only when the entering name is in black list, set the visible is true, the formula can be:
If(TextInput1.Text in Filter('Data source', BlackList = true, OrganizerName ), true, false)
Note: just for reference, you need to modify according to your app.
Hope this can help.
Best regards,
Sik
If my post is helpful for you, please click on “Accept as Solution” to help other members find it more quickly.