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

[Forums] Running a feedback_message before a download

$
0
0

Great! Glad you got it working!

Yes, the container with display property works well. Note, that you can also set the style property of the button to "display:none" as in the sample OML


[Forums] Check any app is installed in mobile

$
0
0

mohammad hasib wrote:

assif_tiger wrote:

Hi Hasib,

Are you telling from an Dev point of view or You just want to check within a device itself.

Programmatically for Native Android :

You have to use the package name / class directly, for example to create a new intent to call the twidroid program you'd use the following

 Intent intent = new Intent("com.assif.myApp");

You'd probably want to put a try/catch around for a ActivityNotFoundException for when the application is not installed.

Programmatically for Native iOS  :

You'll need set a custom URL scheme in your second app for that.


Outsystems  :

Use this Plugin

https://www.outsystems.com/forge/component/2622/applauncherplugin/



Cheers,

Assif


Hi Assif,

I am talking of development point of view and wanted to check in a real device through my application.

Suppose i need to check in my app that XYZ application is installed or not.

Regards,


Hello Hasib,

Yes by the shared plugin, You can check if it is possible do launch an application and launch them through URI (iOS & Android) and Intents (Android).

So through the check you can evaluate your respective action in mobile app.


thanks

[Forums] Running a feedback_message before a download

$
0
0

Hanno wrote:

José/Joseph

You mentioned the widget click approach. Have you tried this? This approach will work.

1. Implement the feedback message and widget click. Widget click "clicks" a button Named Download.

2. Download button fires screen action Download when clicked and serves the file to the client:

Hope this helps.

Hanno

Thank you for your suggestion and explanation :) 

* EDITED * I've got this working! 

I was using property visible to make button invisible! Should instead enclose in container and use display property!
Thank you very much for your kind explanation!


[Forums] Running a feedback_message before a download

$
0
0

I have quickly built a sample OML for you.

[Forums] Running a feedback_message before a download

$
0
0

José/Joseph

You mentioned the widget click approach. Have you tried this? This approach will work.

1. Implement the feedback message and widget click. Widget click "clicks" a button Named Download.

2. Download button fires screen action Download when clicked and serves the file to the client:

Hope this helps.

Hanno

[Forums] InternalError solved

[Forums] InternalError solved

$
0
0

Hey guys,

So I came across what is called an InternalError today in my project (Web App). Luckily, it was a simple fix in my case. I searched on the Forums and it doesn't seem that anyone has posted about this particular error that I was having so I thought I would make one. Keep in mind that there are several reasons you could be getting an InternalError. I am just going to be describing ONE of those possibilities. 

In my case, within my Webscreen I have a local variable UserRequestId that is type UserRequest Identifier (I have an entity UserRequest). I have an Expression widget connected to this variable which displays the Approved attribute of the UserRequest, which is 

GetUserRequest(UserRequestId).UserRequest.Approved


Now, you may already see why this could become an issue. In my Preparation, I don't assign UserRequestId any value so it is just Null. Therefore, when GetUserRequest() tries to use this variable to retrieve the information of the record, it can't. This is why when I would try to load this screen I would get an InternalError, which didn't provide any description of why the error was occurring or give any hints. Luckily, it didn't take me long to realize the stupid mistake I had made, but something like this could be hard to track down especially if you had made a bunch of changes to your project all at once. 


I hope this post helps! Please let me know if you have any questions. I tried to describe things the best I could.


Regards

[Forums] Introducing collectables 1/3 - real world badges

$
0
0

Mário Araújo wrote:

(...)

P.S. Wondering what the 1/3 stands for - subscribe this thread and keep checking back here for more details. 

Hi Mário,

I'm still curious, are you able to reveal to us already what the 1/3 stands for? :D

Cheers!


[Forge] Epoch

$
0
0
Retrieves the current epoch (Unix timestamp in seconds) and converts an epoch to a date and time value

[Forge] MeidaPlugin

$
0
0
This module wraps cordova-plugin-media into OutSystems eSpace.

[Forums] Open to ideas for improvements

$
0
0

Hi João,

As example, I want to login to Jira and I go to my password manager. There I can see my username, password, and a link to Jira. I can click the link and a new page is open.

Regards,

[Forums] how to add comments in a page

$
0
0

José Lopes wrote:

Ankita Jaggi wrote:

Eduardo Jauch wrote:

You CAN'T save a comment BEFORE creating a new Passenger.
And if it is a NEW passenger, even after you create it, the value in PassengerId (the input parameter) will still be zero.

So, you have to guarantee that no comments can be added to the passenger before it is created, and guarantee that the input parameter PassengerId is updated with the ID returned by the CreateOrUpdate action that saves a new record in Passenger.

Cheers.


Can you please ellaborate a little more and how to update the PassengerId


What Eduardo is saying, is that you need to have a Passenger already created, so that you can have a PassengerId to create a comment!

The most likely problem, Eduardo is keen to point, is that the value of PassengerId (screen input) is not updated after creating the Passenger.. This means, you'll be assigning a null Id to the PassengerComment you're trying to create!
Are you experienced with debugger? Could really help you here :) 

Add a breakpoint there (click right button), start debugging, in tab locals watch PassengerId value :) 

Good luck



Yes passengerId is comming null then what should I do?

[Forums] The INSERT statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_71O_PASS

$
0
0

José Lopes wrote:

Akanksha Pandey wrote:

hi,

please explain the meaning of this error and i wanted to save the comment in the input box when the save action is performed  after save button is clicked but I am getting the above error.The comment is not getting save in the entity.

I have two entities Comment which having (comment and PassengerId) and Passenger entity .

I want to save the Comment and aftr clicking the particular passenger that comment should be present there.

1st page:

 2nd page:

3rd page:


4th page:


Please someone help to resolve this issue.


Thanks

You have to assign the PassengerId to the PassengerComment record being created :)


I have already done but itsnot comming. The error is there.


Please solve this issue.


[Forums] Open to ideas for improvements

$
0
0

Hi Marco, what do you mean by online resource? Can you provide a couple of examples of use cases?

[Forums] [HERE-API] showing a blank map in outsystems but working on a HTML file

$
0
0

Hi Jonathan, sorry about that.

The component is now fixed and the version 1.1.0 is available.

Thank you for letting me know, and enjoy it!


[Forums] Dependencies don't load

$
0
0

Hi Wim,

Thanks, but even with this new version the issue still occurs. And it only happens when refreshing references in a mobile app (popup loading references stays in loop). Does not occur when refreshing references in a web app. Only solution is to close service studio by task manager.

Kind regards,

[Forums] Outsystems V11 - my apps infinite load

[Forums] How To Execute Stored Procedures

[Forums] New EncryptPassword is using salt, any way to validate current password?

$
0
0

Guys,


I know that this is marked resolved. However, I just wanted to note that, like Harlin, I was storing a temporary password as well in the same manner. This functionality was working perfectly until I upgraded to OutSystems 11 for the latest release of OutSystems 10. I wasn't aware that this change was made prior to OutSystems 11. I'm sure the ValidatePassword suggestion will work for me as well.


Love the community!! :-)

[Forums] Submitting a form with conditional drop down list and adding them in two databases

$
0
0

José Lopes wrote:

Marc Suarez wrote:

I'm having trouble with submitting a form with conditional drop down lists. The conditional drop down lists are using a database on its own. I just want to submit the values on the dropdown lists on its own into the form but i really can't grasp on how to do it. Plus i would also like to submit it into 2 different databases. like FormSubmit database and formbackup database

Hi Marc, 

Can you please put your doubt into a little more detail? :) 

What do you mean by conditional drop down lists? Also, you want to submit them into 2 different databases, but what type of record are you creating in each? 

Hi! Sorry for the late reply, I went to sleep after. 

So i have two drop down lists.

Both are taken from databases. One database holds all the types of groceries. The other subtypes. I wanted to see if I could be able to press the button and submit them into 2 new databases. They would be names FormSubmit and FormBackup. But yeah, my problem is that I'm not able to really figure out how to submit it or create a record into just even one database. 


Thanks for the help!

Viewing all 1476385 articles
Browse latest View live


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