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,938
- Last Active
- Roles
- Member
Comments
-
Thanks, but I would be looking for something a bit more generic. ie. dont know what the array names would be (could build from dict AMVs I guess), don't know what the field names would be, can that be dynamic or would I need to get those from the di…
-
OK, just seeing how far I can go with this. How would you use SRP_JSON to extract what was created from this output.
-
Thank you Kevin
-
Don, Yes you are right, but this was consistent in getting any json to get thru. I would like to call it a workaround, hoping on a response in my rti forum post!!
-
Mark, Might I suggest you keep an eye on any responses to my post revelation.com/o4wtrs/oecgi3.exe/O4W_RUN_FORM?INQID=WORKS_READ&KEY=D3EB4E62253992A2A96BD91A7#/section/breadcrumb/UPDATETABLE/Display
-
Mark, remove the line feeds from the post body this: { "username": "markb", "password": "pw" } should be this: { "username": "markb", "password": "pw" }
-
OK, that is now past my level of knowledge
-
So you are running as an API via a browser? Would it be able to see this: \\monkey\mediafiles\ Should not you be referencing a virtual directory name that points to this folder.
-
The task_manager call is being done thru a 'quote' api similiar tothat. I do understand what you are saying, just return the pdf record in body with application/pdf. thank you Deployed to test server, which is a terminal server that has the oi app…
-
How should it be done then?
-
i want to be able to return this in the body as JSON http://localhost/PARSONS_Documents/16333 PHONE QUOTE PQ ORTHODOX BURIAL-2.PDF looking like this: "pathtopdfdoc": "http://localhost/PARSONS_Documents/16333 PHONE QUOTE PQ ORTHODOX BURIAL-2.PDF"…
-
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…