go to post Bernd Mueller · Jul 28, 2017 see here: "Registering Additional File Types with CSP" and "Mapping the CSP File Extensions" right before.http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
go to post Bernd Mueller · Jul 28, 2017 Hi Sebastian,you can request the SMP login page (etc.) from time to time by https or http to see what is working.Let me know if that is what you are asking for. Feel free to open a WRC problem so we can discuss this further on the phone, etc.Kind regards,Bernd
go to post Bernd Mueller · Jul 27, 2017 ah, you are trying with /csp/samples/docserver. Be aware that for security reasons this web-app is by default *disabled*. If you wanna use it you need to *enable* it.
go to post Bernd Mueller · Jul 27, 2017 Hi,i guess you need to add a wildcard * mapping handler to webserver /cspgateway configuration to pass extension-less requests to the caché-server as well. What webserver are you using? IIS or apache?
go to post Bernd Mueller · Jul 27, 2017 Yes, you can get the name/value params from the url by %request.Get("paramname") for example, but using query params at all is against good principles of REST.
go to post Bernd Mueller · Jun 20, 2017 this is great news, Jeffrey. I am glad you got it working.Yes, this is rest api, the trailing slash in url IS important :)Bernd
go to post Bernd Mueller · Jun 20, 2017 since via the private webserver it is working i don't think this (/api/atelier = disabled) is causing the issue.
go to post Bernd Mueller · Jun 20, 2017 Hi Jeffrey,it seems this is a specific configuration issue which needs a more deeper look. (further logging, etc.)I would suggest you to contact WRC support so that we can continue investigation.Thanks and Regards,Bernd
go to post Bernd Mueller · Jun 20, 2017 you also should remove the CSPFileType directive.See here: http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=..."Registering Additional File Types with CSP"HTH,Bernd
go to post Bernd Mueller · Jun 20, 2017 ok, thanks for providing the conf.Do you have configured the cspgateway to route / or /api app-path to approperiate server?See CSP-Gateway-Management of external webserver : http://localhost/csp/bin/systems/Module.cxwHTH,Bernd
go to post Bernd Mueller · Jun 20, 2017 Hi,ssl/tls (https) support for the atelier connections is planned for Atelier 1.1It should work via external webserver too.Did you get a response from http://<webserverip>:<port>/api/atelier/ in browser? (or postman, arc, etc.)What version of Caché/HS you are running on server? (> write $ZV)HTH,Bernd
go to post Bernd Mueller · Feb 20, 2017 Nice article, good job Michael. I guess order by LastName needs another approach!? THX, Bernd
go to post Bernd Mueller · Jan 10, 2017 Troubleshoot #2 I just recently had a case on a customer site where their SAPJCo interface stopped working after the production or system gets restarted. This always results in the following error: ERROR#5023: Java-Gateway-Error: java.lang.ClassNotFoundException ... In order to make this working again, the sapjco3.jar and BAPI's always needs to imported/generated again.The reason for this was, that using the SAPJCo installation/import webpage is setting and using the Class Path from the jar file during the import, but restarting production or system makes the production/service forget about it.Solution: What's missing here is that in the EnsLib.JavaGateway.Service of the production the "Class Path" needs to be specified in the "additional settings" as well to the full-path reference to the sapjco3.jar. With that setup in place, production and system could now be restarted without affecting the SAPJCo interface.
go to post Bernd Mueller · Nov 7, 2016 i am using curl with basic-auth and this seems to work for me:curl -v -u _SYSTEM:<password> http://localhost:<port>/playground/indexEvery request results in new session. The same for logout request.I assume that the client browser remains the first http-basic-auth credentials and reusing it for the second (logout) request as well.If i skip the basic-auth in curl request for the logout i will get 401 Unauthorized which is expected.HTH,Bernd
go to post Bernd Mueller · Nov 7, 2016 how did you login? Do you use url-name/value params or http-basic-authentication with the first initial request?Can you log/check %session.SessionId and %session.NewSession?
go to post Bernd Mueller · Nov 7, 2016 Hi Nikita,do you've tried Set %session.EndSession=1 in your Logout()?Regards,Bernd
go to post Bernd Mueller · Oct 10, 2016 on Unix and Windows you can use PIPES: s prog="whoami",oldIO=$IO open prog:"QR" use prog read result c prog use oldIO w !,result
go to post Bernd Mueller · Oct 10, 2016 if you already have pcl documents available, then probably using 3rd party pcl to pdf converter command-line tool would be the easiest solution for you. You can use $ZF(-1, <oscommand>) call-out from within COS to invoke conversion process.(for example: VeryPDF PCL Converter, etc.)HTH,Bernd
go to post Bernd Mueller · Sep 2, 2016 Hi Peter,this is very specific issue and hard to say with the information you've provided so far.Are you sure this is related to Zen/Caché/CSPGateway and not a client-browser issue?We need more information on this for a further investigation.What changes are made that makes it stop working?What client-browser/version you are using, what Caché version on server?I assume you are using an "old" IE version, right?The navigation to the #2 page called from #1 does work and loaded correctly?Only the DXImageTransform did not work as expected in that case?Calling #2 directly makes it working?Did you try using IE-Developer-Tools (F12) to inspect and compare page-source and component loadings of both?Any errors in the console, etc.?Maybe it's better for you to report this in the WRC, so that support can continue with you on this!?Regards,Bernd
go to post Bernd Mueller · Sep 1, 2016 yes, with the html5 type $input layout object you have to add onkeypress:true to it in order that onevent() gets triggered. And in onevent(eventType,key,value,docViewId,event), you can do for example : //$input onkeypress:true if (eventType == 'keypress') { var keyCode = event.keyCode || event.which; console.log('keyCode :' + keyCode); if (keyCode == '13') { // Enter pressed -> Do something zenPage.doSomething(value); } } HTH,Bernd