cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sam44
Helper III
Helper III

Web Role design

I'm creating Portal along side of ModelDriven App.

 

I would like to exchange Attachment file from both side, Model-Driven and Portal.

Portal users, they are authenticated with Microsoft account and Model driven app users should authed by AAD. (as licensed users)

As for the Portal user's Web role, they can read, write, edit, delete permission to A entity, and A entity is Attachment function enabled so then I also added Web role for Attachment (annotation) entity with read, write, edit, delete.

With this, I'm also configured Web role when user create record from portal, by using Contact, they can only see "Their created record" from view.

 

As a result, I made sure portal users can upload attachment files from portal form but they can not see or refer any files uploaded from Model driven app with licensed users. Perhaps because I'm currently configured portal users can only see "their" record from A entity.

 

How should I configure Web role?

 

2 REPLIES 2
hardikv
Solution Sage
Solution Sage

Hi @Sam44

There is no OOB feature in PowerApps Portals to achieve using Web Roles.

 

If you want to allow portal user to attach file or document from the Entity Form then you can enable "Attach File" option from entity form.

So, portal user can only add or attach file but can not view.

You can refer below blog:

https://www.inkeysolutions.com/blogs/attach-files-to-notes-record-of-microsoft-dynamics-365-crm-ce-f...

 

--------------------------
If you like this post, give a Thumbs up. Where it solved your query, Mark as a Solution so it can help other people!

OliverRodrigues
Super User
Super User

Hi

 

so you have 2 entity permissions:

  • one for Entity A
  • one for Annotation/Attachment --> what is the scope if this entity permission?? this shouldn't be contact/global, this should be Parent, and then related to Entity A entity permission

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User


Oliver Rodrigues


 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call August 2022 768x460.png

Power Platform Community Call - August 2022

Join us for the next call on August 17, 2022 at 8am PDT.

Top Solution Authors
Users online (5,784)