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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / About Rule Deprecation...
Power Apps
Answered

About Rule Deprecation (SharePoint Form)

(0) ShareShare
ReportReport
Posted on by

Hi! Im developing a SharePoint form in PowerApps and I dont know if I can use the rules or not. This in not an app. So if I  use them my form are gonna be operational with these rules when they are shut down? Or i´m gonna to lose my SharePoint form?

 

Thanks!

@emmac

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    There are various ways to accomplish same procedure as in Rules. With this article on deprecation I think you should look for other ways:
    https://powerapps.microsoft.com/en-us/blog/canvas-rules-feature-deprecation/

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

    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.

     

  • Community Power Platform Member Profile Picture
    on at

    Yes! I´ve allready read that post. The problem I Have with this SharePoint Form is that I need to make a lot of chained commands like : IF (Field 1=1 AND Field 2=A)OR(Field 1=2 AND Field 2=A)OR(Field 1=3 AND Field 2=A).....(nearly 40 more) THEN Validation Error.

     

    Do you know how to make it without Rules?

  • eka24 Profile Picture
    20,923 on at

    It is possible. Please give the full scenario.

    Example:

    IF(Field1.Text=1 AND Field2.Text=A)

    OR(Field1.Text=2 AND Field2.Text=A)

    OR(Field1.Text=3 AND Field2.Text=A)

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

    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.

  • Community Power Platform Member Profile Picture
    on at

    Perfect! I think I have it.  So if the fields contains only text the sentence will be : If((DataCardValue5.Text) = "Homeoffice", "ERROR"). This one work perfectly

     

    But what if the fields work with options or it contain a Date or an hour? how must be the sintaxis?

     

    Thank you so much for your help!

  • eka24 Profile Picture
    20,923 on at

    It all depends on what you want to check:

    For Date: If(DatePicker1.SelectedDate=Today(),"aaa","bbb")

    For Option: If(OptionName.Selected="nn",true,false)

     

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

    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.

     

     

  • Community Power Platform Member Profile Picture
    on at

    Perfeeeeeeeeect!!!! The formula that contains a Date work perfectly! but the one with options dont. For example:

    If(DataCardValue1.Selected = "Home" , "Error").

    The problem seems to be in the "=" like you can see in the added screenshot.

    Thank you sooo much for the help!

  • Verified answer
    eka24 Profile Picture
    20,923 on at

    Try:
    If(DataCardValue1.Selected.Value = "Home" , "Error")

    If it doe not work, show a screen shot o the DataCardValue1 itself

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

    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.

  • eka24 Profile Picture
    20,923 on at

    Try:
    If(DataCardValue1.Selected.Value = "Home" , "Error")

     

    If it does not work, give a screen shot of the DataCardValue1 itself.

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

    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard