[Forge] ControlChart
[Forums] MQTT vs serial or both
Hi there,
I have a fixed price kiosk type application where the user selects the product from the application on the tablet, which in turn is the kiosk, the tablet send the request that includes the price to the contactless card reader, the card reader polls for a contactless EMV card. When the customer taps their card, the contactless reader accesses the unsecured portion of the EMV card in order to process the payment. The payment will happen with either a promo coupon or a pre-funded balance.
I am currently using the plugin from https://github.com/xseignard/cordovarduino. It works, ie, I am able to communicate with the device and do transactions, but it is greatly unstable. Sometimes I do three purchases or sometimes I do 20 purchases and then the application suffers a fatal error. My hope is that MQTT will offer a cleaner solution that will allow me to send the request to the device and receive the responses without having to worry about clearing buffers and managing resources. I simply want to send my request, receive it back, like one does with a REST API.
[Forums] Platform Server Encoding REST Url for SSRS
I'm trying to get a report from our SSRS server, and Outsystems is annoyingly encoding the report parameters in a way which I don't know how to disable.
In Outsystems the URL looks like this:
http://reportbaseuri/ReportServer/Pages/ReportViewer.aspx?%2fReport_Folder%2fReportName&ReportGuid=DAB4CF75-1181-42AB-8810-3CEBE1441AB7&rs:Command=Render&rs:Format=PDF
However, when I execute the request, the server's logs show that the following URL was called:
http://reportbaseuri/ReportServer/Pages/ReportViewer.aspx?%2fReport_Folder%2fReportName%26ReportGuid=DAB4CF75-1181-42AB-8810-3CEBE1441AB7&rs:Command=Render&rs:Format=PDF
As you can see, the ampersand is replaced with %26, which results in a 500 error from our server. Is there any way I can disable Outsystem's native URL encoding?
[Forums] Read and Validate token
Hi João,
I will give it a try first thing tomorrow morning.
Regards,
Daniel
[Forums] Normalization of Database, Pros vs. Cons
Sebastian,
Without knowing what the original table and data looks like it's difficult to help you create a better layout but you are looking at this incorrectly.
Increased complexity - while I understand a database with 12 tables is more complex than one, your code will become much more complex when you have to deal with all the duplicated data. For example, if you have a field showing the status (Active, Inactive, etc.) you'll have to write additional code to handle that when it is a value in a table instead of a link to a lookup. If you add a new value, another code change. Implemented with a proper lookup table all this can be handled without changing code.
Increased costs - I understand the OS pricing model impacts your decision but I'm sure some reasonable compromise could be found. Also factor in the reduced maintenance costs in my previous example.
A nice database structure - yes, doing a proper 3NF database is nice but pays huge dividends when you start writing queries and screens. If you put it all in one table it'll be more work in the long run, performance will suffer and making code changes will be more difficult.
Read this for more information -
https://en.wikipedia.org/wiki/Database_normalization
Hope this helps,
Curt
[Forums] Mobile - Custom Menu Buttons
Hi all,
I'm trying to implement a menu button in my bottom bar. Something along the lines of this:
so instead of the hamburger menu icon at the top, the big red button would bring out the left side menu. Its semi functional at the moment. Creating an action the called 'MenuShow' and assigning it to the button was simple enough. The problem is that whenever i drag my finger across anywhere on the menu, it disappears and the screen gets a grey tint to it.
Anyone with an idea of whats going on? How do I fix this?
Thanks
[Forums] Is there a way to query number of public server actions
Hello,
I am currently trying to query from my application to get a count of public server actions from a module.
[Forums] HighCharts (Pie) defining color.
Hi Wiliam,
All DataPoints with the same DataSeriesName belong to a single series. The colour for that series is determined by the AdvancedDataSeriesFormat for that data series (with the same DataSeriesName as your DataPoints). Since both the data points (via the SourceDataPoint Input Parameter) and the advanced format (via the AdvancedFormat Input Parameter) are passed to the chart at the same time, the order in which you prepare them is inconsequential.
[Forums] Is there a way to query number of public server actions
Hi Ewin,
The system Entity Espace_Reference contains all public references of eSpaces. It's a bit of an annoying Entity though, containing history as well, and for some reason doesn't have an eSpace Id as foreign key (link is via Producer_SS_Key, iirc).
[Forge] Correios
[Forums] Platform Server Encoding REST Url for SSRS
Hi Jason,
The reason OutSystems is encoding the ampersand, is because the first URL you specificied isn't a proper query string. So the Platform assumes everything up to the first equal sign is the parameter, and encodes it (properly, I might add). So it's not OutSystems at fault, but either SSRS or the way you (try to) send data to it.
[Forums] Message Queueing in Outsystems
Hi Filipe,
It seems RabbitMQ has a REST API, so you need to consume that. In case you don't know how to that, check out the documentation.
[Forums] Platform Server Encoding REST Url for SSRS
I understand the reason, I am trying to work around that, since that is the way that SSRS receives report names.
I ended up ditching the Outsystems REST framework entirely and doing the entire request in a custom extension.
[Forums] FIltering Table Help
Hello Jared,
is this what you want?
https://emanuelfreitas.outsystemscloud.com/TestWithSQL/
The table that I think you want is on Home screen and you can see the data on Emps screens. I have some emps that are doing online training and others In-Process. Some of the emps have more than one training assigned.
I attached an zip with an .oml and a excel file where you can see the data that I bootstrap.
I added some comments inside the SQL query. If you receive "query return no rows." confirm if you have an input value assign, as you can see on the following pic:
Play with the app and see if this works for you.
[Forums] Salesforce Snapin SDK integration with UI
Hi Everyone,
I am trying to integrate the salesforce snap in sdk with outsystems for android. The sdk is found at the following url
Since there is no cordova plugin available for this, i am trying write my own cordova plugin by referencing the jar file. The issue i am facing is, this sdk will also add a chat box in the UI so i the examples provided at the site for android are extending from AppCompatActivity class.
But if i were to convert to cordova plugin then i need to use the CordovaPlugin by doing this i believe the sdk will no longer be able to access the UI elements on the screen and wont be able to show the chat box.
Any idea how this can be achieved?
Thanks in advance.
Cheers,
Sujan
[Forums] Resizing HTML canvas
Hi,
I need to be able to resize a canvas. I found that I was able to do so using CSS zoom or transform: scale(). However, doing so caused the canvas to be unclickable. Attached is an example. The green rectangle is supposed to be movable. Is there any way to change the viewport or resolve this issue? Thanks in advance.
Regards,
Louie
[Forums] Resizing HTML canvas
wrote:
Hi,
I need to be able to resize a canvas. I found that I was able to do so using CSS zoom or transform: scale(). However, doing so caused the canvas to be unclickable. Attached is an example. The green rectangle is supposed to be movable. Is there any way to change the viewport or resolve this issue? Thanks in advance.
Regards,
Louie
Attached is an example in which the canvas was not resized where the green rectangle was able to be moved (I was unable to attach two attachments at once)
[Forums] Unable to cast object of type 'OutSystems.HubEdition.WebWidgets.Container' to type 'O
Hello,
I have records in ListRecords widhet and some textboxes for each record. Each record has its own save but when I click on Save, I'm getting this error.
Unable to cast object of type 'OutSystems.HubEdition.WebWidgets.Container' to type 'OutSystems.HubEdition.WebWidgets.TextBox'.
How to resolve this?
Please advice.
Thanks and Regards,
Suraj Borade
[Forums] Is it the outsystems bug ? "B List" auto-created after converting json to a structure
wrote:
Hi Buddy,
It is a known "feature" of the REST consume that the Platform tries to merge Structures that look similar. I'm not too happy with it either, and would love to see it fixed.
Thank you very much for your reply. At least, you helped me to decide the next step I have to do.
[Forums] Read and Validate token
Hi João,
I've downloaded your latest version, and can confirm that now I can correctly validate a JWT token that is encrypted with RS256.
Thanks again for the quick and professional support.
Regards,
Daniel