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

[Forums] Debugging foreign key issue

$
0
0
Hello,

I have been following the tutorials, and I must have made an error along the way, now getting an error on INSERT with foreign key issue.
I thought this was a good opportunity to learn how the debugger works, so have set up some break points and trying to step through the problem.
My trouble is, it seems that there is a discrepancy in the filter because the relationship has some error.
How can I see the actual INSERT statement that is being executed?  I only know there is an INSERT from the error message, but cannot figure out how to look at the actual SQL statement.
This is the error message coming up, in Save command.
The INSERT statement conflicted with the FOREIGN KEY constraint "OSFRK_OSUSR_L2M_ORDERITEM_OSUSR_L2M_ORDER_ORDERID". The conflict occurred in database "K1VTXU003", table "dbo.OSUSR_L2M_ORDER", column 'ID'.

Please advise.

[Forums] HTTPPost - connection refused

$
0
0
Hi,

when I open a site with the browser on the server it works.
yet when I post to the same url with HTTPPost I get a "machine actively refused it"

I find this a bit strange, so I am wondering what the problem would be..

[Forums] Sending SMS activating code.

$
0
0
hell Outseystems Famliy please help me on how to send SMS after regestering an Account.

get SMS activation code

[Forums] Rich Widgets not working after deployment

$
0
0
Hi Francisco,

Did you check in Service Center whether there are any broken references? Did you check whether there are any error messages logged?

[Forums] field width

$
0
0
What type of data are you capturing in these fields?

[Forums] Debugging foreign key issue

$
0
0
Hi Yokho,

The only way to get to the actual INSERT statement is to use tooling of the database. However, you shouldn't need to do that in this case.

As you can see from the error message, there's a foreign key constraint conflict. This means that you try to INSERT a record (i.e. create a new one) that has an identifier of another table as one of its attributes, but that attribute is not filled correctly (i.e. either empty but it's mandatory, or filled with a value that does not exist in the referenced table).

Judging from the error message, you are trying to Create an OrderItem, but the mandatory OrderId is not filled correctly. You probably left it empty?

[Forums] Sending SMS activating code.

$
0
0
Hi Managa,

To send an SMS you need an SMS provider. It'll depend on the specific provider how to interface with it. There's no out-of-the-box way for that.

[Forums] The feedback message doesn't close

$
0
0
Is there a way that we can have access to the code for the feedback so that we can control it?

[Forums] Rich Widgets not working after deployment

$
0
0
Hi Francisco,

Are you using HTTPS in production server? Take a look at the console in the developer tools of your browser and see if there is some error related.

[Forums] low resolution on desktops

$
0
0
I end up solving this issue.
On espace SilkUI framework  Version 1.4.1, on SilkUICommon web block need to change the init function.
The logic doesn't take in consideration the size of the screen because is hardcoded "Desktop" instead of using function that.getDevice() responsable to check width of screen.

 } else {//Device is desktopthat.setCookie(cookieDeviceName,that.getDevice());
//Before that.setCookie(cookieDeviceName,"Desktop");

First time a browser opens silk framework saves a cookie named DEVICE_TYPE containing the type of screen, so for clients that opened screens before this fix and have resolution below 1024 need to update this cookie (I forced this cookie temporarily to be always updated ).
 
 
 

[Forums] Old values in EditableTable

$
0
0
Hi Stanley,

I'm not sure I got it right... Could you explain your scenario a little better? Which widget are you using? How are you binding it?

[Forums] Change company name in profile

$
0
0
We're working on a solution that will address this issue for good: you'll be able to detach yourself from your old company without having to contact OutSystems or your previous employeer.

Idálio was already trying this out when he stumbled on that bug. Idálio, we're almost there! :)

[Forums] how to jump to or highlight a specific field on screen

$
0
0
I see that sometimes a pop-up form opens, but the first field is not highlighted.

Also, I would like to jump to a specific field on screen based on some on-change logic on another field.

Is there a logic/function that allows me to go to a specific field?

Thanks

[Forums] Rich Widgets not working after deployment

$
0
0
Hi Kilian and André, 

Thank you both for your answer.

Regarding Kilian's sugestion:  

Yes, I've checked and I don't have any broken referenced. I have also pubished a solution with all these components to ensure that the references were healed and the solution was published successfully. And I don't get any error messages as well..

Regarding André's sugestion:

It seems that I get some errors there indeed! Going to check that out.

Thanks guys!

[Forums] Old values in EditableTable

$
0
0
I have an EditableTable using a data source from an aggregate. In the EditableTable said I have a text box to display the value of the associated column. When the user made some edit on the row and triggered the RowSave action, how can I get the original value of the text box/column? I need it to compare with the typed value to detect if the column is changed.

[Forums] Refreshing a page periodically

$
0
0
Hi guys.

I would like to periodically refresh a page. I have a variable that determines the frequency. Its a session variable. But no matter the default value of the session variable  it always fires the true part.

The script is below. Any advice would be appreciated.

functionRefreshMaintainIncidents()
    {varIsHyperRefresh='<%= Session["IsHyperRefresh"] %>';if (IsHyperRefresh)
        {setTimeout("location.reload(true);", 1 * 10000);
        }else
        {setTimeout("location.reload(true);", 1 * 60000); 
        }
    }RefreshMaintainIncidents();

[Forums] Agile search for agile jobs

[Forums] Send a variable when you click on a link

$
0
0
Hi Viegas,

Do you now how can i send a variable on each one of the specific link?

"<h2>"+MainTitle+"</h2><span>"+SubTitle+"</span>"

You probably want to break that down into 3 different expressions:

"<h2>"+Option1+"</h2>"
"<h2>"+Option2+"</h2>"
"<h2>"+Option3+"</h2>"



Each link will bring the user in the same page but the information showed has to consider a specific variable that has an ID that will filter the content.

Now I can create the link, I can edit the text, but how can I had a variable?

For Example Option1 will bring the user into the page products and I need to let that page know that It has to show that product1.

Thanks for the help!

Simone

[Forums] How to send if possible push notifications in OutsystemsNow?

$
0
0
Hello Mykola.

The free version should be enough, but keep in mind that it has lots of limitations.

Thanks

[Forums] Decimal data types - Query?

$
0
0
The bug was introduced in 9.0.1.55 and 9.1.300.0, it's caused by #1105735 (see here). We still have no word on when it'll be fixed.
Viewing all 1476385 articles
Browse latest View live


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