- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 02:06 PM
I was wondering if it is possible to replicate the "condition" filter selector of the platform side onto a widget for the portal?
I want this:
To be on a widget for the portal. Is it even possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2020 01:13 PM
Yeah np 🙂
I was able to find the actual widget that displays the conditional builder.
So the widgets go like this for anyone who is looking for something similar:
- Data Table from URL Definition
- Data Table
- Filter Breadcrumbs
- SN Desktop Filter <-- This widget contains the code for the conditional builder.
Either way, thx for the initial help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 02:09 PM
Is the goal to show the widget when the condition is met? Or literally to have the condition builder shown in the widget to be used to filter a list or something similar?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 02:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 02:21 PM
Ah...OK. What's the purpose of the widget? Is it something like a simple list type or something more elaborate? If you want to allow users to filter a list of records you could use the "Data Table from URL Definition" widget displayed on the "lf" page (with whatever modifications you want). This provides a condition builder to the user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 02:49 PM
I am unable to find the HTML that displays the conditional builder. I would like to know how they are doing it, in case, for example, if I want to change the color of "AND" from light blue to gray or change the wording of "All of these conditions must be met".
I see that the embedded widget within "Data Table from URL Definition" is "Data Table" and the "data.filter" is the variable that holds the encoded query from the conditional builder. However, nothing in the HTML points to the actual conditional builder.