How to check whether the data resource you are using is taking the input from another page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 09:32 AM - edited 07-30-2024 09:39 AM
How to check whether the data resource you are using is taking the input from another page?
This is a page which has a component on clicking one the numbers in the number column it directs to another page.
As you can see there are 2 components on the left hand corner table and sysId .
On the same page we have some client state parameter
We can see the filterCondition is empty
This state client parameter are joined to data resource
Let’s take an example that we are not sure that the conditions are not getting printed. Is there any method to check it?
Yes let us take a look:-
First create a modal box:-
6
As we can see the middle part (condition:) let’s add some text there
The text:-
Let’s write some script and execute it once the page loads
Attached the script to the page so that it executes as soon as page reloads
Let’s also trigger the above modal box in the event section (data fetch succeeded) of the data resource
Bit of configuration in the event mapping
As soon as both of the pages are review
After clicking on one of the numbers it redirects to another page
As you can see the modal box appears as soon as the page reloads and the filter condition which was empty (@state.filterCondition) has got a value
- 346 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2024 01:31 AM
Can you explain a use case where this would help?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark