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,"","")
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?
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")'
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).
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.
go to post
Thank you Alex. That worked.
go to post
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
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
Looks like ClearTable is not the correct method. As per the code, its doing
{
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
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
Thank you Eduard and Robert.
Do i have to encode this to base64 prior to the WS call?
go to post
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
Thank you Vitaliy. why 5700? is there an optimal chunk size to split a large stream?
go to post
Thank you Scott. So assuming you were pushing to multiple targets at the service level?
go to post
does any one know what 'quit 0' will do at the DTL level? Does this retry the same message? Appreciate it.
go to post
Does anyone know what 'quit 0' at DTL level do?
go to post
does anyone know what a 'quit 0' at DTL know will do?
go to post
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
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
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
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.