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
Memorable Member
Memorable Member

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 Pages Super User | MVP


Oliver Rodrigues


 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

MPP IDEAS updated 768x460.png

Ideas

Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Top Solution Authors
Users online (3,852)