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
Q2SSORequestHandler - Render in new window

So I am working with the SSO example and trying to get an iframe/overpanel to appear. It seems regardless of how I set RENDER_IN_NEW_WINDOW, a new tab opens with the link I provide and this is not the behaviour I am after. How can I change this?

class ExampleSSOHandler(Q2SSORequestHandler):
		...

    #Whether the result is displayed in an overpanel or a new tab
    RENDER_IN_NEW_WINDOW = False

    ...

    async def default(self):
				...

        print('render in new window:' + str(self.RENDER_IN_NEW_WINDOW))
        response = Q2SSOResponse(ResponseType.LINK_OUT, response="http://sso.zogofinance.com" )
        return response

The example above always prints "render in new window:False" and still opens a new tab.
Thanks

Posted 5 years ago
Votes Newest

Answers


This is a setting that is set in the database at install. We have not created an "update" for SSO extension yet in the sandbox environment. So in order to update this value in the DB as of now, you need to uninstall and reinstall the SSO. This should update the SSO so it renders in a panel within online.

Posted 5 years ago
Paden Rose
77 × 1 Administrator
160 Views
1 Answer
5 years ago
5 years ago
Tags