Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Unanswered

Filter (Show/Hide) Comments in PowerApps portal

(0) ShareShare
ReportReport
Posted on by

I want to show and hide comments based on user type in the customer portal. We have an internal team and external users(clients). Every user is added to the contacts table. I want to display ALL the customer's comments on the case-edit form however when it comes to internal team comments I want to expose only specific comments to the customer and hide such comments where the internal team is discussing the case. Basically, I do not want to expose the Internal team's communication to the client. The Internal members should be able to see all comments. 

I have given the Support Agent web role to internal team members and the Customer Role web role to external users(clients). Screenshots attached.

 

Hamza_ali99_0-1663919383985.png

Hamza_ali99_1-1663919426369.png

Is there any possible workaround using out-of-the-box features or complete customization must be done? @OliverRodrigues has mentioned a way to access the comment modal that opens in the form. However, more guidance will be highly appreciated!

Categories:
  • Christian Leverenz Profile Picture
    1,214 on at
    Re: Filter (Show/Hide) Comments in PowerApps portal

    Hi @Hamza_ali99 ,

    are all users (also your internal ones) are accessing the cases via the portal? If yes, how do you find out, what shall be shown to the user opening the case? When you just say sth. like "all internal should not be visible to outside" it would be hard to post an answer to the request of the external user 🙂 .

    When your support is discussing internally, it should not be a problem bacause as far as i know only notes are shown to the outside world which start with a certain string (i think the default is *web*). 

    But when the internal servciegang is also using the portal, you might have to set up a specific relation from the contacts to the notes/comments which relate, what note/comment is visible to whom and use this as a tablepermission. This solution would incorporate some coding or a flow as the rules, who might see what, have to be resolved programatically.

    In order to help such a process there should be a tickbox on the form used internally saying "only internal usage".

     

    Hope this helps a little bit and is not written too clumsy,

      Christian

     

    PS if you have a hammer, everything looks like a nail - my hammer is obviously a plugin, bacause many of my comments mention plugin - sorry 4 that 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics