top of page

Share Client Documents with Power Portal

  • Writer: Ryan Redmond
    Ryan Redmond
  • Jan 2, 2023
  • 4 min read

Updated: Jun 5

Mountain landscape viewed through a window, symbolizing the expansive visibility and access offered by a Power Portal, with rolling green hills and terrace umbrellas below under a blue sky.

One of my favorite aspects of consulting is the constant challenge of a new requirement, especially when I get to learn something new. In this case, I was asked to set up a Customer Portal which would allow contacts to be assigned Tasks which they would update, upload documents for verification and then mark Tasks completed.


Before my career as a Consultant, as an End User, I was responsible for onboarding new Clients. The process consisted of a manual checklist of ToDo items and Documents across multiple Clients. Things were always getting missed – it was a mess. So when I was given the Customer Portal assignment, I was extra thrilled for this opportunity!


I always start these adventures with research, and while there were certainly articles associated with nearly every step, I could not find a cohesive, step-by-step guide to solving the problem of creating a Power Portal.


After some trial and error, however, I was successful. I have documented my steps below, including links to the relevant articles and screenshots that I found helpful.


NOTE: Links to supplemental instructions from Microsoft Learn are included in the titles of each section below.

 


The linked article is very easy and straightforward, but I went ahead and included screenshots as well.

Build business apps interface with icons for SharePoint, Excel Online, SQL Server. Options for Canvas, Model-driven, and Portal apps.

Here is where it starts to get more fun. This linked article is also very thorough and helpful as there are several steps within this step. This shows how the built in SharePoint integration can be setup in just a few clicks as shown below. One catch is that you must have the appropriate permissions to complete this step.


Power Apps dashboard showing "Apps" section. Settings and purple icon highlighted. Notification about app trial expiration in 29 days.


Power Apps admin center interface showing "Set up SharePoint integration" selected. A warning message about trial expiration is visible.


Microsoft permissions request screen for CRM Portals, listing app capabilities, with Cancel and Accept buttons at the bottom.

3. Enable document management on tasks and contacts


In your solution, edit the advanced properties for the Task and Contact entities. Enable SharePoint document integration on each table.


Edit table panel with fields for display name, name, and collaboration settings. Options include enabling connections and SharePoint management.
Edit table dialog with fields for "Display name," "Plural display name," checkboxes for settings like "Enable SharePoint document management."

4. Run document management wizard to create folders


I merely went in to ensure that the contact and task folders were created.


Document Management Settings interface on a webpage with instructions to select entities like Contact and Task. Features include SharePoint options.


I realized the best way to do this was to set up a main form like I always do that I would like the contact to use when submitting info in the portal. I do recommend setting up a custom field for the contact to update regarding status that is not the status reason. That way you can monitor status but ultimately have control over the final record status (or use the out of box field “Percent Complete” as I did below). Also, you will need to add the document location sub grid per step 4 above.


Interface showing a "New Task" form with fields for Subject, Description, and Percent Complete. Sidebar displays Properties with "Portal Submission."


Like the form, I wrestled with the instructions on this and landed on creating a special view on my own as usual. I saved the All Tasks view as All Portal Tasks and configured it to include my portal status field. All of this set up is going to pay off shortly!


Task management interface showing a list of tasks with details like subject, owner, and due date. All tasks are marked "Not Started."


Here is the big revelation step!  If I had known about this prior, I could have saved myself a lot of time. The article even starts with an acknowledgement of complexity in this set up. Basically, this wizard takes your pieces of set up above and knits them together nearly perfectly. Why they put this at the bottom of the navigation bar is beyond me. It is totally worth the scroll though. Just click it, make your selections, and hit Create.


Portal content creation form in Dynamics 365 with fields for website, page name, title, and layout. Options for publishing and access.


Now your page has been set up! Like other WYSISYG editors, this allows simple updates. Navigate to the page you just created and click on the view. Then update as needed in the menu on the right.


Power Apps Portal screen showing a "Tasks" page. No records are displayed. A sidebar lists pages. A blue box with a Yes/No question is visible.

Empty task list interface in a custom portal, showing headers like "Percent Complete" and "Due Date". Yes/No survey on the right.


Now all that remains is making sure your contact has all the privileges needed to read, edit, and upload documents to their tasks. The wizard already created the task entity permission for you. Just find and update it per the screenshot below.


Dynamics 365 portal page shows "Tasks_EntityPermission_task" with entity name "task." Checked "Append To" privilege with green highlight.

10. Create entity permission for SharePoint documents with task entity permission

as parent.


Also, per step 5 of the SharePoint article (that was the best article in my opinion), create the document location entity permission and save.


Dynamics 365 interface showing an "Entity Permissions" form for "Task Documents." Permissions include read, write, and create.


Web roles stitch all these entity permissions together to allow a simple assignment per contact. While this may seem tedious, it helps in the long run. You could also just skip this step if you already had a role set up or wanted to use the default web roles.


Interface for creating a new web role, titled "Task Access." It shows tabs, a menu with security options, and input fields under "General."


Use the Related menu to add the entity permissions for task and documents.


Access dashboard titled "Task Access" showing entity permissions. Features buttons, table with "Yes/No" values, and option to add entities.

13. Assign web role to contact


Use the Related menu to add that existing web role to your contact. You did it! Although you will need to test in the next step.


CRM interface showing "Web Role Associated View" with options: Save, Deactivate, and more. "Add Existing Web Role" is highlighted in green.

14. Create a test task regarding contact


Once you create this task, be aware that this did take a few minutes to show up. At first, I was disheartened, thinking I missed a step. But then, I saw this beautiful display!


Tasks page in a custom portal showing a "Submit paperwork" task with high priority. A survey asks a "Yes" or "No" question, with submit button.

Be sure to test it fully including editing and uploading a document.


Online task portal interface showing "Submit paperwork." Options to add files or folders, submit button, and example file uploaded.

And finally, make sure your edits came through.


Tasks page in a custom portal showing a task list. Task details: 100% complete, owner Kellie Arnold. Form with Yes/No options.

You can also check from within your model driven app.


Task management screen titled "Submit paperwork." Includes subject, description to upload documents, completion at 100%, and document list.

I hope this was helpful! I had wished for an article like this when I started this journey.


If you could use some support building or streamlining your business with Microsoft Power Platform, we would love to help. Contact Us today.


 

About the Author

Photo of Ryan Redmond, the founder of Optrua, specializing in CRM

Ryan Redmond is the founder of Optrua, specializing in CRM and business process optimization. Ryan channeled his passion for efficiency from lessons learned in the Navy to his work today.

 

He helps businesses streamline technology to improve employee and customer experiences and empower teams to work smarter, not harder, without unnecessary overhead.

 

Connect with Ryan on LinkedIn.


Join the 10,000+ people who get CRM tips in their inbox every month.

You're all set to receive updates and valuable insights.

bottom of page