Target URL Parameterization for Present
I am currently digging into getting target settings in url right.
It works with simple URLs like
https://pyramid.someserver.de/direct/?id=XXXX-XXXX-XXXX-XXXX-XXXX&slideNumber=5&target[target1]=[DIM_VERTRAG].[MANDANT].[companyA]
But..
1) how does it work for multiple selections to be set in a slicer?
Tried:
2) How does it work to update a datepicker slicer?
https://pyramid.someserver.de/direct/?id=XXXX-XXXX-XXXX-XXXX-XXXX&slideNumber=5&target[target1]=[DIM_VERTRAG].[DATUM_VERTRAGSBEGINN_NORMIERT].[2025-01-29 00:00] (this one even throws an error).
3) Why does it not work when using multiple targets (tried setting datepicker and mandant for example)
None of the above works. The documentation is not clear about it either.
Thanks for any help,
Fabian
2 replies
-
Hi
You can use multiple members from the same hierarchy in your parameterisation by listing the members in the URL, seperated by a colon, :
For example:
https://<pyramid server>/direct?id=34770607-5bd8-4766-9457-01cd51fb05e6&Target[Man1]=[Manufacturers].[Manufacturer].[Acme]:[Manufacturers].[Manufacturer].[Esics]
The Target can send on the selected members as a filter directly to the analytic object, or set the values in a multiselect slicer:
This is shown on the Help page:
I see however, that the code example is not formatted correctly so you can't see the colon. We'll fix that and add the description to the text.
From what I can see, currently a Date slicer configure as a Date Calendar is not supported for URL parameterization. You can send Dates to a Date slicer configured as a standard drop down etc., but you need to send the date in its internal format, not the date string, for example [Data].[Date].[1732665600000] rather than [Data].[Date].[2024-11-27].
Hope that helps.
Ian