For some reason i have the same exact thing on one of my pages but the OnNotify never gets called, could it be because of the Resources ?
[Forums] Update
[Forums] FIltering Table Help
Hello Jared,
What about a small change in your data model and logic?
If the employee can do a single online training at a time (seems the case), you can just add a boolean attribute (non mandatory, try by default) to the EmployeeOnlineTraining entity. Every time the department assigns a NEW training, you set the old ones to False.
This way, in this screen, you could simply join Emps and EmployeeOnlineTraining and filter by the Emps.TrainingStatusId = OnLineTraining and by EmployeeOnlineTraining.YourBooleanField = True
Cheers.
[Ideas] Copy and Paste Data into Grid
I would like to be able to copy data from web page or Excel sheet and paste into data grid.
the use case is batch data entry.
Example: https://www.ag-grid.com/javascript-grid-clipboard/
Paste from Clipboard
Paste to clipboard can only be done in the following ways:
- Press keys Ctrl+V while focus in on the grid with a single cell selected. The paste will then proceed starting at the selected cell if multiple cells are to be pasted.
- Press keys Ctrl+V while focus in on the grid with a range of cells selected. If the selected range being pasted is larger than copied range, it will repeat if it fits evenly, otherwise it will just copy the cells into the start of the range.
[Forums] Dynamic User Management Help
I want to create a page where registered users that are considered managers (through a role association that I set) have the ability to create new user accounts for personnel that fall underneath them. For example, a project manager user can create user accounts for site supervisors, and once logged in, those site supervisors can create user accounts for personnel underneath them at that site.
The "project manager" should not be manually setting the password for the new "site supervisor". Rather, the project manager inputs [Name], [Email], [Site], and then an email is sent to this site supervisor with a link that takes them to a page where they enter their desired password.
At a high level explanation, how do I achieve this? I'm still fairly new to OS and slowly learning.
Thanks.
[Forums] Mobile - Custom Menu Buttons
Anybody?
[Forums] Unable to cast object of type 'OutSystems.HubEdition.WebWidgets.Container' to type 'O
Hi Suraj,
can you share your oml or reproduce it in a simple oml?
Regards,
Marcelo
[Forums] OutSystems and OpenXMLPowerTools
Hi Michael,
There are a couple of ways of testing a extension. In my opinion the easiest is to add log to the extension. Beside this option you have the following options:
- Change the extension to windows application and do a class to test the different methods (problem is that you need to send the same inputs as outsystems
- If you have access to the outsystems server you can install VS there and attach to process w3wp.exe
- the other option is remote debugging that is even more complex
You can read this post https://www.outsystems.com/forums/discussion/6399/is-possible-to-debug-a-extension/ for the more complex options. But if is possible to do it with logI would do it. the log is added like this GenericExtendedActions.LogMessage and everything is log in general log.
Regards,
Marcelo
[Forums] Detail Screen Save Action
I created 4 different screens and each one of them has a detail screen which I created by scaffolding. All 4 screens are connected. 1st screen is Customer, 2nd screen is CustomerInitiative, 3rd screen is InitiativeActivity and last screen is ActivityNotes. They are connected so that each Customer can have many different Initiatives, each initiative can have many activities, and each activity can have many notes. When I create or update a customer in CustomerDetail, that customer is saved to the Customer page in a list, and when I create or update a customer initiative in the CustomerInitiativeDetail page that initiative is saved in the CustomerInitiative page, etc. However, when I get to my ActivityNotesDetail page and I try to create a new note, it shows me the "saved successfully" message but it doesn't show the newly created note in Activity Notes page. It remains blank on the table. I suspect its adding it to the database, I just don't know why its not showing on the end user page. How do I get the new note to show on the ActivityNotes page after saving it?
[Forums] Detail Screen Save Action
Hi,
Do you realize that you're asking us to tell you the solution to a problem that we know nothing about, because you're not telling us how you're doing it?
Some advice on this type of situation.
Check if data is being stored. Just click the entity in Data layer to open context menu and than View Data. In the screen you can order or filter the data.
If the data is not there, check your save action. Use the debugger and execute the save step by step until you detect the problem.
If the data is there, check if it is correct. No missing FK? Everything is fine? If not, again, probably the problem is in the save action.
If data is there and is correct, than check the aggregate in the preparation of the list screen, as probably the problem is a fetching data problem. Check the filters. Check the join types and conditions. Misplaced Inner joins can kill your aggregate's ability to find data, as much as filters. Execute preparation in debug.
This will help you find the problem.
Cheers
[Forums] Dynamic User Management Help
Hi Jason,
Welcome.
I would say that one way to solve this is through a token system.
When you creates the user, saves a token associated with it in database, and send the mail with a link that includes the token.
The page, when accessed will validate the token sent with the one stored. And find or validate the user.
Hope this helps.
[Forums] Transpose rows into column to write into excel sheet
I have a sample table as given below
Id. CustID year month. Time(hrs)
1. 101. 2018. 1. 45
2. 101. 2018. 2. 43
3 102. 2018. 1. 45
4. 102. 2017. 1. 50
I want to transpose this table as below to write into excel according to each custID
For CustID 101 table should be like
Fy-18. Fy-18
Jan-18. Feb-18
45. 43
Can I do this with query or any other way?
Pls provide solution.
[Forums] What is the purpose of System components?
What is the purpose of System components?
[Forums] What is the purpose of System components?
Hello Balaji,
The System Components are a set of applications that are part of the OutSystems Platform and must be installed when the platform is installed (or upgrade when the platform is upgraded).
Cheers.
[Forums] What is the purpose of System components?
wrote:
Hello Balaji,
The System Components are a set of applications that are part of the OutSystems Platform and must be installed when the platform is installed (or upgrade when the platform is upgraded).
Cheers.
Is there any documentation available to know that?
[Forums] What is the purpose of System components?
Here is the only place where I found this information: https://success.outsystems.com/Support/Enterprise_Customers/Installation/Install_System_Components
Don't remember if there is anything mentioned in the OutSystems Support Engineer bootcamp presentations, while I remember this was mentioned at the time.
If you go to the Service Center, you can see which modules/extensions are part of the system components.
Cheers.
[Forums] MQTT vs serial or both
Hi Tjaart,
MQTT will definitely allow you to send high volume of messages between devices, it was design for that. You might want to take a look at the Quality Of Service settings (QOS) of the protocol to see which would work best for your project.
It all comes down to the device where the card reader is and where is the MQTT broker.
Both devices, the tablet and the card reader must be able to "see" the broker. This implies some sort of networks connectivity. You have plenty of arduino modules to connect to the network, both ethernet or wi-fi and even some specialized boards such as the ESP-8266 or the ESP-32 which will support wi-fi out-of-the-box. However you do have another set of issues such as what happens if there is not network or internet connectivity?
You could run a local broker such as mosquito or you could use a cloud broker. IOT cloud services are quite good for large scale deployments, take a look at AWS or Azure, they have a complete solution for your devices managing them from encryption to analytics.
Cheers
[Forums] different file
I believe Meri Meri is pointing out that the espaces described in the details are not the same as what shows up in the download.
[Forums] Can I use this for mobile app?
Hi Raul,
Can I use this component for mobile app?
Thanks and Regards,
Suraj Borade
[Forums] Cache manifest file is corrupt or invalid
Good Day,
I tried to load my application but it was stuck on the splash screen. It occurs for both my ios and android devices. I am however able to load it in the browser.
I am able to create another blank mobile application and load it successfully. I have also updated all my 3rd party extensions but the error persists.
I looked at the error log and it states that the cache manifest is corrupt or invalid but I have no idea how to resolve this.
Opening the details for the "Cache manifest is corrupt or invalid", I get these info:
or Detail | ||||||||||||||||||||||||
Back to Log | ||||||||||||||||||||||||
|
In addition, the general log states as such:
I have tried to uninstall and reinstall the application multiple times to no avail. Any leads would be helpful as it seems to be something I am unable to resolve on my end.
Thank you.
Regards,
Jerome Lieow
[Forums] error in running configurationtool.sh
When I am running configurationtool.sh file I am getting error JAVA_HOME does not exist as a valid directory:/etc/alternatives/java_sdk_1.8.0
But I configured JAVA_HOME correctly