How to develop an app for external users in sharepoint online?

Raki 481 Reputation points
2021-05-19T19:55:30.46+00:00

Hello All,

i have a requirement where i need to allow external users to upload documents along with some meta data values to the library. i know its achievable by power apps but right now we don't have license for external user to access the power apps. we may need to create some kind of page to allow them upload and enter meta-values into library. what are the options available to develop such kind of solution for external users in SharePoint online? it would be greatly appreciated if you can provide any documentation or steps. Below is the UI that i am looking for.

Thanks in advance

98024-image.png

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,202 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,561 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,557 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,001 Reputation points
    2021-05-20T06:42:38.5+00:00

    Hi @Raki ,

    Why don't you let the external users go to the library and upload documents there directly? This is much easier.

    To develop such app with the UI in modern page, you may need to use SharePoint Framework to build your own web part.

    In spfx, you can use PnP/PnPjs to upload files to library: https://pnp.github.io/pnpjs/sp/files/#adding-files


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

  2. MichaelHan-MSFT 18,001 Reputation points
    2021-05-31T06:53:09.22+00:00

    Hi @Raki ,

    I would recommend that you'd better ask the developers in your company to develop the spfx web part. If you do not have developers, Spfx is not recommended.

    Here is another easy workaround for you:

    You could create another library(library 2) for exteranl users to upload files. Once there is file uploaded to the library2, use flow to move the file to library1. And the external users won't see the library 1 and folders. They just see an empty library 2.

    0 comments No comments