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

[Forums] Database Upgrade Error

$
0
0

I added a few Entities and one of the entity is named as Employee.

When i first created it, i leave the ID attribute and data type as default. Then 10 minutes later, I changed the ID attribute to 'User Identifier' data type and I encounter an error.

"Database Upgrade Error
Column 'OSUSR_3SL_EMPLOYEE.ID' exists in database as Long Integer (Autonumber) but the new version is defined as Integer (INT). Database Autonumber columns can not be changed."

There are two files in the zip attachment. EmployeeManage_Core and 2019-02-03_1740.swf. The latter is created using Jing to show you how I bump into the error.


How can I use UserId() system default entity in my app? The users are created in http://curio.outsystemscloud.com/Users


[Forums] attachments download link listed one line , how to do ?

$
0
0

Hello Jack.

This is what we call a LIST inside a LIST, where you have, probably, a master entity (your record line) and your detail entity (with the links), os a structure list with each record with a list of links.

In any case, you need to use a block with a second list, and place it inside the first list, passing through input parameters the information necessary to the block to fill its list (through passing a list itself, or an id that can fetch the data from an entity, etc).

You have many questions like this in the forum. Some examples.

https://www.outsystems.com/ideas/5154/mobile-extensibility-configurations-per-environment-on-lifetime-or-service-center

https://www.outsystems.com/forums/discussion/40028/show-the-list-inside-the-nested-according/

You could also do this with a single SQL, but this is not very maintainable and I would advise to avoid it. 

Hope this helps.

Cheers

[Forums] managing dev, test and production versions of a mobile application on dev devices

$
0
0

Hello Paul,

I am not sure, but I think the app icon must be bundled with the application through an archive in the app resources.

https://success.outsystems.com/Documentation/10/Delivering_Mobile_Apps/Customize_Your_Mobile_App/Modify_the_App_Icon

Being that the case, it is not possible to have different icons for different environments as it is not possible to have different extensibility configurations per environment, even if there is already an idea for that: https://www.outsystems.com/ideas/5154/mobile-extensibility-configurations-per-environment-on-lifetime-or-service-center

And one specific for the icon: https://www.outsystems.com/ideas/3191/specify-application-icon-per-environment-mobile

A possible workaround would be to identify the environment and show the information in the application (at least if the application is not in production) like it is suggested here: https://www.outsystems.com/forums/discussion/37956/how-i-can-find-environment-name-devolopment-test-production/

Pay attention that I think this is a SERVER action, so you could force the application to have a login and on the first login (must be online), store this information on a local table and use it from there.

Cheers.

[Forums] attachments download link listed one line , how to do ?

$
0
0

HI, There, 

One record related to many attachments ,  I want fetch to one line , the format like below :

filename link1 (click to downoad)   downlaod link1 filename link2   downlaod link2 filename link3  downlaod link3

Many thanks, 

Jack

[Forums] File Plugin on latest Platform Server Development mode Version 10.0.705.0

$
0
0

Hi Kosushik,

Thanks for your help, we can save the file now, Actually my complete requirement is viewing a binary file in mobile .

After save file action im just passing SaveFile.Uri to open document of file viewer plugin .But its not working.it returns not available error.


Thanks

Pasupathi.V

[Forums] Database Upgrade Error

$
0
0

Hello Christopher,

1. After you publish an entity, you simply can't change the Identifier properties, even if your entity is empty. This is done to ensure no one is able to change an entity that is already in use in production and cause havoc there. 

2. Usually, if you need to change the ID and you don't care about data anywhere, you just copy and paste the entity, delete the old one, change the ID data type, etc, and then publish.

3. You can extend the User entity setting the ID of an entity to User Identifier (name the Id to UserId should be enough to automatically change the data type), and ONLY AFTER this is done you publish the module.

Side note: If you want to share modules or applications in the forum, share the ONL or OAP, not a zip, as this way it is not possible to install/publish them in our environments.

Cheers.

[Forums] How do you pass a Javascript variable value into Application variable?

$
0
0

Ahmed Gad wrote:

Daniel Lourenço wrote:

Hi Robert,

A Javascript variable is a client side variable that is being stored in the client browser, while an Application variable is a server side variable that is avaiable in the scope of an OutSystems action on the server when the web request is being process. The way to pass a variable on the client to the server, is to make sure that you put it in an input in the form that will be submitted to the server.

For example, to have a Javascript variable string NameJS on your screen passed to the OutSystems local WebScreen variable text NameOS, you must do the following:
  1. Create a hidden Input in your screen (it can be a text box) and give it a name (eg. NameInput);
  2. Bind the OutSystems local variable NameOS to the NameInput;
  3. Make sure that your Javascript logic writes the value of the NameJS Javascript variable to the NameInput (remember that you have the OutSystems runtime property NameInput.Id in your input that gives you the DOM Id of the OutSystems input in runtime so that you can use it in your Javascript logic);
  4. Once the form is submitted to the server (with a button or link), you will have available the NameInput value available in the NameOS local variable. As your javascript logic is writing the NameJS value to the NameInput, this means you will have have achieved your goal - the NameOS variable is holding the value of the NameJS variable.
Kind Regards,

Daniel Lourenço
OutSystems


Can you please send us an example oml because i have tried it many times but is not working with me


The input is updated but the local variable is still the same. You have to trigger it the second time for the local variable value to be updated.


Regards,

[Forums] Javascript variable to a Local Variable not updating the first time

$
0
0

Hi All,


I'am well aware that there are many threads regarding this topic but I cant seem to find a concrete solution. Going back to my issue, Im having a problem assigning a javascript variable value to my Outsystems local variable. I already did what the other thread did and that is to:

  1. Create a local variable that binds to a hidden input
  2. Create a JS variable and use the hidden input Id to assign the JS variable value

The issue in here is that, when I press the Ok button the first time, then the input is updated with the value.

But when I use the local variable in the Server action, it is not updated so my condition is not met.

Please look at my screen:


Here is my server action:


Regards,


[Forums] attachments download link listed one line , how to do ?

$
0
0

Sorry, but it is very hard to understand your question.

If you have a list that you want to show in a single line, use a List Records with the Line Separator property set to NONE.

Cheers.


[Forums] How can I adjust the baloon`s width , height and the show time ?

$
0
0

Hello Jack

It's the name of the classes you want to apply, not the style.

In any case, you need to use in CSS the .tippy-popper and .only-ballon .tippypopper selectors if you want to change the size of the popup. Another problem is that the ballon is generated through JavaScript and the element has inline style, that is very difficult to overwrite.

So, I suggest you using a different pattern if the content you want to show does not fit nicely in a Balloon, like a combination of an icon and a modal, etc.

Cheers.

[Forums] attachments download link listed one line , how to do ?

$
0
0

HI , Eduardo , 

Thank you , it seems difference . 

I want fetch attachment links in one line.     I.E

Attachment list : 

attach1  X   attach2  X   attach3 X attch4 X attach 5 X 

The attach* is  the link of the attachments.   X  is the action which it once click , it will delete the attachments. 

Many Thanks,

Jack

[Forums] Payment Option in Mobile & Web App in E commerce Project

$
0
0

Hi   I  want  payment option  in my  mobile  app &  web  app  for E commerce  project  client

1)  Without  payment  gateway link to internet banking for various banklist on mobile app

2)  Through  payment gateway which  best  for my Indian client

give  idea

Rahul Deole

[Forums] Javascript variable to a Local Variable not updating the first time

$
0
0

Hello amfufutm

When you are executing a SCREEN ACTION (the one you are showing in the image with the Start and End), this code is being executed in the SERVER, not in the client's browser.

This means that any JavaScript code you "execute" here, through the RunJavaScript, you are not executing it immediately,  but is just "preparing" it to be sent back to the Browser with the response from the server AFTER the SCREEN ACTION is executed.

Cheers.

[Forums] Javascript variable to a Local Variable not updating the first time

$
0
0

Hi Eduard,


Thank you for that explanation. I suppose i cant use my condition since the var1 value will not be updated at that time. What should be the next step so that my var1 would be updated with the latest value?


Regards,

[Forums] File Plugin on latest Platform Server Development mode Version 10.0.705.0

$
0
0

Thank you so much for your support koushik. I can save and view the files now by doing the same with  outsystems11.

Thanks

Pasupathi.V


[Forums] File Plugin on latest Platform Server Development mode Version 10.0.705.0

$
0
0

It's nice to hear that the issue is resolved.

Regards

Koushik

[Forums] Downloading and uploading application's

$
0
0

Eduardo Jauch wrote:

Hello Asha,

It is not possible to transfer applications between a personal environment and any other environment (being personal or not).

The only applications you can install in a Personal environment are those you download from Forge or the applications you share here in the forum, to provide others with your code to help you to solve problems.

Bear in mind that on both locations (Forge and Forum), you are turning your code into public code usable by anyone without owing nothing to the creator.

Cheers

Thanks Eduardo,

 


[Forums] Request: Remove espace GoogleMapsDemo from this component into a separate Demo

$
0
0

Hi!

Not critical, but it would be nice if you could remove the espace GoogleMapsDemo from this component into a separate component that it is just for demo purposes. In needs way the demo espace is not deployed to other environments.

Thanks!

--Tiago Bernardo

[Forums] Some javascript not running on IOS

$
0
0

Hi,


I'm using InAppBrowser Plugin to call HTML file that I put on resources (and deploy to target).

The HTML file is heavy on javascript, as it is an API to third party systems.

But it seems that HTML is working as intended on Android, but not working on IOS.


Do you have any suggestion on fixing this ?

NB: I cannot share the HTML file, because it is proprietary file.


Thanks


[Forums] How I can Find Environment Name (Devolopment-Test-Production)

$
0
0

Does get ServerName()  work on personal environments?

Viewing all 1476385 articles
Browse latest View live


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