queryParamMap of activatedRoute is not fetching the value from url. Its showing as null

82 Views Asked by At

I have 2 applications from one to another I'm redirecting using window.location.href and passing the query parameter from 1st application. (Shown below in screenshot) from app1

In the 2nd application, I'm trying to access the query parameter using the activaedRoute. (like shown below): from app2

Im unable to get the query parameter in the 2nd application. What wrong am i doing here. 'name' is showing as null in the 2nd app. Please help...!!

0

There are 0 best solutions below