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 check if app is opened inside symphony or directly in browser?

Its an extension app where we need to check if app is opened inside symphony. One of the available condition was to check if window.top is same as window.self but since this app can be opened inside another app (similar to symphony) so it will not work. Another approach was to check if SYMPHONY variable is not available outisde symphony app but it is also present if app is directly opened in browser.

  
  
Posted one year ago
Edited one year ago
Votes Newest

Answers 2


Hi Ankit,

Thank you for your question,

If you wanted to check & troubleshoot whether your extension application was opened inside the Symphony Desktop Client or Symphony Web Client (accessed via web browser) - you will need to use the 'Developer Tools' on each of the clients.

For the Symphony Desktop Client - you will need to click on the following selections from the top naviagation pane.
'Help' --> 'Troubleshooting' --> 'Toggle Developer Tools'

For the Symphony Web Client (accessed by web browser) - you will need to open the 'Developer Tools' from the web browser such as Chrome.

This will open the Developer Tools in a new window - you can click on the 'Network' tab & ensure the 'Console' view is shown on the bottom section.

You can clear the existing logs on the Network & Console sections before proceeding to opening the extension application from where you are loading it from.

You will be able to see if whehter the extension application appears on the Developer Tools on either the Symphony Desktop Client or Web Client. You will find the log entry that appears with the reference to the extension application too to ensure it is the right application.

I hope this helps but should you have any further questions or feedback - please let us know.

  
  
Posted one year ago
Kaosar Ahmed
310 × 3 Administrator
  
  

Sorry for not giving more detail. I need to check it programatically.

Ankit Kapoor   one year ago Report

Hi Ankit,

Thank you for clarifying,

When you launch the extension application - it first initialises the 'SYMPHONY.services'.
You can run 'SYMPHONY.services.subscribe()' to subscribe your local application.

The 'SYMPHONY.services.subscribe()' is an important process for the extension application registration.
It finds a service - either local or remote - that has been registered and returns it. It will returns false if the service does not exist.

Failure to subscribe to a Symphony service is the indicator that your in a web browser - as you will see the response as 'false' confirming that it is launched from with the web browser.

You will be able to find out more information on the following documentation:
https://docs.developers.symphony.com/building-extension-applications-on-symphony/overview-of-extension-api/extension-api-services/register-and-subscribe

Please let us know should you have any further question or feedback.

  
  
Posted one year ago
Edited one year ago
Kaosar Ahmed
310 × 3 Administrator
980 Views
2 Answers
one year ago
one year ago
Tags