*** NOTE: ALL INFORMATION IS ACCURATE AT DATE OF PUBLISHING ***
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?
Check out the latest post:
Checking User Access To Model-driven Apps (D365 CE)
This is just 1 of 338 articles. You can browse through all of them by going to the main blog page, or navigate through different categories to find more content you are interested in. You can also subscribe and get new blog posts emailed to you directly.