Hi Vikram,
Have you checked if you have granted privileges?

Best regards,
Francisco Lopez
- Log in to post comments
Hi Vikram,
Have you checked if you have granted privileges?

Best regards,
Francisco Lopez
It's a great plugin. Works in server side like Studio IDE. I need to check debug plugging.
I just miss a way to to push my code into a repository (Git, TFS,...) because there is not a copy in my disk folder (like Atelier). To do it, I need to synchronize all my code in Atelier and push into Git.
4.9 over 5
Best regards,
Francisco López
As says the song.... "Words don't came easy to me, How can I find a way to say.. THANKS"
I see you in Spanish Developer Community and this community too ![]()
Best regards
Francisco López
Good point.
I'll do it.
It's not as elegant as <foreach> but...
Maybe is not elegant, but this idea is from a gentleman, so it has glamour ![]()
Best regards,
Francisco Lopez
So it is not possible to do in a DTL?
As you say, I need to do it as code, instread of DTL.
Thanks for the answer
Exactly... using %Save aftewards RemoveItem in Ens.Config.Production works
Thanks for all
it is a mistake when I've copied it in the post. The original code is the same name, and I get the idItem, thanks
Yep, I've used DeleteId(idItem) also, and it doesn't work
Cache for Windows (x86-64) 2017.2.1 (Build 801_3U) Thu Apr 12 2018 10:02:23 EDT
According to github, it is a copy from intersystems-ru

and that link redirect to Cache-visual-Editor https://github.com/intersystems-ru/cache-visual-editor
I think, the latest release is in the following link
https://github.com/intersystems-ru/cache-visual-editor/releases
Please, @Nikita Savchenko correct me if I'm wrong
Best regards,
Francisco Lopez
Yes I have,
but it doesn't work, the item is removed from database but it still into production.cls, so the production is unestable. I should to remove the item manually.
Congratulations to all Spanish community and, in particular, congratulations to @David.Rechefor this great work.
Muchas gracias
Local disk, the same code that you can see in Atelier
The source of the project in my folder
Yes, using Serenji extension.
You say that is only server-side code? it's strange, because the client-side is changed too
Ok, I'll try.
I've checked that it compile, is synchronized server-client and vice versa.
It's good. Only I'm missing the intellisense
Thanks for all
Ok, it was due server port. Now it is connected with the server, but ObjectScript VSCode extension is disabled. Now, I'm not able to compile :(
All previous configuration for ObjectScript VSCode extension was working, and the configuration still in folder configuration and workspace configuration.
Edited: If I disable Serenji, ObjectScript VSCode begin to work
Hi George,
I'm trying to configure Serenji in server and client. In workspace configuration I've got the following code:
I've replaced IpServer and myPassword for security.
In server I've installed as is explained in https://georgejames.com/files-cgi/doc/serenji/3.0.2/GettingStarted.html
Now, my question is... How to sync the code? I'm not see any menu item or something to do it, maybe I'm not using correctly.
Best regards.
Edited: I've created the worspace and it is trying to connect, but I have the following error:
(Real IP is changed)
The server hasn't any firewall that is blocking it. Any idea?
WOW !!!! IT WORKS !!!!
Thanks for all.
I going to add this method in my utility library
Best regards,
Francisco Lopez
I'm afraid not. I'm using Healthshare Ensemble 2017.2
Thanks for the comment...
As you says, it works with all superclass that it has, i.e. %Library.Base or Ens.Request
The %IsA(superclass) is more effective
Well, next time I need to read the documentation in depth.
There is a base method to check if a class extends of other one
set obj = ##class(MyLibrary.ChildClass01).%New() ## this retrieves 1 wobj.%Extends("MyLibrary.ParentClass") ## this retrieves 0 wobj.%Extends("MyLibrary.ParentClassFake")
This has been a "Rubber duck", this is a sample of guide-book of rubber duck. ![]()
More info Clase %Library.SystemBase
Best regards,
Francisco López
Don't forget mark the answer as "Accepted answer" ![]()
Hi,
Try the following code. It only works if the class parent is Ens.DataTransformDTL
// Create a query to get only my class (in MyClass and sub folders) setquery="SELECT ID FROM %Dictionary.ClassDefinition WHERE ID LIKE 'MyClass.%' AND super='Ens.DataTransformDTL'"settStatement = ##class(%SQL.Statement).%New()setqStatus=tStatement.%Prepare(query)settResult = tStatement.%Execute() while tResult.%Next() { set dtlName = tResult.%Get("ID") setclassObject = $CLASSMETHOD(dtlName ,"%New") write !,"DTL: "_dtlName write !,"Source type: "_classObject.GetSourceType() write !,"Target type: "_classObject.GetTargetType() write ! }
Remember: It works only if the class inherits from Ens.DataTransformDTL, if you know which class is the one that inherits the DTL you want to examine, change the name of the value of 'Super' in the previous query
Best regards,
Francisco Lopez
Please, use the DTL class properties
set obj=##class(EXC.DTL.Lamont).%New() write 'Source type: '_obj.GetSourceType() write 'Target type: '_obj.GetTargetType()
Have a look the following documentation
Best regards,
Francisco López
Please, you have to map the class too. It is into Routine database.
Check previously what is the Global name to map it.
Hi,
You need to map the other Global database into your namespace. This is the only way to have visibility of other database
Could you expand your question a little more?
Please, have a look the following links:
Ensemble XML Virtual Document Development Guide
Loading XML Schemas into Ensemble
Using File Adapters with Ensemble
Once you have the content of the file, you will be able to make the necessary transformations in HL7 to make the outbonding operation to out the content.
Best regards,
Francisco López
Thanks Eduard,
Note: I've udpdated my comment, to show that there is two customers
Currently we are not able to rename the link of the Client1 to http://localhost:57772/api/myprocess/Client1/method1, the new customer will have this prefix without problem (http://localhost:57772/api/myprocess/Client2/method1)
Now we have solved this problem adding the forward in Class1, and not using the My.Code.BS.ApiRoute.
Of course, In Security - Applications - Web Applications, I've defined the Dispatch class to My.Code.BS.Class1
Next iteration we'll try to change the URL of Client1 and use the ApiRoute class.
Best regards