Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 9H0DwYBDKBTPZ6YSqNHtqi
Power Pages - General Discussions
Unanswered

Filter dropdown based on choice from another column

Like (0) ShareShare
ReportReport
Posted on 13 Mar 2025 06:39:53 by 163
I have a solution with a multistep form to create an orderlist. I have a loopup field "Ordertype" that has a choice column called "Storage values". In the orderlist form, I have a lookup column "Storage type" that renders as a dropdown. The names in this dropdown is the same as the values of the storage values. When I choose an ordertype, I want the field "Storage type" to only show the fields that matches the values choosen for the selected ordertype for storage values. 
 
In my model driven app, I use
 
var orderControl = formContext.getControl("ino_order");
orderControl.addPreSearch(function() {
    orderControl.addCustomFilter(filter);
});
 
where the filter is in format 
 
<filter type='or'><condition operator='eq' attribute='ino_orderid' value='de296f0c-d0cd-ef11-b8e9-000d3aba081f'></condition></filter>
 
But how do I do this in Power Pages?
Categories:

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,338 Most Valuable Professional

Leaderboard
Loading started