Search
-
The solution for this ended up being fairly simple. The image data can be fetched using this basic pattern:
$handle = fopen($imageUrl, 'rb');
$imageData = stream_get_contents($handle);
At this point, $imageData can be passed to Method using the MethodAPIUpdateFile SOAP call. However, we ran into a couple of issue which are probably worth ...
-
Hi ewelling,
We just implemented this for a client. They plugged a USB card reader into their computer. When they swipe a card it populates a whole bunch of info into a field on the screen including the card number and expiraration. We then grab what we need from that info and populate the card number and expiration month and year ...
-
I've done it in C#, but not php.
The first thing to do is remove "data:image/jpeg;base64," from the image string.
Then convert it to a byte array. In C# this looks like : byte[ uploadedImage = Convert.FromBase64String(imageString); I would assume PHP has a similar funtion.
-
Has anyone had to make a byte array out of an image url so they can upload it to method using the UpdateFile Call in PHP. I am running into issues creating the image byte array and was hoping someone else migh have already solved this issue.
-
Hey Philip,
Did you ever get more information in regards to your integration question?
-
Thank you...worked perfect. I knew it was something I missed.
-
Hi there mraley,
Looking at your SQL there - the syntax is correct. If this was copy pasted exactly as is, however - You are missing an opening Bracket before the Query to match the ending one
Try the same query - with the addition of an opening bracket Before CASE WHEN - this should do what you want it to!
You are also missing a closing ...
-
Is there anybody... out there?
-
The following updates are now live for users of Method.
Bugs
Fixed issue with Gmail Gadget sign-in (PL-12439)
Fixed issue with QBO sync aborting due to special characters (PL-12556)
Cheers,
Peter
-
I am looking for the SQL code to set a font color in an ActivityStatus field that is rendering in a grid.
If the activity is set to "Not Started" then it should show in the grid red
If the activity is set to "Completed" then it should show in the grid green
In the advanced properties of the column ActivityStatus (alias: ...
|
|
|