go to post Nezla · Apr 3, 2024 When I compile the class of the custom component it creates the .js & .css components in install\CSP\us-serenity where us-serenity is my namespace, so I manually copied those components to install\CSP\broker and that fixed the error, so I'm wondering why when compiling it doesn't generate to broker folder or how can I make my install look for the generated components in install\CSP\us-serenity instead of install\CSP\broker? Thanks Stephen
go to post Nezla · Apr 3, 2024 To what I can see those classes seems to be some kind of system classes or system generated, so I'm wondering if there is a utility to include them or something ?
go to post Nezla · Apr 3, 2024 Yes, as I mentioned I compiled MSDS.ZEN.Component.imageclickbuttom and also class in question MSDS.UI.HandHeld.RTLSLogin.ProductLine and both compiled successfully I also ran d $System.OBJ.CompileAll("c-k-l") from the terminal and yes I got 24 Errors but none is related to classes in question (MSDS.ZEN.Component.imageclickbuttom or MSDS.UI.HandHeld.RTLSLogin.ProductLine)
go to post Nezla · Mar 13, 2024 Thanks, our client didn't recommended a specific port and it worked fine from Postman without it, but now I've set the default port 443 and still the same error?
go to post Nezla · 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 Nezla · 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 Nezla · 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 Nezla · 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 Nezla · 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 Nezla · 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 Nezla · 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 Nezla · 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?