Question

How to read Query string values inside the custom apps

  • 15 June 2022
  • 1 reply
  • 12 views

Badge

HI I would like to read query string value inside my Custom app in Freshsales CRM

 

I would like to read the query string values inside custom app.

async function init() {

 console.log(document.location.href);

}

i am not able to get the query string values inside my custom app.

appreciate your help. 

Thanks,

Pon

 


1 reply

Badge

Also i have tried using below 

 

console.log(window.parent.location.search);

 

i got below error.

VM434 app.js:13 Uncaught (in promise) DOMException: Blocked a frame with origin "https://url" from accessing a cross-origin frame.

 

Reply