go to post Eduard Lebedyuk · Mar 22, 2017 Here's how to view stream properties in SQL. Alternatively you can use %CONTAINS to search the stream.Another way would be writing an sql procedure that gets stream, converts it to object and checks if it has the token. Would be slow though. Maybe do a simple [ check first and then pass only those rows that have the token into sql procedure?Can you parse the stream when you receive the message?
go to post Eduard Lebedyuk · Mar 22, 2017 You can set PasswordValidationRoutine in the Security.System class. When a user is created in the Cache security database, or a user changes their password, the specified routine is called to validate the password. A tag reference may also be included in the property. The routine should be provided by the user, and must exist in the %SYS namespace (it may be mapped to a different database however.) The routine will take 2 parameters, a Username and new password, and should return a %Status code of $$$OK for successful password validation, or an error code formatted into a %Status variable. The username passed into the function will be in all lowercase, and will contain the domain name if multiple domains are enabled for the system.
go to post Eduard Lebedyuk · Mar 21, 2017 Allowing client to specify server-side is not a recommended approach. "C:\"_%request.MimeData("FileStream",1).FileName Use incremented integers, hashes or guids instead.
go to post Eduard Lebedyuk · Mar 21, 2017 Second line should be: Set status=context.ReturnedIds.SetAt(callresponse.PatientLookupResult.Patients.GetAt(1).IDs.GetAt(1).ID, 1) You need to modify your BP definition to something like this: <assign property="context.ReturnedIds" value="callresponse.PatientLookupResult.Patients.GetAt(1).IDs.GetAt(1).ID" action="set" key="1"/> To copy all IDs for all patients you'll need to iterate over results.
go to post Eduard Lebedyuk · Mar 20, 2017 Can you also post OnResponse1 method of FCH.BPL.PATWISJSONEPICXML.Context class?
go to post Eduard Lebedyuk · Mar 18, 2017 Use GREATEST: SELECT GREATEST(TO_DATE(58073), TO_DATE(58072))
go to post Eduard Lebedyuk · Mar 17, 2017 Do you mean that you need to translate the data, rather than the metadata?
go to post Eduard Lebedyuk · Mar 16, 2017 Check ..Adapter.URL_"users/ping.json" - it does not seem to answer (you're getting timeout error).
go to post Eduard Lebedyuk · Mar 12, 2017 Here's an article on how to write your own zeppelin interpriner.
go to post Eduard Lebedyuk · Mar 10, 2017 You can define class storage on ppgs. Can't do that on % variables.Any kind of implicit kill does not affect ppgs but does affect % variables.They only case where I use % variables is if I really need some global object (java gateway and CSP global vars). Otherwise I use ppgs.
go to post Eduard Lebedyuk · Mar 10, 2017 First install Caché as usual, after that install Nginx.Docs for Windows and Linux.
go to post Eduard Lebedyuk · Mar 10, 2017 You need to configure any external web server for Windows or Linux.After that you need to add https to this web server.
go to post Eduard Lebedyuk · Mar 8, 2017 %request.Content is a stream with all JSON payload.If you want to process HTTP requests, you can use REST API.