FYI: I found that an Atelier error isn't thrown if you use the long version of the shortcut @ i.e. by just using v-on
- Log in to post comments
FYI: I found that an Atelier error isn't thrown if you use the long version of the shortcut @ i.e. by just using v-on
The REST example using Axios works great from outside the Cache environment but when I try it out in a CSP page ( a HTML based CSP page e.g. demo.csp ) Atelier throws a syntax error due to the @click="getPostsViaREST". ERROR #5928: Syntax error while parsing tag <button> on line number 24
Any ideas what could be wrong?
Thanks Jorge,
I'll try setting the endpoints to "Unauthenticated" for testing purposes, eventually I intend to use OAuth2 for authentication.
-Conor
Thanks, I had assumed localhost and localhost:port would be considered the same domain but they are not ( so probably the reason for the CORS errors I'm getting). The working webserver "http://spark.furore.com/fhir/Patient" is a public non-healthshare repository that you can query against. It is sending back response headers that allow the query to process and return data.
Thanks for the suggestion.
Thank you so much Francisco, I accepted your answer. This would have taken me hours to figure out!
The time taken to explain is much appreciated,
Conor
Ok thanks for the info.
Ok thanks for the info. Just seeing what possibilities are out there right now. Was looking at installing SMART apps ( with OAuth2) to view content inside the FHIR repository I configured.
Doing the following: do ##class(HS.Util.Installer.FHIRServices).OAuthServer()
Threw the following error: "Information Exchange Registry namespace not found in this instance.
OAuth Server must be in the same instance as the Registry."
Thanks Paul.
Thanks for the advise.