Chapters

References

Summary

Automatisch vertaalde tekst

For a scenario that a portal contains web forms to which documents can be linked, a solution has been added with its own table containing my whisky collection. The intention is to make the list items visible for both authenticated and anonymous access. The detail page gives access to linked documents on SharePoint.After authentication, list items can also be added and documents linked. The creator of this list item becomes the owner and remains the only one who can modify the item and documents.This is set up as follows after the following things have been adjusted:

  1. SharePoint integration for the environment
  2. SharePoint integration for the portal itself
  3. SharePoint site has been created

Configuration

Automatisch vertaalde tekst
  • make.powerapps.com > dts2021 tenant admin's Environment > Solutions > Desktop Services Portal Apps
  • [ ] Enable document management in the table
  • [ ] Add a contact lookup field
    • Display name: Portal User, Name: dts_contact, Data Type: Lookup, Related Table: Contact, Relationship name: dts_whiskybase_contactThis field is later linked to the logged-in user. This determines whether a user is the owner.
  • make.powerapps.com > dts2021 tenant admin's Environment > Apps > Edit Portal App
  • [ ] Create pages for the list, read, create, and update list items
  • [ ] Add the list or form to the page
  • make.powerapps.com > dts2021 tenant admin's Environment > Apps > Portal Management
  • [ ] Table permissions
    • Name: Whisky CollectionTable Name: dts_whiskybaseWebsite: Documents Portal - dts-doc-portal-dAccess Type: ContactContact Access Type: dts_whiskybase_contactRead, Create, Write, Append, Append toSave > Related > Web RolesAdd Existing Web Role, Authenticated Users (Documents Portal), Add, Save and CloseBack to the Table Permission, Child Table Permissions > + New Table PermissionName: SharePoint DocumentsTable Name: Document Location (sharepointdocumentlocation)Website: Desktop Services Power Apps Portal - dts2021-devScope: ParentParent Relationship: dts_whiskybase_SharePointDocumentLocationsRead, Create, Append, Append To: checkEntity Permissions > SharePoint Documents > Write > Check
  • [ ] Basic Forms
    • For Insert, under additional settings, set the "Associate Current Portal User on Insert" fields.