Displaying Comments Only In Microsoft Portals

Microsoft acquired ADXStudio back in 2015, and although it’s mostly the same functionality, Microsoft Portals does have a few elements that are new. Unfortunately at the moment, the documentation isn’t great, and it’s a bit hit and miss trying to find out how things work. One cool element is the way activities or comments can be displayed to a logged in user.

It took me a while to figure out how everything worked, and I wanted to ONLY display Portal comments, so thought I would post about it here in the hopes it helps someone else in the future.

1. Make sure the Portal Timeline solution is installed – if you have installed the Customer Service or Employee portal, this should be present already. If you don’t have it, you will need to install it first.

2. Next, if you are using a custom entity or an entity that hasn’t already got this enabled by default, made sure Activities is enabled in the Communication & Collaboration area.

3. Add a Timeline section to the form you wish to add to your Entity Form.

4. On the Entity Form, Enable Entity Permissions is selected. Scroll to the bottom of the Entity form and add a new Entity Form Metadata record. Add the type of Timeline. You can then make changes in the settings area as needed.

5. Next, add two different Entity Permission records. One for Activity entity and the other one for the Portal Comment entity. The scope for both should be Parent. The Activity Permissions are set to Read Yes, everything else is No. The Portal Comments Permissions are set to Yes for Read, Create and Append and everything else is No. Set the relationship to an Entity Permission for the entity you are adding the timeline to.

6. Next, go in to the portal Site Settings area and look for CustomerSupport/DisplayAllUserActivitiesOnTimeline. Set this to false so that it doesn’t show all of the activities by default.

7. In the Activities entity, there is a Portal Timeline View. Edit the filter on to only show the Activity Type of Portal Comment.

8. And finally, restart the portal.

Phew! A lot of different steps, but this allows you to use the Portal Comments exclusively for messages back and forth to your clients or employees without worrying about Tasks, Emails and other activities being displayed. Navigate to the record in CRM, then add activity and select Portal Comment. Hope this helps someone in a similar situation! Happy to answer any questions in the comments below. What other cool tricks and tips have you found for Microsoft Portals?

4 thoughts on “Displaying Comments Only In Microsoft Portals

  1. Hello Megan ,

    I am new to Dynamic 365 . I am working on a custom entity which will be manipulated using Dynamic 365 Portal . I followed all the steps from your article . But when ever i am trying to add the comment using portal comment , it is showing “We’re sorry, but something went wrong. Please try again, and if this persists, contact the website administrator.” error . Do you have any idea what should be the reason behind it ?

    1. Hi Rohit, thanks for stopping by my site and posting a comment. Are you adding the comment as someone logged in as an admin that has full view of everything in the portal? If not, if you try that does it work then? Or is it all users no matter what their level of access is? Feel free to email me using the form on my contact page if you have more questions.

  2. Yes . Currently i have Admin access on Dynamic 365 . But still it is not working . I tried with user with basic permissions on dynamic 365 and portal but getting same results .

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Articles