Quantcast
Channel: OutSystems Community
Viewing all 1476385 articles
Browse latest View live

[Forums] Problems with the download widget

$
0
0

Eduardo Jauch wrote:

Hello Herome,

The action that ends with a Download must be called also with method set to "submit".
Check if it is defined as "submit", or if you are using "ajax submit".

If it is already set as "submit", check if you are having any error in the Service Center logs, that can give you a lead on what is happening. You can also put a break point into the action start and check if there is something that is causing a problem.

Cheers. 

EDIT:

Looking better to your Download, I think the error is probably the "source".
If the GetEntity1s aggregate is in the preparation and is the source of the table, the "current" will probably not be pointing to the correct record (beside being bad practice use preparation generated content.

Instead, fetch the record that contains the file, again, using the GetEntity1 entity action, passing as argument the id that will be set in your TableRecords.List.Current.Entity1.Id.

Every time you click in a line of a Table/List Records, its list current is set to that record.

Hi Eduardo,

I did just like you said, and it is all working now. I didn't know downloading required the submit method as well and thank you for the best practices tip.

Regards,
Jerome Lieow



[Forums] StackedIcon Usage

$
0
0

It's in case you wanted to shove 2 icons together... one over top the other...

You can set colors for both and swap sizes between the two.  Very cool Widget.

Use it to reinforce a label to get the message across with an image.  There's a circle icon into which you could put pretty much anything else.  Use it just 'cause it's pretty.

https://silkui.outsystems.com/Patterns_Web.aspx#Web_Utilities_StackedIcon

[Forums] App works differently on different devices

$
0
0

What's "cactus"?

I just tried my Stacked Cards app on my Huawei Nexus 6P and it's really good... no issues.


[Forums] App works differently on different devices

$
0
0

Hi David ,

I meant it's not working properly. the cards move from its pissition, and they don't swipe properly where as it works perfectly on LG. 

Davidk wrote:

What's "cactus"?

I just tried my Stacked Cards app on my Huawei Nexus 6P and it's really good... no issues.




[Forums] App works differently on different devices

$
0
0

Swipes left, right, up all good.  Button clicks result in the same movements... all very smooth.  Even if I tap and hold on a card I can move it around - still really smooth.

Try a rebuild, and a full reinstall.  Delete the app first.  Also try powering off the phone.  Which Huawei is it?

[Forums] App works differently on different devices

$
0
0

Hi David ,

It's huawei p9

Swipes left, right, up all good.  Button clicks result in the same movements... all very smooth.  Even if I tap and hold on a card I can move it around - still really smooth.

Try a rebuild, and a full reinstall.  Delete the app first.  Also try powering off the phone.  Which Huawei is it?



[Forums] How to fetch, store, refresh access tokens?

$
0
0

Store the tokens in local database?
Or in JavaScript variables (as the mobile applications are one page applications)? 

[Forums] Problems with the download widget

$
0
0

Hello Jerome,

Good to hear I was able to help.
Please, mark my answer as the correct one, to make easier for others with the same question to find a solution.

Cheers,
Eduardo Jauch


[Forums] "Movie Data" does not contains Cinemas Data

$
0
0

Hi,

I downloaded the Movies Assignment ZIP file from the out systems training site. Unfortunately I could not find data in the "Cinemas" table. I am attaching the .oap file for your information and review.

Kindly check and let me know the reason. It's really scaring if data loses without the consent.


Regards

Mohd. Anseer

[Forums] "Movie Data" does not contains Cinemas Data

$
0
0

Cinema data is in the resources folder of 'Scaffolding and RichWidgets Exercise Materials' . One of the last lessons of the 'Developing OutSystems Web Applications' course.

[Forums] App works differently on different devices

$
0
0

I think that's my only complaint about the Android world.  Unless you buy whatever the current Nexus device is... you really never know what you're going to get.  Updates are always really delayed.

I bought the P6 because it was designed to Google specs and Nexus updates are usually immediate.

I also have the Stacked Cards app running on my Nexus 7 (2013) running Android 6.0.1.  Runs well... no issues.

Sorry I can't be of more help other than confirming other Android devices.

[Forge] Clickable SectionExpandable

$
0
0
This component is similar to SectionExpandable of WebPatterns, but it is clickable, that is, it allows you to click on the entire component and, based on the key and the Notify event already required by the component, allows you to update the contents of the detail and another page that Wish. Please note that are a project showing how to implment this plugin.

[Forge] Clickable SectionExpandable Demo

$
0
0
This is demo for component https://www.outsystems.com/forge/component/3160/clickable-sectionexpandable/

[Forums] Change the Session logged In User ID

$
0
0

Dears, 

I'm Developing a task which is to make proxy login, ex: A man login as his father or his wife and vise versa

The first idea came to me is to change the the session user Id because all the modules was developed with the GetUserId() system function which returns the logged In user Id that is saved in the login session state.

So is it available to change the current user Id in the runtime or it is managed by OutSystems ?! and if no please help me finding a solution. help will be very appreciated. 


Thanks
Best Regards,

Al Mokadem

[Forums] Change the Session logged In User ID

$
0
0

Hi Mohamed,

Take a look at action User_Logout, User_Login from Users module and Login from System. I think it can help you.

Regards,
Samuel


[Forums] Build APP and Communication

$
0
0

Hello Tiago.

The mobile applications use the hostname that is configured in ServiceCenter (Administration -> Environment Configuration -> Hostname). The https is, indeed, a requirement as far as I know. Without HTTPS your users will be vulnerable to man in the middle attacks, so even if it was possible to turn it off, I would highly advise you against it.

If you want some part of your app to behave differently when you are inside your organisation's network, then you could customize the DNS entry inside your organisation to point the same hostname to a particular frontend. Another option, which is not as reliable, is to detect the client's IP address and based on that check if it is inside the network.

[Forums] App works differently on different devices

$
0
0

Hello Hafsa. Which android version do you have?

Could it be that the hardware is not powerful enough to smoothly render the card swipe? Maybe you have too many cards or too many information on your screen, thus exhausting the RAM and degrading the performance of the card swipe?

If you could record the problem and send us a video clip, that would allow us to identify what the problem might be.


Mobile apps, both on iOS and Android, run using Cordova, which should guarantee no differences in behavior because the rendering and scripting engine is the same on all devices.

[Forums] Change the Session logged In User ID

$
0
0

Hello Mohamed.

Use the Login action from System module to change the UserId of the logged in user. This action only requires a UserId, though, so your application will need to make sure that the current user has rights to impersonate the new user.

The User_Logout and User_Login, as suggested, would also work, but they require the username and password of the new user. On most impersonation use cases the password of the new user is not given.

[Forums] Does the try page still works?

$
0
0

The component only works after a site property ShowCompressedViewstate is set to True. Presumably, the author didn't toggle this flag, and that's why the demo page appears blank.

However, the component still works, so you can download it and publish on your environment. Just remember to change that site property.

[Forums] Expose Rest - Set HTTP Security

$
0
0

Hello Karin.

The actions that you mention - ClientCertificateGetDetails and ClientCertificateGetValue - are only useful when using Client Certificates (which is an advanced setup of SSL meant to authenticate both the server and the client).

Your service should work just fine in postman. So I will ask you to try and access a regular screen (not a rest service) with HTTPS in a regular browser, and see if you have any error on that case. If you have a self-signed certificate, as is suggested in the message that you get, then you will have to replace it with a trusted certificate, or choose to trust the self-signed certificate on all machines that are clients to that REST service.

Viewing all 1476385 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>