Try this using INPUT-OUTPUT through. I've tested it on Windows 11 Pro Workstation, OE 12.8 using PASOE. There was no pause, also there was no pause using OS-Command.
DEFINE STREAM sOSCommand.
PROCEDURE htmltopdf...
I'm going to ask an obvious question. Whatever procedure/method/function that is outputting to C:\temp\input.html, has it closed the output stream before calling the OS-COMMNAD?
Do you still have the performance issue when creating a PDF from a URL i.e. ?
As many of us know, ABL has long struggled with built-in support for formatting dates and times, often leaving us to craft our own formatting solutions.
While troubleshooting an unrelated issue, I came across the ExcelNumberFormat .NET assembly — a handy library for parsing ECMA-376 number...
Thanks Peter, your code recommendation is working.
I've managed to condense the code into this:
DEFINE VARIABLE oWriter AS OpenEdge.Net.HTTP.Filter.Payload.MessageWriter NO-UNDO.
oWriter = OpenEdge.Net.HTTP.Filter.Writer.BodyWriterBuilder:Build( RequestObj ):Writer.
oWriter:Open()...
Sorted it out with the help from DeepSeek. Not sure if this is the most efficient way to do it, but it's working.
MVP to meet the security requirements.
DEFINE VARIABLE objStringStringMap AS CLASS OpenEdge.Core.Collections.StringStringMap NO-UNDO.
DEFINE VARIABLE objIter...
Hi Petter, thank-you for your support...But, I might be misunderstanding something.
I can't see a Open(), Write() or Close() method for class object OpenEdge.Net.HTTP.Filter.Writer.MessageWriterBuilder.
I'm trying use the BodyWriterBuilder class object. But, the oByteBucket:Size is always zero. The RequestObj:ContentLength returns 512.
What I'm I missing?
MESSAGE "VALID-OBJECT(RequestObj)" VALID-OBJECT(RequestObj).
MESSAGE "RequestObj:ContentType" RequestObj:ContentType...
After a security review, I'm needing to capture all the web requests that is being called by OE HTTP Client. Currently is just dumping to a file but will be eventually stored into the database.
I'm able to capture the HTTP header information, but I can find the correct method a capturing the...
Stupid question, but do I need to reference all the dependent .net assembly .dlls in the assemblies.xml?
I've noticed that if you install a package using nuget option, it will also install all the dependent .dlls as-well.
Hi, I know that you have soled your issue, but I thought I would share my solution. This is just a fragment of the code but, hopefully it will give you some incite.
AuthorizationHeader = SUBSTITUTE('Authorization: &1 &2':U...
Purpose: Default handler for the HTTP GET method. The request being
serviced and an optional status code is returned. A zero or
null value means this method will deal with all errors...
I'm looking at replacing the COM Automation of using MS Excel and using the ClosedXML. .net library.
It looks like is going to do everything I need but I just can seem to get to all the listed namespaces, properties and methods in the class browser.
Is the some sort of hidden trick when...
I've figured it out. Not sure if this is the correct method, but it worked.
DEFINE VARIABLE oResHeader AS OpenEdge.Net.HTTP.HttpHeader NO-UNDO.
oResHeader = NEW OpenEdge.Net.HTTP.HttpHeader("Location","OAuthFailure.html").
oResponse:StatusCode...
I've spent the last few hours trying to figure out how to do a simple URL redirect from the PASOE WebHandler.
In the Classic WebSpeed I would do somthing like this:
<SCRIPT LANGUAGE="SpeedScript">
PROCEDURE output-headers:
OUTPUT-HTTP-HEADER("Status","302")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.