Hello,
I have problem to get working my web application in IIS. On apache just works fine.
I had an app in wwwroot called test, there is index.html file where is tag
Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications.
Hello,
I have problem to get working my web application in IIS. On apache just works fine.
I had an app in wwwroot called test, there is index.html file where is tag
According to the Documentation EnsLib.Workflow.TaskRequest has the following fields...
I want to be able to capture the Source, Session ID, and any other Identifiers outside of the Error so it will show up on the Task List.
Hello, thanks for your time reading this question.
We are receiving each day, alerts from one of our four Production nodes. It always has the same text:
[InterSystems IRIS SEVERE ERROR gchciris4.canariasalud:ENSEMBLE] [Utility.Event] [SYSTEM MONITOR] CSPGatewayLatency(127.0.0.1:443) Alert: CSPGatewayLatency = 5001.304, 5001.233, 5000.964 (Max value is 2000).
We have looked for it in the documentation here:
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?
I have an API set up in IRIS which is secured using an IRIS authentication service, so there is a bearer token being passed down in the request header.
I've already set
Given the code below, I need help with getting the collected column widths from the Demo.Configuration table and stored in the columnWidths zne page property. As I understand it, I should be able to retrieve it using zenPage.columnWidths in the setColumnWidths or dgRender clientMethods but the alert is showing that it cannot be retrieved as it shows a value of Null. Once I can retrieve those values, then I want to set the widths of the colmns of the dynaGrid according to the values in the ^Demo.Configuration table. The data pulled in from the CSV file that creates ^Demo.
I am trying to use upload.csp as a template for choosing a CDV file to process. I am calling it from a zen page using this:
controlStyle="width:500px; height:100px; font-size:1.5em;"
onclick="zenPage.importExtract();"/>
{
// Open CSP popup to upload the CSV
//alert('importExtract called.');
zenPage.launchPopupWindow(zenLink('Upload.
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?
Hi,
How do I create CSP page in IIS to be loaded from the class?
Im able to open my index.html but I have class webapp.init.cls which extends %CSP.Page which should generate html. If I write localhost/myapp/webapp.init.cls I just got an error Invalid action.
In IIS Handler Mappings I did setup for *.cls and *.csp files.
I followed this
https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…
When I created index.csp my IIS just return NOT FOUND. With the old APACHE server I had no issue with all, but Im trying to migrate to IIS.
I need to remove multiple languages from the language selection drop down which appears at top of Navigation app top bar. I need to keep only English.
Is there any way I can do that?
Or I can completly remove the language option?
Good morning dear community,
This is like my first post in this community. Let's see how this turns out.
I have a question about the Intersystems Kubernetes Operator and the deployment of the webgateways.
I am responsible for the hosting and deployment of the apps. For the future we are planning to host our application in a kubernetes cluster. I am using the IKO for this.
I am using webgateways, for external access as separate pods. And sidecar containers for internal access, like the management portal.
My current Problem is the configuration of the webgateways.
Hello, I want to create PDF from HTML source. I found pandoc. I installed pandoc on IRIS container image. I created Interoperability production. I have setup REST service to receive HTML file in request body. I call pandoc command pandoc -o output.pdf input.html from a BPL process. I copy output.pdf file stream into response body. I save the response at the source. I get a file named output.pdf but it does not load in Acrobat. I suspect I am doing something wrong with headers (accept-encoding?) or maybe do I need to base64 encode the pdf file to transfer it via REST?
Hello Community,
I'm a beginner and currently working on a project to convert CCDA files to FHIR using InterSystems IRIS. I have developed a web form to upload CCDA files, and I'm attempting to convert the uploaded CCDA files to FHIR. However, I am encountering an issue where the conversion process results in an empty entry.
Here's the Output it displays on HTML page:
Size of CCDA Stream: 74152
vR4
{"resourceType":"Bundle","type":"transaction","entry":[]}Here is my code: CCDtoFHIR.csp
<!Hello,
First of all thanks for your help.
We have the following scenario: some responses include special characters as ">" and "<" which are being put inside a property defined as:
So then, when we observe the LOG SOAP it shows that the Target System replies to the ESB as follows:
➡️ <PAC_PROBLEMAS>46807#278.
Hi
Is there any build in solution to convert HTML to PDF? if yes please how
Thank you
Does anyone have any pointers or maybe familiarity of making Email templates in Objectscript?
I'm currently trying to implement Televisits with our system and am needing to send an email to the patient. I'd like to make it a nicer looking email which will require a good amount of inline CSS. I currently have a method, but is very much a sore sight for the eyes.
I was wondering if there was a way I could use Embedded HTML and pass that into the DO msg.TextData.Write command with the ##class(%Net.MailMessage)?
We are experience this with our own web app and even the demo/template here: intersystems-community/iris-fullstack-template: This template shows you how to build, test and deploy a simple full-stack application using InterSystems IRIS REST API (github.com)
When changes are made to CSS or HTML files, we can see the changes are saved to file in the Docker container by visiting the command line. However, after refreshing, clearing cache, etc. the changes don't appear on the web application in the browser. Viewing the source css in the browser, we see it's the old file.
I am referencing the documentation here: https://docs.intersystems.com/ens201815/csp/docbook/DocBook.UI.Page.cls…
I have embedded html within a <script language="cache" runat="server"> block. Within that I'm defining and using a macro, but it doesn't display at all. Something like:
<script language="cache" runat="server">
s stringData=obj.I started to get the following error when trying to save HTML and js files after editing in VSCode. This used to work fine, csp still works too.
ERROR #16006: Document 'xxx.html' name is invalid
Is there now a setting that I am missing? I did check but saw nothing that was obviously wrong.
Hello
Is there anyone who can convert this code From PHP TO CACHE in File (.mac)?
this is my function is empty :/
thank you all
.png)
| <?php $output_dir = "uploads/"; if(isset($_FILES["myfile"])) { $ret = array(); // This is for custom errors; /* $custom_error= array(); $custom_error['jquery-upload-file-error']="File already exists"; echo json_encode($custom_error); die(); */ $error =$_FILES["myfile"]["error"]; //You need to handle both cases //If Any browser does not support serializing of multiple files using FormData() if(! |
Hi folks!
Is there any templating engine for ObjectScript similar to Jinja?
Or is there any way to use csp's built-in tools to do this?
Ideally, I want to input the template and data into the function and get the ready to use html in the output.
I want to convert the image to base64.
I have only a remote image URL.
please suggest the solution with allow cors origin.
Hey community,
I want to create my own table resizer. I know that there are some plugins that are doing exactly this but I would like to create my own one. :)
I have created a function, which is called in the onloadHandler and which append a div to each th-element of a given table. The method looks like this:
function initializeTableFeatures(){
jQuery.each($("#table > table > thead > tr > th"), function() {
if(this.id !== ""){
var div = createDiv($(this).outerHeight());
$(this).append($(div));
$(this).
I put a html file into ensemble dir ,it's encoding is utf-8.
But when I access this file througn browser, It show incorrectly
I checked http response header, It content-type charset is GB18030 So that's reason
.png)
How to change the charset to UTF-8?
Tks.
Does anybody have a solution for replacing ActiveX in ZEN interfaces running in Chrome and Edge?
I am not able to modify security settings in either browser, hence looking for a replacement for those controls.
Sample1:
var loc = new ActiveXObject("WbemScripting.SWbemLocator");
var objWMIService = loc.ConnectServer(".", "root\\cimv2"); var colItems = objWMIService.
Hello,
I work on a dashboard. I understand basic html. I like to draw two boxes in different colors on the background. There will be multiple small boxes inside or over the boxes in the background. I defined the large boxes as <div> and the smaller boxes also as <div> inside the larger <div>. So far so good.
How can I draw lines with arrows between the smaller boxes?
Each small box represents a process that gets a number in a circle and a status indicator: green = okay, red = not okay.
Ok so I am way outside of my comfort zone, and had to build an application using CSP to give users the ability to access SQL configuration tables. These SQL Configuration tables will affect the data that is sent to the downstream system.
I saw in the examples where we were able to import GIF's/IMAGES into the CSP folders to use as a reference in our CSP pages. My question is how do you do that? If I try to import through studio, it tells me the file is invalid.
Just trying to make it a little more user friendly then blocks on a page.
We are currently using Health Share 2018.1.3
Thanks
Scott
I'm playing with Cache web apps (CSP pages) and local dev . . .
My understanding is that when you run Cache, it spins up a very lightweight Apache web server with the web root C:\InterSystems\Cache\CSP (or where your CSP folder happens to be).
However, if I put the index.html at C:\InterSystems\Cache\CSP\index.
CSP pages extend %CSP.Page. What about html/css/js/etc that are hosted on the same web application? Is there any way to override how they're processed like with how you can override a CSP page and CSP REST logic?
Thank you!
David
Hello ,
I am trying to make a REST call using the example given in documentation for Creating REST Services and Clients with Ensemble.
Class Test.REST.WeatherOperation Extends EnsLib.REST.Operation
But i receive below mentioned error. If anyone can help me out here.
ERROR <Ens>ErrGeneral: ERROR <Ens>ErrHTTPStatus: Received non-OK status 404 from remote HTTP server: 'HTTP/1.1 404 Not Found':<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
Thanks,
Jimmy Christian.
Hello
Please I have a problem to save all name of files attached in table with date and load all files attached in directory
My code HTML
-------------------------------------
<cache block="INC_REAPRO">
<form method="post" id="formupload" enctype="multipart/form-data" action="cache-call:SubmitUpload^MyMac" data-upload-url="cache-call:FileUpload^MyMac">
<input type="hidden" value="##/SERIENR##" name="SERIENR" />
<input type="hidden" value='' name="FILE" id="upload-select-hidden" />
<div id="upload-drop" class="uk-placeholder">
<div id="upload-text" class="uk-text-center">