Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Grab parent url from an iframe

I'm trying to grab the parent url from an Q2 widget iframe(CSR widget).

Is there any tecton function or any method to get the parent url?

I'm getting the below error, when I tried with window.parent.location.url

Uncaught DOMException: Blocked a frame with origin "https://sdk-stg.onlineaccess1.com" from accessing a cross-origin frame.

Thanks in advance

SaiKiran

NueveSolutions

Posted 4 years ago
Votes Newest

Answers


This is currently not possible via that method. It is a browser block on that function. Server side it is currently possible, and you can also just throw it in your wedge address config.

There is another method you can check that is available in Tecton v1.10.0 and UUX v4.4.0.122 and higher. Calling window.Tecton.platformUrl should get you the data you are looking for.

Posted 4 years ago
Edited 4 years ago
Trey Teter
124 × 2 Administrator
112 Views
1 Answer
4 years ago
4 years ago
Tags