[Ideas] Style Sheet Editor
[Ideas] Create Parameter Wizard
[Ideas] Conditional Breakpoint
To be able to set conditional breakpoints instead of breaking everytime.
[Ideas] Remove or disabled Fastclick
In web applications but accessed through idevices, fastclick blocks triggers.
Fastclick programmers themselves recommend careful use of fastclick in newer browsers.
"Note: As of late 2015 most mobile browsers - notably Chrome and Safari - no longer have a 300ms touch delay, so fastclick offers no benefit on newer browsers, and risks introducing bugs into your application. Consider carefully whether you really need to use it."
In an application that makes use of google's APIs (google places) a trigger is triggered place_changed but in idevices never gets this event due to fastclick, having been the solution to disable fastclick for the elements that are generated through this api.
[Ideas] USing C# code
Create a drill down option on actions to open a code editor and allow custom code maybe in c# to be added to have full control of what the action is capable of. Similar to what is done on integration studio but in service studio as well for customizing actions that you have no created and maybe consumed from another application as a dependency
[Ideas] Input width in pixels
[Ideas] [Table Records] - Conditional Row / Column highlight
This as an indicator for e.g. Unpaid invoice (overdue) or to indicate a value is below a certain treshold.
Eg:
[Ideas] Application List with 4 Layer Canvas
It would be really great if you in someway could organise your service studio. There are of course possible ways, like;
- adding folders (the independent modules is a kind of misc folder)
- 4-LC organised
If this structure is also applied in the Manage Dependencies, that could also really help in finding the right modules :-) This could be another idea in itself...
[Ideas] Modern JavaScript (ES6, ES7) support in ServiceStudio
Hello All,
JavaScript has had ES6 and ES7 syntax since a couple of years. The new syntax provides some good features like lambda syntax, the 'let' keyword, the 'const' keyword, template literals etc.
While some old browsers do not support all of the syntax, there are libraries like 'babel.js' (https://babeljs.io/) which transform modern JS to ES5 (the usual JS syntax).
It would be great if the OutSystems product allowed using modern JS directly in ServiceStudio.
OutSystems can integrate the babel.js within the platform - so that it can convert any modern JS syntax to ES5 (older JS when required for old browsers, already most modern browsers do support ES6 , but not all..).
Advantages:
1. Developer productivity with modern JS will be very good. Many forge components rely on JS and JS libraries and having support for modern JS will be great.
2. Modern JS is helpful for writing easier to read and maintainable JS code.
3. On the mobile front in OutSystems - apache cordova for the mobile plugins is JS based - so supporting modern JS would be a win over there too.
[Forums] Form dont save
wrote:
wrote:
Hi,
Im new on Outsystems, I try to create a From with Dropdown dinamic, When I choose an option the next Dropdown give me a value automaticaly, but when I click on save Button the data dont save my choices. I need a help to put my choices on my database "Formulario".
I use Reactive Web app
put my oml attached.
Did you pass all mandatory attributes to the form? what is the error in the Service Center?
You are not using any of this input parameter, isn't that is missing? you have this entities attributes as mandatory but you aren't assigning this on your logic
inst missing an assign here to use the input parameters?
So here the problem is that you aren't assigning the input parameter that are mandatory to the creation of the record and because of the constraint will fail to save the form. So to work assign the missing values
Hope I could help you
Best regards
Carlos Lessa
Hi Carlos,
I use input parameters to make my dropdown dinamic, I have a Filter to do that in the aggregates, but in this case I think I need to assign my input parameters to the respectives Fields of form.
In the Dinamic dropdown I need to create a Variable to make a filter and make he dinamic, but in the button Save, the variables isnt included, and the another fields that dont have variable he save normally.
.
ex: With Variable, dont save.
without Variable Save normally.
[Forums] Extending DataGrid for Check and Uncheck Checkbox Selection on Cell Edition
If there is a requirement to check or uncheck the checkbox selection from a specific row when there is an edit on a cell from that same row, it is possible to extend the default DataGrid behavior.
Following the expected results:
When the user edits a cell from a specific row, it automatically sets the checkbox to “checked”.
- When an undo is applied after the previous step, it will change the checkbox to “not checked”
The previous points got us into different scenarios:
3. If the user clicks on the “Select-All” checkbox, it will be impossible to toggle the selection of the rows until he clicks once again on “Select-All” checkbox (this time to clear selection).
Here you can see that if the user clicks on Select All checkbox, any changes that occur on a cell won’t affect the selection.
4. Similar to the previous point, if the user wants to toggle checkbox selection again with the undo changes on cells, the solution passes by unchecking everything back. This will enable the feature again. Otherwise, the previous point (3rd point) will continue ruling.
5. If there are multiple dirty cells on a specific row, the user has to undo them until there is now dirty cell, only after this the row’s checkbox will get unchecked.
You can check how to extend the DataGrid in the sample attached in the post, just download the .oml file. Then you will find a Source Web Block containing all the Javascript to extend DataGrid for these requirements. You can find the Javascript inside a JS Web Block. Double click ToggleCheckbox to find it.As this is a Sample to illustrate the behavior of this feature, there is a checkbox at the top that will change the value of a variable - Override, from ToggleCheckbox and conditionally use the JS Web Block.
Remember that by using this feature, the methods related to dirty marks on the cells after changing their values and selection by checkbox will get overwritten. Specifically, the methods setDirtyCell and columnSelectRow.
Hope this sample is useful if you need to extend DataGrid to check and uncheck checkbox selection on cell edition.
[Forums] There was an error processing your request for Mobile App - Out System
Hi Anuj,
Please find the below screenshot for your reference, set your module as Home means start up.
Also check the service center for error details.
[Forums] Pass Table Records Row Value to Modal Popup
wrote:
wrote:
wrote:
wrote:
Hi,
you can take input parameter to that pop up. when you mention your pop editor at link or button there you need to pass that table record row value to that input parameter.
For example. look at the below image
you can see pop up has input parameter to edit particular User.
for more - How create and use pop up .
Thanks and regards,
Rahul
Hi Rahul,
How about Modal Popup?
Cheers,
Reno
Hi,
in pop up , you can use your table record value whatever you want to do.
In my case i am using user id to get information of that user from database.
If you want to pass value from pop up to parent screen then your use OnNotify screen action to get that value at parent .
To close the pop up , you can use Pop_Editor_Close at pop up screen button that closes pop up and Pop_Editor_Notify sending some message to parent.
you can catch it at OnNotify screen action of parent by using Deprecated_NotifyGetMessage Run server action.
Thanks and Regards,
Rahul
Hi Rahul,
Maybe I shouldn't use Modal Popup. I may have chosen the wrong popup widget. I'll give it a try your suggestion and will update you again. Thanks mate.
Cheers,
Reno
Hi,
you need to make new screen with LayoutPopUp , and have input parameter because u want to pass table record row.
Follow this How create and use pop up .
Ya, update, If you get any trouble.
Cheers,
Rahul
[Forums] Refetch Events
wrote:
Hi
I am trying to add the events on GetDataActionOnAfterFetch but the events do not appear on the calendar.
I tried with RefetchEvents and NewEventSourceData (and both) but it doesn't seem to be working.
Can you help me how to do this?
Thanks,
Pedro
Hi Pedro,
There are several ways to add events to the calendar, NewEventSourceData(add a local source), NewEventSourceURL(get source data from url like REST API) or the AddEvent action.
In the case of NewEventSourceData, the calendar can only be started after GetDataActionOnAfterFetch, because the events are pass and defined when the calendar display is made.
You can try something like that, only display the calendar after the data is fetch, please let me know if this solves your problem.
At this time, we can only add events(input paramenters) when the calendar starts. One of the methods I use is the NewEventSourceURL(Rest API), with this method we can do the refetchEvents and the calendar will fetch by itself the data.
I hope I was able to help, let me know if this solution doesn't work.
[Forums] There was an error processing your request for Mobile App - Out System
HI
I have created sample mobile blank app , and designed basic login screen , Published successfully but not loading in mobile.Please let me know what could be the issue. how to set up start up screen for My ToDo applications. Error is coming in mobile screen " There was an error processing your request for Mobile App - Out System . Thanks
Thanks & Regards!
Anuj
[Forums] Pass Table Records Row Value to Modal Popup
wrote:
wrote:
wrote:
Hi,
you can take input parameter to that pop up. when you mention your pop editor at link or button there you need to pass that table record row value to that input parameter.
For example. look at the below image
you can see pop up has input parameter to edit particular User.
for more - How create and use pop up .
Thanks and regards,
Rahul
Hi Rahul,
How about Modal Popup?
Cheers,
Reno
Hi,
in pop up , you can use your table record value whatever you want to do.
In my case i am using user id to get information of that user from database.
If you want to pass value from pop up to parent screen then your use OnNotify screen action to get that value at parent .
To close the pop up , you can use Pop_Editor_Close at pop up screen button that closes pop up and Pop_Editor_Notify sending some message to parent.
you can catch it at OnNotify screen action of parent by using Deprecated_NotifyGetMessage Run server action.
Thanks and Regards,
Rahul
Hi Rahul,
Maybe I shouldn't use Modal Popup. I may have chosen the wrong popup widget. I'll give it a try your suggestion and will update you again. Thanks mate.
Cheers,
Reno
[Forums] how to create microservice which create logger file of multiple application?
If you mean default logs, they are stored by OS. You can check them in Service Center.
If you mean application-specific logs, you can implement your own logic. it will depend if it is Mobile, Traditional or Reactive. Logger is a popular option to be an example.
https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/JavaScript_API/Logger
Your question is very vague so there is not much that can be said. Because you are starting I leave here the easiest process. I could tell a few more complex.
The steps for suggestion 1 are:
- Have a logging module.
- Write to logging module what you think is relevant for logging.
- Create an Export function.
For option 2 (on Personal Environment you can't write to local files) you write to a temporary table (to avoid deadlocks) and write into file every x seconds.
[Forums] Changing an entity's variable through the one-to-many relationship
Diana,
Your Cycle is starting to the wrong way. Do a right click in the for each and choose swap connectors. This will make your cycle arrow switch.
What are you putting in the CRUD action? You should use a createorupdate and put the record that you are iterating and not the Identifier.
I can show you the following example:
Also, take some time to read about CRUD Wrappers ( https://medium.com/@jmjames/outsystems-crud-wrapper-basics-e9a577a3e044 ). As you progress in your outsystems journey they will be very handy for you.
Best regards,
João Delgado