go to post Conor Browne · Jan 17, 2018 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
go to post Conor Browne · Dec 14, 2017 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 24Any ideas what could be wrong?
go to post Conor Browne · Sep 27, 2017 Thanks Jorge,I'll try setting the endpoints to "Unauthenticated" for testing purposes, eventually I intend to use OAuth2 for authentication.-Conor
go to post Conor Browne · Sep 27, 2017 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.
go to post Conor Browne · Sep 20, 2017 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
go to post Conor Browne · Sep 15, 2017 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."