Did you added menu item by writing code (eg: to extend %Studio.Extension.Base) or is there another way ?
- Log in to post comments
Did you added menu item by writing code (eg: to extend %Studio.Extension.Base) or is there another way ?
Thank you. I missed the fact that what is below /mgr/ is indeed system manager DBs (seems obvious).
Customer DB and code is actually somewhere else, in different namespaces and drive. I tried to rename CACHE.DAT to IRIS.DAT and it works (after proper backup). The only thing I need is to run some upgrade command on them.
Thanks for the info. While there is probably something wrong with the OS (Windows in this case), is there a lighter way in Caché to execute a routine in a separate task ? I am thinking something like starting a new thread or using a thread pool. Does such thing exists ?
Thanks for clarification about the name. I found it was called like that before I saw your post and edited OP.
You are right. There is actually two ways the program send requests : either by submitting form (which result in fields being added to the body of the request as expected). And another way for server side validation, using a XMLHttpRequest. It append everything to the URI. I might fix that part.
Here is some code example
<form name="WWW" id="WWW" action="/csp/foo.cls" method="POST">
<textarea id="PARAM1" name="PARAM1"></textarea>
</form>document.WWW.submit();Which will result in the following request :
POST https://something/csp/foo.cls?PARAM1=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX HTTP/1.1
Accept: */*
Content-Type: text/html;charset=UTF-8
Referer: https://something/
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cacheAs you can see, input value is added to the url, just like a GET.
Thanks, it works. I already tried something similar but put the the "}" and the "catch {" on separate lines. The trick is to put them on the same line.
Wonderful. I works like a charm. Thank you.
I agree udl is much better for versioning than xml. I didn't know it was possible, seems the way to go.
For globals, is there something better than xml ?
I found the following XSD file which seems to be what I want :
C:\InterSystems\Cache\bin\cacheexport.xsd
It's much more complex than what I thought. Maybe exporting all cache files as UDL (as Dmitriy suggested) is a better approach. I don't know if SyncTool is able to export cache entities in that format directly. If not, I will need a second pass (that convert xml to udl).