Hi
Is there any build in solution to convert HTML to PDF? if yes please how
Thank you
Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications.
Hi
Is there any build in solution to convert HTML to PDF? if yes please how
Thank you
I would like to write some code to parse a set of HTML pages from the internet in order to gather information from each web page.
All of the web pages are generated using a template, so the format of each of the web-pages is consistent with one-another and the information that I want to gather is always located in the same logical place within the page.
What is the best way to parse an html page in order to gather information at a specific place?
Can XML XPATH be used here? Does anyone have any examples of parsing HTML content?
Hi,
I have a Caché project with some HTML files in a CSP folder.
Using Atelier when I access "Server Explorer" and execute the option "Copy to Project" to my local project I have this error:
Has anyone had this same problem? Any solution?
Hi everyone, I have and Zen Mojo application, it's all working but I have some doubts about what is recommended to use: There is some reports of employees, for example, and actually I'm using some plugins : "Excelent export" to generate Excel reports and "jspdf" to generate PDF reports in client side.
I have an REST service, that receives the request, process and returns JSON, after client side receive the response it's processed.
- This can be slow/bad in applications with large data?
- It's better/recommended to use ZenReports even with ZenMojo applications?
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 want to convert the image to base64.
I have only a remote image URL.
please suggest the solution with allow cors origin.
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?
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
I need a trick to display the cellTitle for just ONE column in a tablePane with a unique value. Here are the issues:
1. OnDrawCell has access to the cell data for that row/column, in %query(pName), but setting the cellTitle property to a column doesn't refresh the column object
2. Setting showValueInTooltip is good for the entire table, not just one cell
3. ** the column element does not evaluate zen expressions, so I can't say cellTitle="#(%query.Comment)#", for example. That's the crux of the problem.
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
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).
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'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.
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:
Property PACPROBLEMAS As %String(MAXLEN = "", XMLNAME = "PAC_PROBLEMAS");
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 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 am using &html<> to output some CSS to my page (which is a class-based and not a tag-based page), and the selectors contain the '>' character which the compiler chokes on. How can I escape the '>' so it still displays as such in the web page source but doesn't trip up the compiler?
This is for 2012.2 btw.
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?
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
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: 741524Here is my code: CCDtoFHIR.csp
htmllang<</ulHi everyone!
Someone already try to use jQuery Mask Plugin on cache?
I'm trying but unsuccessfully.
First I created a new ambient on my own machine to developer in html and all works.
So, I exported the library's js (as jss) to a new Application (stylesheet /js /css) and created too a new Zen Page .cls calling this Application style.
On Zen Page
Parameter APPLICATION = "Multi.Estilo";
XData Contents [ XMLNamespace = "http://www.intersystems.com/zen" ]
{
<page xmlns="http://www.intersystems.
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.
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:
<button caption="Import Client Consultation Extract"
controlStyle="width:500px; height:100px; font-size:1.5em;"
onclick="zenPage.importExtract();"/>
ClientMethod importExtract() [ Language = javascript ]
{
// Open CSP popup to upload the CSV
//alert('importExtract called.');
zenPage.launchPopupWindow(zenLink('Upload.
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.
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
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">
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.data
#Define displayString stringData
&html<
<p>$$$displayString</p>
>
</script>Hello,
I'm sending http request through %Net.HttpRequest and I have html page in response. Is there any built-in tool for beautify html for printing in terminal?
Thanks.
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.
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.
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 Parameter HandleCorsRequest = 1; on the spec class and All the endpoints I am have (a mix of GET, POST, PATCH and DELETE) are working from postman without issue, the problem is when consuming from the web front-end and the preflight checks the browser instigates. Most of the endpoints work in the browser, but some are triggering the preflight (OPTIONS) check causing the CORS issue.