go to post Evgeny Shvarov · Aug 29, 2019 Hi Vandrei!Als check the video on how to start coding InterSystems Object Script with GitHub and VSCode on IRIS Community Edition. Takes 5 min.
go to post Evgeny Shvarov · Aug 29, 2019 Julian, you are welcome!There is a lot of other good stuff on InterSystems Open Exchange made by this community developers.
go to post Evgeny Shvarov · Aug 29, 2019 Thanks @Julian.Matthews !Also just to add - this situation could be reproduced in a real-world too: this is a Web Terminal made by @Nikita Savchenko , which is quite installable into any IRIS, Caché, Ensemble, etc.
go to post Evgeny Shvarov · Aug 28, 2019 Hi Dmitry!So the new release on VSCode on Open Exchange.It says - there is a debugger now.How to introduce a breakpoint?
go to post Evgeny Shvarov · Aug 27, 2019 Hi Salma!isc dev is a community project. So you either can submit an issue or/and contribute the desired functionality by yourself and PR it to the repo.
go to post Evgeny Shvarov · Aug 27, 2019 Perfect!So, what is the setting of this parameter to export classes into:/src/clsfolder?
go to post Evgeny Shvarov · Aug 27, 2019 Sorry Vivek. My code provides you the Id of objExternalUser you save (possible create) above. It's 1).It's not the latest inserted record. I thought you need:I need RowId of inserted record.Out of curiosity: why do you need the latest record?
go to post Evgeny Shvarov · Aug 27, 2019 Hi Vivek!Instead of &sql ... you can do: write objExternalUser.%Id()
go to post Evgeny Shvarov · Aug 27, 2019 I agree. I don't know the reasons which caused to limit the MAXLEN to 50 characters... It steals months (if not more) of developers time to find out what was the bug and why this doesn't work because of MAXLEN=50;
go to post Evgeny Shvarov · Aug 27, 2019 As I see in your code you already do some "error handling". So you can continue:Change your code Do objExternalUser.%Save() to the following: set stat=objExternalUser.%Save() if $$$ISERR(stat) { #; error handling d $System.OBJ.DisplayError(stat) } HTH. Out of curiosity - you have empty Try-Catch block. Why don't use it? you could embrace your code into the following: $$$TOE(objExternalUser.%Save()) And catch your error with status in catch then.
go to post Evgeny Shvarov · Aug 27, 2019 Hi @Vivek Nayak!Always check the status of %Save - it could result in an error. And I think this what was happened in your case.90% of my "it doesn't save" with %Save caused by MAXLEN of %String property. %String property goes with MAXLEN=50 by default and it's often not enough. Check you have a such ;)
go to post Evgeny Shvarov · Aug 26, 2019 Thanks, @ED Coder! Thank you! Happy to work with such people! Great team, perfect Community!
go to post Evgeny Shvarov · Aug 26, 2019 Thanks, @Herman Slagman!If you want to share this and other items on DC-Innovations issues? Would be great.These are current requests.
go to post Evgeny Shvarov · Aug 26, 2019 Dear @retolik frolki !If you ask your question on the Spanish Community you have more chances to get an answer.
go to post Evgeny Shvarov · Aug 21, 2019 That's why I like to develop with IRIS docker containers - every time you have clean IRIS with no garbage code, cache, temp globals, whatever... - you have only what you setup in a build dockerfile script.