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,873
- Last Active
- Roles
- Member
Comments
-
*an
-
and api that he does a POST
-
ok, dictionary name field
-
a json field that is related to an oi dict field all using framework
-
the web developer converted the 'canvas' image to base64 and returned it in the field along with other data.
-
The base64 is in a field. There is nothing wrong with the file. Googling shows there are issues with photo viewers displaying images with transparent backgrounds, so oipi has that issue too.
-
btw: this is what 'fixed' it cmd="magick convert ":SignatureFilename:" -background white -flatten ": SignatureFilename call SRP_Run_Command(CMD)
-
Yes, it is ok using oipi.net but this is ignored as it just prints raw rtf. set_printer2("ENABLERTF",1) So, definitely steering well clear of oipi.net, always been waring due to issues reported.
-
using imagemagick to strip the transparency works
-
Are you using OIPI Classic or OIPI.Net? Have you tried the other OIPI to see if you get the same results? OIPI Classic, not tried OIPI.Net (need to see what i need to do to just do for this and not global) Also, how are you stripping out the CR/LF…
-
Whoops, take that back, I forgot that I had a test file in there as a .bmp If I save the .png that is created, as a .bmp it works .png -> Stripping out crlf$ still black printing
-
Spot on, your my man!!
-
It is a signature area on a web 'form' that gets sent back as part of the 'form's data
-
Correct
-
Are you sure CntrlID contains a control name?
-
Well, who is supposed to see the message part of the status code return if it is not the user?
-
Thanks Kevin. I just thought if it was shorter would be better, plus I was curious :) It is a process that is not run very often, and it works, so as they say..'if it ain't broke....'
-
Ok, no problem, I understand.
-
Sorry, 'SRP_BreadcrumbBar utility' sounded like something that was downloadable and a search on srp wiki didn't find it. Also I didnt know what a breadcrumb bar was, so thanks for the link.
-
Don, Sorry to intrude, but what is the SRP_BreadcrumbBar utility?
-
All working, thanks Matt, again.
-
Whoops, seen I missed Memory_Services('SetValue', ServiceKeyID, AMvGroupDef)
-
Matt, Not tested yet, but does this look right? BuildAMvGroupDef: ServiceKeyID = Service : '*' : SRP_Hash(TableName : 'AMvGroupDef', 'SHA-1', 'BASE32') AMvGroupDef = Memory_Services('GetValue', ServiceKeyID) If Len(AMvGroupDef) EQ …
-
OK, I see I just need to pull some of the code from that routine and create my own build.
-
Matt, where AMvGroupDef is a structure that defines your AMv groups. AMvGroupDef< 1> is a list of group names (eg 'cars'), and AMvGroupDef< 2> is an aligned list of field names (SVM delimited) for each group. Do I have to build AMvGrou…
-
Matt, thanks Don: "cars": [ { "cars_address": "17 Tarrawanna Avenue Corrimal", "cars_date": "25/08/2010", "cars_duration": "1", "cars_time": "03:00PM" }, { "cars_address": "the church", "cars…
-
I wasn't sure what I would be 'seeing' after it has gone through the json routines stuff', I know it wont look like “cars”:[] , so what am I looking for.
-
an amv group
-
The web developer wants to POSTwith this array to clear the mv fields associated with the amv. “cars”:[] How can I implement this generically.
-
Thank you