Using Font Awesome & "Only TrueType fonts are supported. This is not a TrueType font"
Rob Schapendonk
Hi,
I played with Font Awesome 5.4.1 yesterday and noticed that all the OTF files are NOT TrueType fonts.
XPA checker gives the following warning: WP0115: 'Only TrueType fonts are supported. Non-TrueType fonts will be converted to a system default font.'
But everything works fine, so WHY does XPA give this warning ??
Seems to be related with .NET Windows Forms.
Has somebody experienced this “Non-TrueType fonts will be converted to a system default font” on Windows 10 ?
Best regards, Rob
|
|
Re: Calling xpa web service
jay Bhagat
Hi Adam,
Calling the magic program via href that is the only option you have, if not using the soap request. as you are building the URL you can easily build whatever parameters you want to pass hidden from the user in the email and call your magic program to do the update. You are on the right track. Regards Jayesh
|
|
Re: Record Prefix Behavior
#ria
Govert Schipper
Hi Darren,
Instead of updating the Virtual in the Record Prefix, you could use an Init Expression on it. Just make sure that the Select Virtual is placed somewhere BEFORE the Select Real column that is used in the Init Expression, otherwise it will be re-evaluated after you update the Real.
Govert Van: main@magicu-l.groups.io <main@magicu-l.groups.io> namens Darren <darren.jimenez@...>
Verzonden: vrijdag 26 oktober 2018 08:23 Aan: main@magicu-l.groups.io Onderwerp: Re: [magicu-l] Record Prefix Behavior #ria I understand, but my point is they have exactly the same order properties. I simulated the problem please check attachment,
|
|
Re: Calling xpa web service
Jackson, Adam
Maybe I’m causing the confusion by calling what I want to do a “web service”? What I want to do is call a xpa program using a URL embedded in a hyperlink. Not sure if that constitutes a web service or not?
I was hoping I could do something like http://myserver:6060/application=myWS&program=ClosePO&PO=123456&po_Line=1 Is this possible?
At present I am closing order lines down but I also want similar simple solution to run other simple update programs
From: main@magicu-l.groups.io [mailto:main@magicu-l.groups.io]
On Behalf Of Andreas Sedlmeier
Sent: 25 October 2018 17:37 To: main@magicu-l.groups.io Subject: Re: [magicu-l] Calling xpa web service
Hi Adam, The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you are not the intended recipient you should not read, copy, retransmit or disclose its contents. If you have received this email in error please delete it from your system immediately and notify us either by email or telephone. The views expressed in this communication may not necessarily be the views held by McLaren Racing Limited. McLaren Racing Limited | McLaren Technology Centre | Chertsey Road | Woking | Surrey | GU21 4YH | UK | Company Number: 01517478
|
|
Re: Record Prefix Behavior
#ria
Darren
I understand, but my point is they have exactly the same order properties. I simulated the problem please check attachment,
|
|
Re: Record Prefix Behavior
#ria
Darren,
Not sure if I understand this correctly, so I’ll outline how Magic’s engine cycle basically works (and has since DOS)
In an Online task (not covering a Batch task here which is slightly different)
So the above is long winded but important. It’s late so I may have missed something (there is more detail but I don’t think it’s relevant here). If so, I’ll go find my diagram and attach it (later) 😊
Hope this clears up why your program is doing what its doing. Again, this logic has not changed since about Magic version 5.x.
Keith Canniff
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Darren
Hi Guys So I've migrated a UnipaaS 1.9 project to Magic XPA 3.3 What I've noticed is the record prefix behavior. In UniPaaS, I have virtual variables updated in the record prefix by a value in main source because task has a main source and only 1 record is being modified and form has no table, when I modified a value in the main source that used to update the virtual variable in the record prefix and submit the form and the virtual variable values are still retained. However, in Magic XPA , when I submit the form it seems like it goes to record prefix again and update those virtual variable with the modification I did in the main source.
Best Regards, Darren
|
|
Record Prefix Behavior
#ria
Darren
Hi Guys So I've migrated a UnipaaS 1.9 project to Magic XPA 3.3 What I've noticed is the record prefix behavior. In UniPaaS, I have virtual variables updated in the record prefix by a value in main source because task has a main source and only 1 record is being modified and form has no table, when I modified a value in the main source that used to update the virtual variable in the record prefix and submit the form and the virtual variable values are still retained. However, in Magic XPA , when I submit the form it seems like it goes to record prefix again and update those virtual variable with the modification I did in the main source.
Best Regards, Darren
|
|
Re: Strange mobile/RIA error
Todd Baremore
Settings ->Apps ->[your app]->Storage->"Clear Data"
button
toggle quoted messageShow quoted text
This will force your magic app (not the apk) to be reloaded/reinstalled from the server. Todd On 10/25/2018 6:36 PM, Joseph
Knickerbocker wrote:
Cleared device cache in every way possible.
|
|
Re: Strange mobile/RIA error
Joseph Knickerbocker
After clearing all the caches from the server and rebooting everything, I'm getting a -102 connection refused error. A step in the right direction!
|
|
Re: Strange mobile/RIA error
Joseph Knickerbocker
Cleared device cache in every way possible.
Delete app storage? By that do you mean the RIA cache on the server? Thanks for such a quick response, both of you!
|
|
Re: Strange mobile/RIA error
Tim Downie
if u clear device cash does it work ?
From: main@magicu-l.groups.io <main@magicu-l.groups.io> on behalf of Todd Baremore <tbaremor@...>
Sent: Thursday, 25 October 2018 10:17 PM To: main@magicu-l.groups.io Subject: Re: [magicu-l] Strange mobile/RIA error Joe,
Any clues in the BrokerActivity.log? Try deleting the app storage and reconnecting to the server. Watch the broker monitor for any errors as your app is reloaded. Todd On 10/25/2018 6:03 PM, Joseph Knickerbocker wrote:
Hey group... I have a very strange error that I have never came across before while deploying our android app to a clients server. The search turned up no results as well.
|
|
Re: Strange mobile/RIA error
Todd Baremore
Joe,
toggle quoted messageShow quoted text
Any clues in the BrokerActivity.log? Try deleting the app storage and reconnecting to the server. Watch the broker monitor for any errors as your app is reloaded. Todd On 10/25/2018 6:03 PM, Joseph
Knickerbocker wrote:
Hey group... I have a very strange error that I have never came across before while deploying our android app to a clients server. The search turned up no results as well.
|
|
Strange mobile/RIA error
Joseph Knickerbocker
Hey group... I have a very strange error that I have never came across before while deploying our android app to a clients server. The search turned up no results as well.
We are using XPA 3.1 with the standard broker. We have multiple deployments on multiple servers, all is well. When I run the app to connect to our dev server, all is good. But when I try to connect to the newly installed client server, I get a runtime error, -138 (on my android device), and this strange message in the error logs. <436524595690686656> 25/10/2018 16:53:10.840 [Error ] - ISN import error. ISN already exists >> Application : C:\Sooner1\, program:
<436524595690686656> 25/10/2018 16:53:10.843 [Error ] - Execution Path: , program:
<436524595690686656> 25/10/2018 16:53:10.844 [Error ] - Task Name: Main Program, Tag: 2, program:
<436524595690686656> 25/10/2018 16:53:10.846 [Error ] - EndTaskRequest(): ISN import error. ISN already exists : Browse - Customer_Types ERR-RUN-TIME-EXCEPTION (-139) : "INV" ("Smartphone4") (msgid "3"), program: That program "Browse - Customer_Types" is a random program used for testing and is not referenced by any other program ever. It should not be called ever. Again, when I run this on the dev server it all runs well. I have rebuilt the apk and the cabinet files multiple times just to make sure there was no funny business going on there. I see 3 requests in the broker monitor, 2 successful and 1 failure each time I try to run the app. Any ideas?
|
|
Re: Keep called program open
Nope so I'd say it's a release issue Sent from my T-Mobile 4G LTE Device
-------- Original message -------- From: Arch <Arch.Lineberger@...> Date: 10/25/18 1:31 PM (GMT-05:00) To: Magic Group <main@magicu-l.groups.io> Subject: Re: [magicu-l] Keep called program open Keith, That is exactly how mine is setup. It worked in previous versions, but it flashes in v3.3. The Activity Monitor shows the progress program repeatedly opening and closing although it is set as Resident. Have you tried yours in v3.3b? Arch Arch Lineberger 203 N Main St Belmont, NC 28012 704.461.1223 On Thu, Oct 25, 2018 at 12:16 PM Keith Canniff <kcanniff@...> wrote:
|
|
Re: Keep called program open
Arch <Arch.Lineberger@...>
Keith, That is exactly how mine is setup. It worked in previous versions, but it flashes in v3.3. The Activity Monitor shows the progress program repeatedly opening and closing although it is set as Resident. Have you tried yours in v3.3b? Arch Arch Lineberger 203 N Main St Belmont, NC 28012 704.461.1223
On Thu, Oct 25, 2018 at 12:16 PM Keith Canniff <kcanniff@...> wrote:
|
|
Re: Calling xpa web service
TEST, plz ignore....
|
|
Re: Calling xpa web service
Andreas Sedlmeier
Hi Adam,
In theory you can create a SOAP request from html, you'll however need some javascript and therfore it wont work in practice. Email clients either do not support script at all or have it disabled by default, for security reasons. You can however send your clients an email with some details about the order and put a hyperlink there which has a (secure) confirmation code as a parameter. That Hyperlink would point to a Magic program running on your server which would then close the order. Best regards, Andreas
|
|
Re: Keep called program open
Arch,
Nothing. As long at the progress bar program has Close Window = No it will stay open when it exits. I have this exact program in my systems as a called program for that purpose. The calling program has Close Window = Yes so it closes not only its own window but any other window it called (ie the progress bar program).
My Progress Display program is a batch query program, Interface, Open task window = Yes, Close task window = No. That’s it.
… unless there’s another program called in between that then calls the progress bar program and it has Close Window = Yes.
Keith
From: main@magicu-l.groups.io <main@magicu-l.groups.io> On Behalf Of Arch
This application has a batch program processing records for a report. In its RS, it calls another batch program to display a progress bar. In older versions of Magic it worked smoothly; however, in v3.3, the progress bar program closes after being called resulting in the screen flashing each time. The progress bar program is set as a Resident task with Close Window = No. What else is required to keep it on the parent program's display?
Arch Lineberger 203 N Main St Belmont, NC 28012 704.461.1223
|
|
Re: Using Font Awesome
Peter Ashworth
Hi Andreas,
Ah I see. Thanks for finding that, it certainly explains what I'm experiencing. So this will become plausible as long as are customers have or are about to migrate to win 8 onwards. At least its now there in our toolbox if we need it. Thanks for all the input Peter
|
|
Re: Using Font Awesome
Andreas Sedlmeier
Hi Peter,
Result of a quick google search is f.i. following: https://social.msdn.microsoft.com/Forums/vstudio/en-US/aee0a207-4df3-48f3-87ff-4018f212bcfe/otfgtwhy-it-can-be-used-in-windows-8-but-can-not-be-used-in-windows-7?forum=csharpgeneral It seems that Windows Forms applications which do use GDI+ (since Windows 7) have issues with OTF fonts. In Windows 8 GDI+ saw an update and it has less issues since then. So you have the options to use Windows 8 or later or Windows XP (With GDI OTF fonts work just fine) Best regards, Andreas
|
|