Kurro Lopez · Feb 21, 2019 go to post

I've tried to forward to "class1" when Prefix is nothing (or "/") and other prefix ("/client2") to "class2"

XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
{
<Routes>        
    <Map Prefix="/" Forward="My.Code.BS.Class1" />
    <Map Prefix="/Client2" Forward="My.Code.BS.Class2" />
</Routes>
}

In Security - Applications - Web Applications, I've defined the following entry

Then I've called using the following links

  1. http://localhost:57772/api/myprocess/method1 (I'm calling to a method in Class1)
  2. http://localhost:57772/api/myprocess/Client2/method1 (I'm calling to a method in Class2)

The first link doesn't work (404 Not found), the second one works fine.

Is not possible to add a prefix for link 1 because this is the current link for class1 in production environment, the new deploy is for class2

Any idea?

Kurro Lopez · Oct 30, 2018 go to post

Yes, the account has permission to write and delete. Also to create and remove folders.

Kurro Lopez · Oct 30, 2018 go to post

Done !!!

I wanna be a Master Developer of Full Stack Cosmic and all universe like you laugh

Kurro Lopez · Oct 8, 2018 go to post

Just a quick question...

May I use "Community license" for learning? I mean, If I want to improve in IRIS or other Intersystems product, can I use this licence even I haven't a final developer licence?

Kurro Lopez · Sep 5, 2018 go to post

Nan... it was a duplicated comment (We need a remove comment/answer button)

Kurro Lopez · Sep 5, 2018 go to post

Thanks Eduard,

Using ^COLLATE I've seen that the collation 51 was not installed (I don't know why, because it is the Spanish collation and we have using this instance long time ago).

I've installed this collation and it works.

Thanks for the point.

Best regards.

Kurro Lopez · Sep 5, 2018 go to post

Updated: I've restored the backup but this message is in cconsole.log

Failed to mount c:\ensemble\healthshare\data\clientes\clientes_g\ because its default collation (51) is not available...(repeated 5 times)

Any idea?

Kurro Lopez · Aug 30, 2018 go to post

Dear all... problem solved.

I've created a new FTP server (based on IIS) and it works without problem.

The previous one was created with Filezilla server. 

Fortunately, the client has an FTP server based on IIS, so with this test we consider the integration in their preproduction environment will be fine.

Note: I've changed the "Server List Style" to "MSDOS" for this new server ;)

Thanks to all for your time.

Best regards,

Francisco López

Kurro Lopez · Aug 29, 2018 go to post

Hello Antonio

Yes, I am using a custom BS, I have overwritten OnProcessInput from EnsLib.RecordMap.Service.FTPService because I want to store the content in a table instead of processing each line.

This service works well until we have changed the FTP server, so I do not know if it's a problem about Passive mode, or anything

Kurro Lopez · Jul 26, 2018 go to post

can I use * to add all of them?

I mean

all("Salutic.Prj.*.MAC")=""
all("Salutic.Prj.*.INT")=""
all("Salutic.Prj.*.INC")=""
all("Salutic.Prj.*.OBJ")=""
all("Salutic.Prj.*.CLS")=""

; ...

d $system.OBJ.Export(.all,"C:\temp\all.xml")

EDITED: Please, ignore.. I've read the help page and it is possible.. Thanks for all

Kurro Lopez · Jun 28, 2018 go to post

Hi Evgeny,

I'll publish another article explaining how it works and how other languages are added. I'll have to take etymology and grammar classes to understand how some languages are structured. laugh

Kurro Lopez · Jun 22, 2018 go to post

Hi,
Unfortunately, you should remove it manually. after, you should remove it in your local workspace, because if you want to synchronize your application, the package would be in your workspace again.

Best regards

Kurro Lopez · Jun 19, 2018 go to post

Hi Dani,

This class uses EnsLib.FTP.InboundAdapter, according to the documentation, this is the path on the Ensemble server to save a copy of each file received from the FTP server. That is not a FTP folder.

If you want to move the file processed into a FTP folder after processed, you should get the file from this folder and put it manually.

Have a look the link Using the FTP Inbound Adapter and Settings for the FTP Inbound Adapter

Have a nice day

Francisco López

Kurro Lopez · Jun 18, 2018 go to post

I like it. I think this is the cleanest way to solve my problem.

Thanks a lot

Kurro Lopez · Jun 12, 2018 go to post

Then, according your opinion, for complex conditions the best way is use IF ELSEIF instead of $SELECT or other similar
That's right

Kurro Lopez · Jun 12, 2018 go to post

Nice.

This beta has solved the problem that I have with templates in Eclipse.

Kurro Lopez · Jun 12, 2018 go to post

Cool...
If I've been "Global Master of the Month", may I claim the badge?

Kurro Lopez · May 2, 2018 go to post

Hi Yuval,

Thanks for your comment.

The idea of this tip is only copy content from a class to another class, only I want a subgroup of elements. The command %ConstructClone is to clone a class, you have the same class, not a part of it.

Best regards