I am creating a custom New Relic one application leveraging the platform New Relic has provided to create custom ReactJS apps to be deployed in the Apps section on New Relic one.
I have a use case in which I need to read the query parameters.
For example: If I have a URL like below
I have a use case in which I need to read the myQueryParam to show data accordingly in the application. This is a use case in which we directly want to query some particular information directly via information from the URL when we redirect to this application from some external website.
I tried using the ReactJS properties like props.location, but they do not work as the application is deployed inside a frame and does not have access to the URL directly(?). We can read properties like timerange via PlatformStateContext. I was wondering is there a way to modify the PlatformState class to get custom data from it.