So I’m trying to use Page Includes as much as possible (based on best practices), but I’m running into problems.
I have a Page Include called “CaseDetailsInclude” that does not lazy load. It loads initially with a query string of: id={{{$Model.CurrentSession.data.0.CaseId}}}
I also have a queue that updates that page include whenever you select a different item (this updates CurrentSession’s CaseId).
The problem comes in with the Search bar. When I search for something, and use Javascript to update the Page Include everything works peachy, but when I hide the wrapper around “CaseDetailsInclude” (to show other information) and then someone searches, the querystring initially loads, but then it reverts back to whatever it was last set to.
To summarize:
- Load page: Default Case Id
- Use the Queue: Updated Case Id
- Use search: Updated Case Id
- Use the search when components need to be triggered to ‘Show’: Previous Case Id.
Anyone have any suggestions on what I can check? My current thought process is to add JS that runs on page load to set the CaseId initially (so I can use Lazy Load), but I don’t want mod through the problem.
Thanks!
Question
Page include ignoring querystring after Toggle Component action
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

