go to post Dmitry Maslennikov · Nov 4, 2016 And also, I forgot to mention about method CreateDirectoryChain in %File class. And you should use it, if you want just create a folder. But back to $zf, can you try this command ? set cmd="mkdir e:\Sample\new" > output.log 2> output.log" set res=$zf(-1, cmd) and what will be in res variable, and in output.log file which you can find in database folder for your namespace.
go to post Dmitry Maslennikov · Nov 4, 2016 Next time please, create new own topic as a question instead of asking in some topics.
go to post Dmitry Maslennikov · Nov 4, 2016 I would recommend to use $zf instead of pipes, in this way you can get errorlevel. But in any way you can redirect error output to some file, to see what's going wrong. I suppose, that your E disk is a network disk, or you don't have e:\Sample path, where will be possible to create folder new
go to post Dmitry Maslennikov · Nov 2, 2016 In Caché you can't do so, without any external tools. And anyway, most of beautifiers works only in some IDEs, you can just copy output and beautify in VisualStudio Code as example.
go to post Dmitry Maslennikov · Nov 1, 2016 I think it depends what you want to achieve. This method just logout all users, or particular ones. But you should do something in your application. You should look at logout callback, to know where user is logged out. Or at every request, check if user logged in, if not, redirect to some authentication page. But I think, you should already have the same mehanizm.
go to post Dmitry Maslennikov · Nov 1, 2016 No, in this case it will be just a list of tags, not a tag cloud. The same idea should be for block Browse by member. But looks like after some latest update it was broken, and sort people in some strange way, or even not show some useful persons.
go to post Dmitry Maslennikov · Nov 1, 2016 Yes, you right, but you should also remember, that your file can also be in another property, like `Content`. I think that you want to set some limit, for file which is available to upload to server. And in this case, this file will be uploaded at the server any way. And I would recommend to use FileAPI on client side, and you can check file size before loading it to the server.
go to post Dmitry Maslennikov · Nov 1, 2016 Sorry, that I'm confused you. I'm edited a bit your post, and fixed image, which had a big white useless space, and link to old design instead of new.
go to post Dmitry Maslennikov · Nov 1, 2016 I'm not sure where it is in a documentation. But you can use mask search here, where * is any number of symbols and ?. So, you can try this string, Provider * Status, and it should find any files, where will be found line with this two words in the same order
go to post Dmitry Maslennikov · Nov 1, 2016 By default in latest versions, when you create new namespace, it should be activated as Ensemble enabled. But you can do it manually at any time, with method EnableNamespace in class %Library.EnsembleMgr. do ##class(%EnsembleMgr).EnableNamespace($namespace)
go to post Dmitry Maslennikov · Oct 31, 2016 What do you mean ?To get this task running every hour every day, you should use Daily, and set every 60 minutes or 1 hours, and set a limit for this task in days time, like working only in business hours. And you can also use Weekly and Monthly schedule, with working every hours. It means that you can set task to work only in working days at business hours every hour.And OnDemand tasks, will run only by manual, and will be run only once after start.
go to post Dmitry Maslennikov · Oct 27, 2016 Fixed image size, and link WRC directly to the new interface
go to post Dmitry Maslennikov · Oct 27, 2016 ctrl+shift+F - Find in FilesSupports also, search by some kind of regular expression
go to post Dmitry Maslennikov · Oct 27, 2016 Can you share a bit more details, how you embedded it to Ensemble ?Wizard - is it Studio wizard ?And have you configured .Net gateway ? You should have it anyway, and you can configure log file, which may be contain some errors.
go to post Dmitry Maslennikov · Oct 26, 2016 In a development process, you can use any latest version of Caché, and export all code to source control system, in version which you use in production. It is not so difficult as may looks. Except only if you use so old system, like 2010.1 or earlier, because export qualificator /cacheversion supports version 2010.2 and later. In this case, you should have some building process, which will be at right version, which you need. I've used this way for years, and for our client we built two versions 2010.2 and 2012.2 from the same repository. You just should not use some new features, or use macroconditions by version, except JSON, you can't use anyway if lowest version doesn't support it yet.
go to post Dmitry Maslennikov · Oct 25, 2016 Fixed a bit style for table, increased font-size, and removed unnecessary empty cells
go to post Dmitry Maslennikov · Oct 24, 2016 No. Just because most of code of this portal used static links. To change it you should change lots of classes, and even recompile some csp files.
go to post Dmitry Maslennikov · Oct 24, 2016 Thanks a lot Peter, it's a good point, I'll add this check.
go to post Dmitry Maslennikov · Oct 24, 2016 I haven't used SSD in production yet. I'm sure there lots of people who can say more about it. But anyway as I know, all modern SSD, and even which is special for servers, now has a very big count of rewrites. So, it means, that in most cases now you should care about it at all. And fragmentation could be a problem only when you have so many empty blocks, which should be cached, but you don't have some many RAM for it.