go to post Ravi Akkiraju · Dec 16, 2022 Eduard - thank you. That really helped. I can open a new thread if needed but do you know if we can use the Modify class to reset an user's password? Edit: Found this in %SYS.LDAP but was wondering if I can do this with the existing operation EnsLib.LDAP.Operation.Standard without creating another inherited class. s password="NewPassword"s ChangePassword=$zcvt(""""_password_"""","o","UnicodeLittle")s Attr1=$lb(130,"unicodePwd",$lb(ChangePassword))s Attributes=$lb(Attr1)s Status=##Class(%SYS.LDAP).ModifyExts(LD,DN,Attributes,"","")
go to post Ravi Akkiraju · Feb 21, 2022 Interesting article and well written. What could the potential use cases be? Can the functionality be stripped down to bear minimum to reduce the application foot print and enhance the integration capabilities for smart home devices?
go to post Ravi Akkiraju · May 9, 2021 Looks like ClearTable is not the correct method. As per the code, its doing ClassMethod %ClearTable(pTable As %String){Kill ^Ens.LookupTable(pTable)} so..i did this but not too comfortable touching the globals directly. Hoping there is a cleaner way... (the below works).. Table initialization s tmpTable = ##class(Ens.Util.LookupTable).%New()s ^Ens.LookupTable("myNiCTmpTable00992314","DUMMYVAL")=0 //create some randomly named table <....use this tmp table for lookup and adding new rows.> delete the tmpTable once done with usage d tmpTable.%ClearTable("myNiCTmpTable00992314") Edit: Adding a 2 digit random number at the end of the temp table name to ensure no conflict if multiple threads are running at the same time.
go to post Ravi Akkiraju · Mar 21, 2021 Thank you Eduard. Below is the error i am getting ERROR <Ens>ErrException: <METHOD DOES NOT EXIST>zSetPatientPhotoOperation+2^UH.Photo.Operation.IPatientAccessMobileServices2016.1 *SetHttpHeader,EnsLib.SOAP.OutboundAdapter -- logged as '-' number - @' Set tSC = ..Adapter.SetHttpHeader("something", "someValue")'
go to post Ravi Akkiraju · Mar 17, 2021 Thank you Eduard and Robert. Do i have to encode this to base64 prior to the WS call?
go to post Ravi Akkiraju · Dec 1, 2020 HI Marc - how about during daylight savings time? Does this routine take care of that case even though we are specifying %K(-5)? May be use $System.Util.IsDST() and do -4 if true. Edit: That check if DST will not work if the input timestamp falls in DST but we are doing the conversion outside of that. There has to be an easier way to convert this (may be against the local OS timezone or something).
go to post Ravi Akkiraju · Aug 1, 2020 Thank you Vitaliy. why 5700? is there an optimal chunk size to split a large stream?
go to post Ravi Akkiraju · Oct 14, 2019 Thank you Scott. So assuming you were pushing to multiple targets at the service level?
go to post Ravi Akkiraju · May 12, 2017 does any one know what 'quit 0' will do at the DTL level? Does this retry the same message? Appreciate it.
go to post Ravi Akkiraju · Apr 24, 2017 May be set Failure time = -1 (at the REST operation component)?Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
go to post Ravi Akkiraju · Apr 24, 2017 May be set Failure time = -1 (at the REST operation component)?Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
go to post Ravi Akkiraju · Apr 24, 2017 May be set Failure time = -1 (at the REST operation component)?Will that help, to keep retrying the same message until the connection is re-established with the external webservice server?
go to post Ravi Akkiraju · Mar 17, 2017 Thank you David. Yes, our incoming service does not stick with one HL7 message standard and varies from segment to segment. So we can create a custom schema to match the incoming messages structure but checking all the options.