- This topic is empty.
- AuthorPosts
-
- 05/20/2011 at 12:46 pm #4797
AnonymousParticipantHi Jeff,
From where you want to pass the dates?
- 05/20/2011 at 12:55 pm #6719
AnonymousParticipantI have a web part page that the user is interacting with. On there in some type of webpart, I need to have the user enter a valid date / select from a date widget. The date needs to be converted to ISO 8601 format and fed to the CAML filter of a chart (to show data from between the two dates) and a ListView (to show line item data between the two dates). As i mentioned above, I have used a qselector to show the user a dropdown list that is then passed by session variables to the CAML filter. In this case, the qSelector will not work since not all possible dates can be stored in the list.
- 07/15/2011 at 12:42 pm #6734
AnonymousParticipantWhat I finally did
Create a new List (report Inputs)
Create a new qlistform to allow the entry of the information
– passed the information through Session
– Next page hyperlink points to the report
On the report page
– added a qlistform (display) to the top to show parameters.
– Set CAML filter to read session information
Added an edit form to allow the user to change parameters
- 07/15/2011 at 12:46 pm #3885
AnonymousParticipantI am looking for an easy way to pass a user entered date range into a qListView and qChartView web part. I have in the past used the qSelector control to allow the user to select year and quarter from a predefined list and have them passed as session variables. Is there a similar approach that can be taken here??? I have tried to use a date control but ran into 2 problems, First I was not sure how to get them into a session variable, and second the CAML filter wants the dates in ISO8601 format. I have looked at having a page before the report and passing the parameters via HTTP, but the new values are not recognized before the form is saved. I would prefer to do this without saving a row to an intermediate list. Any suggestions would be appreciated!!!
- 07/15/2011 at 12:46 pm #6735
AnonymousParticipantI'm glad you found a way to do it.
This workaround will help other people.
-
- AuthorPosts
You must be logged in to reply to this topic.