pfilter in Apps
Hello,
I am hoping to provide the ability to open another app from within in app and persist the filters from the first app. Does pfiltering work with apps? I have not been successful in my attempts. If it does not work, is there another way to provide this functionality?
Thank you,
Chris
** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
** Did this solve your problem? Accept it as a solution! ✔️**
Best Answer
-
You probably need to search the internet for some examples of using pfilters.
Here's an example of what I mean with a pfilter. In the redacted card below, I created a field with a clickable link, "Details".The link is built using a formula with CONCAT. And it looks really complex because its HTML encoded. I did not code it that way. I figured out the URL, and then put it through encoding to tell me what all the funny odd html encoded characters are. (I cheated to make a complex thing simple.)
The formula builds the link to the appropriate page and dataset id, and also passes parameters. I've modified my actual link with something generic (below). Param one is passes the contents of our columnoffice
(note the back ticks). The second param is being passed a static value 'Submitted'.
In this example, I'm linking to mydomain.com, and the page with dataset id "44444444444". I'm including two parameters in the URL.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
I don't think pfilters work across apps currently. As of now, pfiltering does not support passing filter values directly from one app to another. This means that filters applied in one app cannot automatically be carried over to another app. But that doesn't mean you can't work around it. You could try something like creating links that include URL parameters.
https://yourdomo.app/another-app?filter=value
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@ArborRose can you provide an example? I have not been able to make that work either. Example link:
https://yourdomo.app/another-app?SeasonValid=2024-2025
The page in the app loads but the filter is not applied?
Chris
** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
** Did this solve your problem? Accept it as a solution! ✔️**0 -
You probably need to search the internet for some examples of using pfilters.
Here's an example of what I mean with a pfilter. In the redacted card below, I created a field with a clickable link, "Details".The link is built using a formula with CONCAT. And it looks really complex because its HTML encoded. I did not code it that way. I figured out the URL, and then put it through encoding to tell me what all the funny odd html encoded characters are. (I cheated to make a complex thing simple.)
The formula builds the link to the appropriate page and dataset id, and also passes parameters. I've modified my actual link with something generic (below). Param one is passes the contents of our columnoffice
(note the back ticks). The second param is being passed a static value 'Submitted'.
In this example, I'm linking to mydomain.com, and the page with dataset id "44444444444". I'm including two parameters in the URL.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
I see that example is using pfiltering which does not appear to work in apps. You agreed that it does not work and recommended that I pass URL parameters. I was hoping you could provide an example of using URL parameters without pfiltering.
Chris
** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
** Did this solve your problem? Accept it as a solution! ✔️**0 -
@ArborRose this helped get me a little bit further. I am able to pfilter in an App as long as I include the datasetID in the URL. The new challenge it presents is that the persistent filter functionality between app pages does not function unless the filter cards are manually selected. Looks like this will need to be a feature request for Domo to provide this functionality.
Chris
** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
** Did this solve your problem? Accept it as a solution! ✔️**0 -
@Chris_Wolman did you end up making this feature request? If so, can you link it here? I'd like to upvote it. We need the same functionality.
0 -
Here is the link:
Chris
** Was this post helpful? Click Agree 😀, Like 👍️, or Awesome ❤️ below **
** Did this solve your problem? Accept it as a solution! ✔️**1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive