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

[Forums] Dynamic sort on an Aggregation

$
0
0
Cool, didn't know it worked like that. +1!

[Forums] EditableTable save record onblur

$
0
0
Hi Homero,

Instead of editabletable, you can use normal tablerecord and use textbox for editable fields and on onchange event you can call the desired action.

Thanks,
MJ

[Academy] 6.1 Silk UI: from basics to advanced (Webinar)

$
0
0
Where do I get the images from ?

[Forums] Testing with continuous integration

$
0
0
Hello Guys,
 
I want to have a system that when i make a deploy runs a set of defined tests and if only those tests run and are successful, it exports that to JIRA.
I don't want only interface tests, like Selenium, i know that i can use Test Automator for that Purpose.
Is it possible to have a system like that?
 
I have tested several things from the Forge like:
 - Unit testing Framework
 - BDDFramework

Thanks for helping :)

[Forums] EditableTable save record onblur

$
0
0
Hi Homero,

You really should bug your collegues to fix all these annoying Editable Table bugs :). That said, this doesn't seem like a bug. You are trying to save on an onblur, because you put the data in a web block, and don't have the Save button in the web block. That seems to me a design failure :).

Did you check out the Event System Forge component? You may be able to send an event from the Save button's handler to the web block, so you can save in there.

[Forums] Testing with continuous integration

$
0
0
Hi Nelson,

You can create a timer that fires on publish, and then do the checks. The main problem would be that the entire deploy must be finished before you do the checks. You could have the timer check for the deploy to be finished (do I'm not sure how), and if it isn't, restart itself after a few minutes?

[Forums] User Defined Table Layout

$
0
0
Hi Jinji,

You can't rearrange columns with the Platform, so that's ruled out. You can however hide or display columns: just conditionally set the display of the column to none (via extended properties, style). The downside is that the whole table is rendered including all the non-displayed data, so it might be slower than the user would expect based on the data displayed.

[Forums] Testing with continuous integration

$
0
0
Kilian Hekhuis wrote:
Hi Nelson,

You can create a timer that fires on publish, and then do the checks. The main problem would be that the entire deploy must be finished before you do the checks. You could have the timer check for the deploy to be finished (do I'm not sure how), and if it isn't, restart itself after a few minutes?
 
 Are you saying that i can use a timer, that after publish run the tests, present in a Unit testing Framework sample, right?

I have right now a test written with the use of Unit Testing Framework. But that is written and hosted in a different eSpace than my solution. Is possible to call that test from a timer inside my solution?



Thanks

[Forums] How to set a dynamic tag cloud

$
0
0
Hi Jorge,

Unless you have some javascript that does what is shown there, you can't. Note that it is a WP plugin, one that doesn't seem to exist anymore (note the link is eight years old).

[Forums] Testing with continuous integration

$
0
0
Hi Nelson,
Dont think there is something alreday available for such scenerio but we have JIRA connector available in forge so you can collect ur unit test result and may be use JIRA connector to push them in JIRA.


Regards
-PJ-

[Forums] Trouble passing Entity ID from Action Script to a Web Screen Preparation

$
0
0
Hi Mark,

What do you mean by "action script"? Pramod probably has the solution if you're clicking on a link, but I'm not sure whether you are. Also, it would help if you could attach a simple example eSpace that exhibits the problem, like Manish said.

[Forums] Can we add new list record widget dynamically according requirements.

$
0
0
Hi Amit,

You now see the danger of asking two questions at once - you'll only get a single one answered :).

First, all widgets are added design time. You can hide and then show a widget, but you can't dynamically add widgets - with one exception: put a widget in a web block, and put the web block in a Table Records. If you add a row to the Table Records (by adding a record to its List and Ajax refreshing it), you'll have a new row, with a new web block, that you can populate.

Secondly, I've never seen an Ajax wait on a feedback message. Does this also happen when you design a minimal eSpace that contains the code that triggers this behaviour?

[Forums] Testing with continuous integration

$
0
0
Pramod Jain wrote:
Hi Nelson,
Dont think there is something alreday available for such scenerio but we have JIRA connector available in forge so you can collect ur unit test result and may be use JIRA connector to push them in JIRA.


Regards
-PJ-
 
 Thanks, i already took a look to JIRA connector, but i really need is a way to automatically run the tests after the deploy using a framework that already exists.

[Forums] The specified path, file name, or both are too long.

$
0
0
Hi Valerij,

I don't think it's the aggregate that causes this problem. The error you are getting points to a file name being too long, and I've never seen aggregates pop up as source files, only action names. What makes you think it's this specific aggregate that causes this problem? What if you delete it (and any references to it) and republish?

[Forums] Am I in a trap ? What are the benefits of using single pk supplied by OS platform ?

$
0
0
Hi Luciono,

Platform 9's Long Integer is a 64 bit integer, not a 32 bit as you seem to assume. That means its value goes to 9,223,372,036,854,775,807 (if signed, I'm not sure whether the Id uses a signed or unsigned value), so I doubt you have a use case that would exceed such a high number (I even doubt you could add records quickly enough to have it exceed that value during your lifetime :)).

That said, if you really do not want an auto number, why not delete it, and create a manual unique index over the two (or more) attributes you want as a key? Wouldn't that be effectively the same as a composite key?

[Forums] Detach Evaluation

$
0
0
Hi,

I am looking to evaluate the detach functionality of Outsystems using the No-lockin tutorial.

Steps Followed:

1) Detached the code
2) Published the Code
3) Create an AWS instance with required configuration to host the Detached App on it
4) Took a backup of databases "outsystems" & "osSession" from on premises server and imported into sql on the aws server & checked the login permissions for all users such as  OSADMIN, OSSTATE...

5) Hosted the app on IIS
6) Made changes in the machine.config file by including <appSettings> tag and declaring the connection strings

But I get an error for OSSTATE login as:
'Cannot open database "ASPState" requested by the login. The login failed. Login failed for user 'OSSTATE'. '
 
Is there a database called ASPSTATE? If yes, where can I find this on on-premises server? 

Have run SQLPROFILER and this Seems to be a problem with connecting to the database ASPSTATE 
Have debug the code to see that the connections are closing as soon as they open


private IDbConnection GetConnection() {
            IDbConnection conn = null;
            try {
                conn = GetConnectionFromDriver();
                conn.Open();
                return conn;
            } catch {
                if (conn != null) {
                    conn.Dispose();
                }
                throw;
            }
        }


Any help regarding this issue is appreciated. Have been trying this since for a while.

Please let me know if there is something that I'm missing from above 

[Forums] The specified path, file name, or both are too long.

$
0
0
Kilian Hekhuis wrote:
Hi Valerij,

I don't think it's the aggregate that causes this problem. The error you are getting points to a file name being too long, and I've never seen aggregates pop up as source files, only action names. What makes you think it's this specific aggregate that causes this problem? What if you delete it (and any references to it) and republish?
Error appears after adding two new sources to agregation (both cases are geting data from already existing in query table but with different condition).If I remove a couple of sources from agregation no error occures during publishing.
 

[Forums] The specified path, file name, or both are too long.

[Forums] EditableTable save record onblur

$
0
0
Hi, thanks for your comments, we are actually going with a solution similar to MJ's, but instead of having a normal table record, we will catch the onchange event on the text inputs inside the editabletable.

Also thanks Kilian for the headsup on the Event System, we might consider it in future develoments.

[Forums] Testing with continuous integration

$
0
0
Hi Nelson,

You can run a timer once after publishing an eSpace, it's part of the timer's Schedule property:


As it's a timer, you can do whatever you need to do there. The main problem is that the timer will start as soon as your eSpace is published, but I'm not sure what happens when you are publishing an entire solution (either via Service Center or via LifeTime) in terms of when the timer will run. I would assume it runs after the entire solution has been published, but you'd need to test that.

Viewing all 1476385 articles
Browse latest View live


Latest Images

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