My goal is for the ‘Show’ button to open a new page with the same information displayed (Both pages have the same datatype) but I can’t figure out how to send the data to the new page?
When the text result information is on the same page as the date/time picker it is easy, I am searching for results > DatePickerA and < DatePickerB but when I send the info to the new page I am no longer able to search as there are no date pickers.
I don’t want to save the data to DB so how can I send the results to the new page?
Another thing is that the page datatype is ‘invoice’ but the Show button is in the group with data:Date which may be an issue?
Thanks, here’s what I see when I try and choose data to send. I can’t set the data because the button’s parent is type is Date but the page info is type Invoice? Also, how do I pass the date picker values as additional URL parameters because the issue here is;
t1. he original date pickers are on a single page app (so are in a group)
2. I don’t want to show data pickers on page 2, only the info from page 1’s data pickers
Not entirely sure why you’re setting the next page as a type of invoice given that it could return a report with multiple invoices based on the date range?
Thanks. I am not sure what a ‘key’ is. In fact, I can tell I am completely out of my depth here so I don’t want to waste your time. I will try and find some help files because I may end up asking you 100 questions otherwise!
Sure, but if you set a page’s data type, it’s expecting one, not multiple.
Doing a search for invoices created by the current user could easily return multiple, right?
I’m just not sure it entirely makes sense in this use case.
You’ll need to create two. The first key is ‘from’, the second key is ‘to’. You’ll then select the values as Date Picker A’s value and Date Picker B’s value respectively.
I can’t see any reason why you need a defined content type at all on your destination page for this, and certainly not User (unless you want Users to be able to share their own, or other Users invoice data with other people).
If you’re only showing the current user their own invoice data then just use ‘current user’ as the constraint on your invoice search on your page, and use the URL parameters for start and end date to show results from the required date range results.
Thanks @adamhholmes that really helped, I was just wondering where to put the Get from page URL and your reply pinged up! I am making good progress, have to pop out but will nail this when back and update you!
You’ve used ‘date_from’ and ‘date_to’ when setting the additional parameters but on the destination page you’re looking for ‘paid_from’ and ‘paid_to’. They need to be the same.