Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

SharePoint List form new/edit

Posted on by 73

Hi

 

I am trying to edit a sharepoint list form in powerapps, should be fairly simple in that I want to display a text input field when the form is in new mode but hide it when in edit mode. For the life of me I can't get the visible property to set I know it should be:

If(myfrom.mode=new,true,false)

 

But I can't seem to work out the name of my form its not coming up on the intelisence, what I thought was the form name appears to be the actual table name from which the form is linked (If I put that in I get an error data type table). Any ideas what I'm doing wrong if I check the app name I get the table name on the site forms so Reviews on The Way forms 

Categories:
  • WalesMariner Profile Picture
    WalesMariner 73 on at
    Re: SharePoint List form new/edit

    Awesome that works perfectly thanks!

  • Verified answer
    Pstork1 Profile Picture
    Pstork1 64,014 on at
    Re: SharePoint List form new/edit

    You are inside the form so you can't access it by name. But if you are in the Visible property of the card taht holds the field then you can use the following.

    If(Parent.Mode = FormMode.Edit, true,false)

     Parent in this case would be the parent of the card, which is the form.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard