Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
alucard_ae86
Contributor
Contributor

Date Url Parameters

Hello Experts,

I am trying to use a url parameter for a date field. I am passing select=SL32,"01/01/2017" at the url of document but that does not seem to work. Can you suggest any solution?

Regards

5 Replies
marcus_sommer

I think the problem are the slashes within your date-format which needs to be escaped: escaping - slashes in url variables - Stack Overflow.

- Marcus

alucard_ae86
Contributor
Contributor
Author

Hello Marcus,

Thank you for responding. I have tried passing &select=SL32,01%2F/01%2F/2017 and &select=SL32,"01%2F/01%2F/2017" but still it does not work. Do you have any suggestions or a sample to help me ?

Thank you in advance

marcus_sommer

I think %2F should replace the slash and not just put before the it. Therefore try:

&select=SL32,01%2F01%2F2017

It's the same logic like applied here: AJAX and URL parameters

- Marcus

alucard_ae86
Contributor
Contributor
Author

Hello again Marcus,

Thank you again for responding. Still your solution does not work.

Regards

marcus_sommer

Are you sure that you have the right object-id and that the format is the same like in the underlying field. Further your object-id is "SL32" - is this a slider or a listbox. By a slider I'm not sure that a select-call will work even if its interact with a field but on a listbox it should work.

- Marcus