web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Sharepoint Subgrid man...
Power Pages
Answered

Sharepoint Subgrid mandatory

(0) ShareShare
ReportReport
Posted on by 264

Hi Community,
I am new to power pages.


Background:
I have integrated SharePoint into my dynamics 365 portal.
I have a business req, where if a field is empty, then user should upload at least one file.
Hence, I want to make the upload file field as mandatory.


Question: 
As Sharepoint grid is not connected to an entity, I am not sure, How can I do it?

Any help is appreciated.

Categories:
I have the same question (0)
  • Lucas001 Profile Picture
    2,529 Super User 2026 Season 1 on at

    Hi @PaulMatha,

     

    it's a bit difficult to exactly understand where and what you want to achieve, but generally you can set up a form with an attachment field and make that one mandatory. If you are using it in power pages and it should be mandatory on conditions you will need to add javascript and for the * some css :before. As Business rules are not applied in power pages as far as I know.

     

    For the attachment I find that tutorial quiet helpful: Link for Tutorial 

     



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

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • Verified answer
    Paul_M Profile Picture
    264 on at

    Hi @Lucas001 ,

    Thank you for replying.
    But I found the answer: 
    https://powerusers.microsoft.com/t5/Power-Apps-Portals/Portal-SharePoint-file-type-upload-restriction/td-p/1346577

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 51

#2
rezarizvii Profile Picture

rezarizvii 35

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 29 Most Valuable Professional

Last 30 days Overall leaderboard