Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
BarryStevens
About
- Username
- BarryStevens
- Joined
- Visits
- 1,874
- Last Active
- Roles
- Member
Comments
-
If I needed to send the virtual path in the body with the title(not sure of the buzzword) being pathtopdfdoc, how do I do that.
-
Sorry, too many things at once, I meant body
-
I just text edit the PDF file and saw the %PDF, do I leave out the decode and just send the record?
-
this on the first line of the header: <1u�](n?歊��jׅQtӎ4�p4�}�
-
I also left in: HTTP_Services("SetResponseHeaderField", 'pathtopdfdoc',PathToPdfDoc)
-
I have taskmanager and the creation of the PDF all working.!!! With the SetResponseBody: If I leave out the ContentType the content type shows as Content-Type →text/html and the body contains what would appear to be only binary data(which is good)…
-
Awesome, thanks Definitely would not have worked that out.
-
"..Normally the web service would read the PDF file and return the data as binary." How would I do that using the HTTP_ functions at my disposal. Do I assume base64 encoding, then, how do I return it in the body, is there a header setting or the we…
-
Don, Thank you. Just running RTI_TASK_SUBMIT as is would be must simpler (Less to remember in the golive server setup). Yes, that's right, still not live, the web developer is 12 months behind.
-
The requests for the PDF creating (and emailing also) whould only happen say 5 times a day at the most. But of course in a web environment things need to happen fast. Would it be faster to load openinsight as a service and sent RTI_TASKMANAGER reque…
-
Thanks Don.
-
Oh dear, that is not what I wanted to hear. OIPI report is too complicated for me to learn BRW and rewrite in the short time I have. 1. How do I ensure that OI gets loaded on the web server as minimised as possible. 2. What is the best method to do…
-
Just had a thought, it is probably the path, it would still be local, it should be weby one.
-
Wow, thank you Sir.
-
Oh well, seeing that you asked then :) GetColumnDataTypes: TableName = Param1 ColumnNames = Param2 DataTypeSubsFrom = 'BOOL,CHAR,DATE,DECI,DOLL,FLOA,INTE,TEXT,TIME,VARB,VARC' DataTypeSubsTo = 'BOOLEAN,STRING,STRING,NUMBER,NUMBER,NUMBE…
-
WhooHoo!!!
-
OK, now creating GetColumnDataTypes in http_resource_services. Wish me luck.
-
Mmm, Type is empty and I dont see where it is being set!
-
I think that maybe the problem is here, the type param is not being passed when it is an array. HTTP_JSON_Services SetHALItem: . . . If SRP_JSON(hColumnArray, 'NEW', 'ARRAY') then NumValues = Count(Value, @VM) + (V…
-
Chris, Try putting a hidden ole for srp picture on the mdi window. Just something I found I had to do for srp popup use.
-
FYI: dbl+clk (highlited) F12 actually works on this line On Pos GoSub OMNIEVENT,CREATE, OLE, SelChanged, OnClick, CHANGED.COB_BUTTON_STYLES, OnHeaderHyperClick, OnOptionClick, PosChanged, BeforeUpdate, AfterUpdate, BeforeNewRecords,CLOSE,CHANGED
-
That works, thanks Also my fault for not reading the instructions carefully. Dont know where I got the idea that dbl+clk will goto. Actually dbl+clk then right+clk goto source works also for labels.
-
OK, done
-
I tried in a copy of OI that was not updated on my PC and I still have the same problem, so, the only thing I can think of is that it might be something in my options setting. Can you try using mine, attached. Wont allow me to attach, I will email t…
-
Don, I think confusion could arise in the documentation then, * Force this window to update its system colors SRP_SysColorChange(@Window) Funny thing though, both SRP_SysColorChange and SRP_Set_SysColorChange seemed to run ok for me in a call tes…
-
and if you change to: SRP_Set_SysColorChange('NDW_LOGIN')
-
Don, F1 is not working in his other sections of the OI system. So the MENU.HELP must be corrupted somewhere.
-
Great, thank you. Exactly what I need to confirm.
-
Yes, because the loop was exited without a ReadyState being returned. If UseAsynchronous then StartTime = GetTickCount() TimeoutDuration = 100 ;*HTTPClient_Services('GetTimeoutDuration') Tim…
-
..sorry should have said that the debug showed it did execute the Error_Services('Add', Error)