Don't forget mark the answer as "Accepted answer"
Please, you have to map the class too. It is into Routine database.
Check previously what is the Global name to map it.
Could you expand your question a little more?
Esto no ha hecho mas que empezar. Vamos a darlo todo, la comunidad hispano hablante tiene mucho que decir. Enhorabuena
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.
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" ]
<Map Prefix="/" Forward="My.Code.BS.Class1" />
<Map Prefix="/Client2" Forward="My.Code.BS.Class2" />
In Security - Applications - Web Applications, I've defined the following entry
Then I've called using the following links
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
Great... I've seen also this option in https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...,
I going to apply this change
Congratulation @Eduard Lebedyuk, you are the best.
And congratulation to everybody, this community is great thanks to all of you
Yes, the account has permission to write and delete. Also to create and remove folders.
I wanna be a Master Developer of Full Stack Cosmic and all universe like you
To leave a comment or answer to post please log in
Please log in