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
how to grab URL Parameters?

Hello,

I'm trying to send a GUID from my URL into my extension.
Something like:
/extension/AccountUnlockProcessor/Main?access_key=123

In the past, I would just call :
self.request.query_arguments.get('access_key')

For some odd reason, this isn't working anymore. I just get 'None'.

Help?

Posted 3 years ago
Votes Newest

Answers


Hi Geoff Lo,

if you are using CSR or SSR extension you have following ways to grab URL params

using tecton grab query paramater from html code and send to Q2 extension's route:

  tecton.sources?.paramsChanged((newParams: any) => {
    console.log(newParams, 'newParams');
    cdRenewalExtension = newParams?.access_key;
  });

in python:
self.get_argument('code', None)

Thanks,
Swarup
swarup@nuevesolutions.com

Posted 3 years ago
126 Views
1 Answer
3 years ago
3 years ago