go to post Rochdi Badis · Mar 12, 2024 Yep exactly, getting null means that my post might not even get there and I'm trying to find out the reason.Yes RTLS is configured in SSL and I'm actually using it in other place for other clients and working fine but not with this client?Thanks
go to post Rochdi Badis · Mar 12, 2024 No errors, tSc returned as null, which I guessing that the post didn't go through because I'm doing something wrong in my code?
go to post Rochdi Badis · Dec 4, 2023 Thanks Enrico yes the JSON is fixed but what I'm trying to say is that Set dynOBJ = {}.%FromJSON(pInput) is raising a compilation error in Ensemble 2014 and maybe I can use Set dynOBJ = ##class(%Object).%FromJSON(pInput) instead ? Thanks
go to post Rochdi Badis · Dec 4, 2023 Thanks Enrico, I was so focused on my end of code and I didn't notice the wrong JSON that my client is sending, but BTW my client is running Ensemble 2014 and Set dynOBJ={}.%FromJSON(pInput) is raising an error maybe this is one of the latest versions Set dynOBJ = ##class(%Object).%FromJSON(pInput) doesn't raise errors so will try that ?but in this case does my client need to send with Get or Post action? Thanks
go to post Rochdi Badis · Oct 25, 2023 Sorry Ashok this code didn't work, my globals could set at all maybe because in the code it's locked before been set, will put some traces and see where it's stopping tstart if staten["IUDX" { lock +^IudexNqlInByte(1):0 if $test{ set IudexNqlInByte(1,inc)=obj.%Id() lock -^IudexNqlInByte(1) } } else { lock +^ToshibaNQLIn(1):0 if $test { set ^ToshibaNQLIn(1,inc)=obj.%Id() lock -^ToshibaNQLIn(1) } } tcommit
go to post Rochdi Badis · Oct 24, 2023 Yes but the thing is that even deleting the lock from Terminal doesn't seems to work Deleted lock for ^AlliedOneNQLIn refreshed the locks page and all the locks are still there ?
go to post Rochdi Badis · Oct 24, 2023 I thought that tcommit will delete the locks ?I think I tried deleting lock using lock -^Myglobal before and didn't work even from the Terminal will try and see Thanks Ashok
go to post Rochdi Badis · Oct 23, 2023 Thanks, I've applied the following which I'm guessing it should release the each lock after 2 secs but as I checked in management portal the some locks are still there for the last couple of hours, so am I missing something?
go to post Rochdi Badis · Jun 16, 2023 Do you know of any Activex that I can use, the one I'm using is a pretty old and doesn't work on newer versions ? Thanks
go to post Rochdi Badis · Jun 6, 2023 BTW is there a way to delete files where their name starts with.. eg. all file start with Myfile*? Thanks
go to post Rochdi Badis · Jun 6, 2023 Thanks Julius I found the problem, the reason why the directory couldn't be removed because the command before was holding it because it's deleting a file inside the directory the last command is trying to do. so D ##class(%File).Delete(FileZip) is deleting a file inside the directory "FileUnZip" (##class(%File).RemoveDirectoryTree(FileUnZip)) I've removed the first call and now the second is execute Ok Thanks