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 Apps / About Rule Deprecation...
Power Apps
Answered

About Rule Deprecation (SharePoint Form)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:
  • eka24 Profile Picture
    20,925 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
    Microsoft Employee 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,925 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
    Microsoft Employee 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,925 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
    Microsoft Employee 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!

    PowerAppsFormError.png
  • Verified answer
    eka24 Profile Picture
    20,925 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,925 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard