Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

AusMarkB

About

Username
AusMarkB
Joined
Visits
3,207
Last Active
Roles
Member

Comments

  • <!DOCTYPE HTML>

    Good afternoon [NAME],


    Please find attached your invoice/s for week ending [WEEK_ENDING]

    If you have any queries please don't hesitate to contact me.

    Kind R…

  • Well the next question for me then is how do I create the logic to accommodate the ever growing complexity of the comparison? If (this = that) and ((something = somevalue) or (something else _eqc someothervalue)) into a generic parameter without lo…
  • I was wondering when you would ask that question. I have asked myself the same one. I think to do so will end up with that service losing it's greatest advantage, that being it's generic nature. Instead, I am manipulating the result within the ser…
  • :) Answered my own question. NewArray worked better in this scenario than remove. Am curious though under what conditions null elements within an array might be of value?
  • Just looking to avoid this result, five "null"s before I get to real data. I had read that remove would set to null rather than remove but now I see the output, not sure that it works for me or rather the end developer. { "_embedded": { "item…
  • Damn I was close! I was missing this line SRP_Json(Obj, "SET", "_embedded", EmbeddedObj) I didn't continue up the chain. So is there a way that I could remove the element altogether rather than returning null? I guess I could create a new array…
  • Thanks guys. Nothing too complex. I can and have done it via an rlist and loop. I always farm selects off to generic routines (in this case http_resource_services). I was just looking to shortcut the system and avoiding the loop within my calling r…
  • I just went with a select then loop for n myself. If there is another way then I'm all ears.
  • Unfortunately it doesn't quite achieve the desired effect. I want to sort first then limit rather than limit then sort. That way I can use a date field and return last five for example. In other words I want to limit not randomly select.
  • **slaps forehead**
  • Thanks. I'll pass that suggestion on.
    in Outlook365 Comment by AusMarkB May 2016
  • Version 2.0.2
    in Outlook365 Comment by AusMarkB May 2016
  • First. Don't blame you. He looks pretty dodgy. Who wears fluorescent singlets? Second. Stand by and I'll find out. Finally, happy to suck eggs; it's the only way you find the bad ones. That said, I'm not sure of anything. I believe it works via a br…
    in Outlook365 Comment by AusMarkB May 2016
  • but then thought better of it. :) http://forums.devshed.com/visual-basic-programming-52/outlook365-com-sending-email-963102.html
    in Outlook365 Comment by AusMarkB May 2016
  • I thought it would be more fun to leave you guessing
    in Outlook365 Comment by AusMarkB May 2016
  • Hey Don, Good pickup. Alas, changed but no better result
    in Outlook365 Comment by AusMarkB May 2016
  • From postman on the server, this url http://localhost/api/employees worked which then pointed to ngrok definitely being the culprit. Until that was, I tried the same url again and accidentally passed in the exact same Authorization header twice. T…
  • After saying that, there's one other probably crucial element I have omitted to date. As this is early testing stages and the IT guys aren't yet prepared to open up the server, I'm using ngrok to create a secure tunnel. I'm beginning to think it's…
  • Honestly, I don't know what the issue is. I don't get it at all when I'm testing locally. ie postman and OI both on my laptop. I'm using IIS so when it came to activating it all on the server I simply tried to replicate what I'm doing here but have …
  • Don, Is there a maximum length issue you've come across before?
  • Barry. Found it. Here's all the font stuff part of it. /********************************************************************************** * User is displaying the font window to modify appearance. Several conversions * are needed to pass the co…
  • Unfortunately Barry, it's one of those annoying situations where the production system where it is running, has no source and the dev system I'm currently using has the source I posted plus lots of debugs which suggests to me that I've previously tr…
  • Good in that it means, it can work. But frustrating. My OI version where this was happening is 9.4 Also Windows 10
  • Finally discovered the common denominator though admittedly I don't yet know why it's a problem. Any and all the symptoms occur only when the endpoint is nine characters long. It doesn't matter what it is, just how long it is. The two that were fai…
  • I'm as baffled as you with the endpoints differentiation. Yes they are all the same conditions. I change the endpoint in the url directly. The header etc remains each time. This is something I have gone over and over and over and over just to be sur…
  • Barry I struggled with this some time back so maybe there is a more elegant solution now. I also never needed to print the content. It was for display within another editbox so printing is another problem of its own. However, I created an 'edit' win…
  • You are correct. Url in the address bar. No Authorisation header. IIS report 500 errors frequently? Well that's disappointing.
  • One more thing that I realise now is probably related. Sometimes I get a 502.2 Bad Gateway error returned. I was thinking this was a different problem that I would address later. I might try troubleshooting down that path and see what I find.
  • Another tidbit. If in postman, I remove the authorization the other headers come through. In other words if I change the Basic Authorisation to No Auth and remove the Authorization header, the "From Postman on Laptop" picture looks like the "From br…
  • This is what I'm seeing when calling the /employees endpoint