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
Remove js script from initial HTML payload

Hi,

I am following https://docs.q2developer.com/guides/frontend_development/uux_payload.html to add js to the uux and run globally at start. I am wondering if there is a method to remove and unload the js to the uux?

I commented out the self.uux_payload, update_insatlled, and run. However, it seems the same js still load on start. I also tried uninstall the extension that has the js which still load the js on start.

Posted 4 years ago
Votes Newest

Answers


It should have been removed by q2 uninstall. I do see that extension is uninstalled now, not sure why it wasn't removed when you uninstalled it. Possibly because of some of the initial other attempts.

None the less, it is gone now.

For reference, the script is placed in a UiConfigPropertyDataElement/UiConfigPropertyData entry. The Element name is "Q2_SECURITY_SECURITY_THIRD_PARTY_HTML_BLOCK" ... you can lookup the PropertyID of that in UiConfigPropertyDataElement table and then take that PropetyID and go to the UiConfigPropertyData table and change/remove the value.

Posted 4 years ago
Ryan Hollister
196 × 4 Administrator
133 Views
1 Answer
4 years ago
4 years ago
Tags