Hi,
I'm new to Outsystems and in the process of learning! Some questions may be very simple - please excuse. I tried finding clear straight answers to the above queries - got responses but again it was Vague.
1. Mobile Application - What's the mandatory requirement for a Mobile App to invoke Server Process / Server Action? For example, A logon can be made to the App - without invoking/linking to Server.
2. When an exception occurs -- there are 2 types of exceptions defined - Database and All Exceptions. We don't know the scenario of the cause of exception -- Outsystems will invoke both in parallel / sequence or just one of it?
3. ButtonGroup Items should have the same Variable Type and/or mandate to define values?
4. Can a single column data be pulled in and have an aggregate function applied? If so, how will the outcome be - Id, Value or just Value displayed?
5. Can it be assumed every user will have by default mapped to a SYSTEM role? And a custom role will override a System role?
6. Update of Mobile Application is mandatory if a new system plugin component is added or existing is amended?
Thanks!
Hi Karthik,
So if an "Invalid Login" exception occurs, the system will look for a handler of "Invalid Login". If it can't find one, it will look for a handler of "Security Exception", and if it can't find that one, it will look for a handler of "All Exceptions". So typically you will have at least an All Exceptions handler, and other handlers if you need them.
5. You create Roles based on your functional requirements. You can create an actual role in the sense of "Manager" or "Data Entry Employee", or you can create more task-based roles like "CanEditCustomerData", "CanViewPatientStatus" or whatever makes sense for you. Using the Users eSpace, you either assign roles directly to a user ("John Smith is Manager" or "John Smith gets CanEditCustomerData and CanViewCustomerPurchase roles"), or you can assign Roles to a Group, and put Users in the Group (which will then inherit those Roles).
Note that Roles only come into play when the application has been started, and/or when the user has logged in. At publish time, Roles only exist on code-level, and whether or not there are users assigned to roles is completely out of scope (and should be - who has what roles should not be left to the developer!). The Platform will only throw an "error" (an exception in the sense we've been discussing above) when the user wants to access a Screen they don't have access to.
Welcome to OutSystems and this community! I'll try to answer your questions:
EDIT: Checked on Anonymous role, and changed description accordingly.
Thanks Kilian for the detailed response. Appreciated!
Just a few iterations to my query to be precise after noting your response.
1. Mobile Application involves a combination of client action & server action and in cases, data actions, if needed. My query is - What's the mandatory time when the Mobile Application while operating looks for or checks for Server based response/validation. Is it at the time of Login, during rendering, when navigating from one screen to another or say, while clicking a Save button? Or is their no such mandate a Mobile application will require Server interaction and can act stand-alone (Its presumed - the logic and the local database are so defined to handle).
2. So when no specific exception handler is defined, can i presume - system will transfer the flow to "All Exceptions" when an exception arises (or) System understands the exception is due to an database issue and is smart enough to transfer the flow to "Database Exception" Handler.
3. Clear and Understood.
4. Clear and Understood.
5. In a business App, can i presume - we need to define the clear roles for every user created and a user can't be left without a role assigned and Outsystems will throw error if published without assigning?
6. Clear and Understood.
Thanks Once again!
Thanks Kilian & the detailed responses are clear enough. Good day!
You're welcome! Happy coding :)