Thanks Enrico
- Log in to post comments
Thanks Enrico
Thanks Enrico yes the JSON is fixed but what I'm trying to say is that
.png)
Thanks
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
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
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 ?
.png)
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
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?
.png)
Thanks Dmitry.
Sorr didn't work
Thx
never mind, got it
What the syntax of the #call() ?
Thanks
Thanks Guys
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
Thanks Alex
Thanks Ian
BTW is there a way to delete files where their name starts with.. eg. all file start with Myfile*?
Thanks
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
Thanks Ben appreciate your help
I know that but your samples doesn't show me how to do that which is I'm after :)
Thanks anyway I appreciate your help
Thanks Ben I'm already aware of the controls that's why I mentioned them in my post, what I'm after is a sample code in how to upload the image file stream it them display it in the image control.
Thanks
So just something like the attached, Upload on the top and image showing below it once uploaded
.png)
Thanks
Do I have to use REST APIs? I'm saving images locally in a class (filestream) then populating it back in an image control I guess.
Thanks
Zen
Thanks Stephano, Yes it's just fixed rows/Columns, I'm just looking to align my textboxes & labels as in my screenshot above so think of it as tables in HTML but I'm not sure if I can have borders using hgroup & vgroup?
Thanks
Thanks Silva
Thank you very much, this answer my question
Thanks you very much Timo that worked but this is strange it working in the dropdown but if I ran the same query in SMP !, what the first parameter means by empty which field is empty (null)?
Thanks
.png)
Thanks
Thanks Mac that's more or less what I did but didn't use LinkToFile, rather used Filename
Set stream.Filename=FileAfUnZip
While 'stream.AtEnd {
Set ReadFFTData=stream.ReadLine()
}
Thanks
Thanks Dmitry, and actually changing to code to copy to filestream then read from it improved a lot, down to 1 sec
Thank again
Thanks Guys