Question Ronaldo Nascimento · Jul 22 Does IRIS support JavaScript asynchronous calls (async/await)? Working on wrapping an IRIS Cache ObjectScript method that runs for a few seconds. Trying to get UI updates to show BEFORE the method runs in an async/await function. But it seems to be running synchronously rather than asynchronously . So my question is does IRIS/ObjectScript CSP pages support futures with JavaScript or does it run all synchronously. #CSP #JavaScript #ObjectScript #UI Development #Caché #InterSystems IRIS 1 2 0 50
Question Ronaldo Nascimento · Jul 21 How do I write errors to the Application Error Log? I am trying to catch an exception and write it to the Application Error Log, but cant find any details on how to do this in IRIS health. #ObjectScript #InterSystems IRIS 0 3 0 48
Question Ronaldo Nascimento · Jul 18 How to create a user via ObjectScript for the instance and specify roles and namespace? I am trying to create users who only have `%SQL` Role for the INSTANCE. But I am unable to find any documentation on the ` Security.Users` class. See: #ObjectScript #Security #InterSystems IRIS 0 3 0 58
Question Ronaldo Nascimento · Jul 15 I think I am getting an error with a CSP Page, "Invalid action", what does this mean? I am doing a form POST to myself (same class) and when I do the form action it gets a page similar to the error page but just says: Invalid action There is nothing in the application error log. How can I troubleshoot this? #CSP #InterSystems IRIS 0 1 0 38
Question Ronaldo Nascimento · Jul 11 Repeating message in Studio: "^Sources is not setup so hooks will not work" I recently started trying out Python in IRIS, but now I get this message repeated over and over again: ^Sources is not setup so hooks will not work No idea where this came from and how it started. Any suggestions? #Studio #Caché #InterSystems IRIS 0 3 0 37
Question Ronaldo Nascimento · Jul 9 How can I get the value of a submit button (ie the name on the button) from a CSP Object? I am trying to get the value of a Submit button on a CSP object page. <input type="Submit" value="Assign" name="action" id="action"> I tried getting it thru $GET(%Request.Data("action")), but it throws an Undefined error. Isnt $GET supposed to handle it if its undefined anyway? How do I get the "value" of the button pushed when the form is set to POST? #CSP #HTML #Caché #InterSystems IRIS for Health 0 5 1 61