News & Activity Feed

Tutorial: Barcodes, QR codes, and RFID tags »
Learn to create the Order Entry Form that works offline and online. The form will handle barcodes, QR codes, and RFID tags. The tutorial explains how to calculate the default values, extended price, and order total.
Thursday, June 4, 2020 10:30 AM | Dries De Backker
In my project, I have a controller based on a database view. When I display it as a grid dataview, the default behavior of a row selection is the appearance of the sidebar with the row fields. I just want the row to be highlighted in the grid instead. How can I make it so?
Thursday, June 4, 2020 10:13 AM | Saz
modal-always tag not working on data view in child page. I am using the following tags on the data view.

modal-always modal-fit-content modal-max-xl

Any help would be greatly appreciated.

Using TouchUI, Unlimited 8.9.5
Thursday, June 4, 2020 9:34 AM | Saz
Hi Cot, In custom search implementation, I am trying to assign default value for the parameter using JavaScript but I am getting the below error. what am i doing wrong?


if ($row.StudyPeriod is null) {
this.preventDefault();
// update field value to all
$app.input.execute({
values: [
{ name: 'StudyPeriod', value: 'all' }
]
});
// focus on the field
$app.input.focus({ fieldName: 'StudyPeriod' });
}




Using TouchUI, Unlimited 8.9.5
Thursday, June 4, 2020 7:32 AM | Saz
Hi Cot, Custom Search do not work within Standard Dashboard. You can try implementing that in your Standard Dashboard example you will notice the issues.

I am trying to custom search in my dashboard for a controller, but it is not working. The stored procedure do not get executed and no result is showing.

Custom Search - I used below video tutorial
https://www.youtube.com/watch?v=ClCHL...

Standard Dashboard - I used below video tutorial
https://www.youtube.com/watch?v=wVyc0...

I am trying the achieve the below, which is part of a Standard Dashboard created using the above tutorial. But unfortunately the no data is getting populated.



Using TouchUI, Unlimited 8.9.5
Wednesday, June 3, 2020 12:06 PM | Dries De Backker
I'd like for one of the fields of my grid to function as picklist displayed above the grid in order to filter the rows. Could anyone be so kind to explain how one achieves this or point at the relevant documentation?
Wednesday, June 3, 2020 6:59 AM | Dries De Backker
When working with master-detail, how can you join the fields of the selected master row with the fields of the filtered detail rows? Is it possible for instance to access the filter fields directly? Or do you have to implement something along the lines of https://codeontime.com/learn/business...? In case of the latter, how can you let an action from the master controller trigger the business rule from the detail controller?

P.S. my aim is to use fields from both the selected master row as a selected second-level detail row to filter the rows of a third-level detail.
Tuesday, June 2, 2020 6:58 PM | Paul
This use to be OK but seems like a regression bug. The dropdown arrow always in wrong place when there's more than 2 already on the many-many field

Tuesday, June 2, 2020 6:10 PM | uremovic
Hi!

I need to insert one div element (lane or band) with some info on the top of the application. I have tried to do so in master page after the body element. It shows ok, but menu and other elements are overlapping with it.
Then, I have tried to modify css of menu lane/band with:
.app-bar-toolbar {
top: 60px !important;
}
This works ok, but other elements are overlapping with this now.

Is there any "easy" way to insert custom html element on the top of the application - before all other elements (they should be slide down on the page)?

Thanks.

Tuesday, June 2, 2020 4:27 PM | Abner Ernesto Rodas Arriaga
Hello partners!,

I have a problem, I don't know if I'm doing it wrong, but it turns out that I'm trying to pass a parameter to a grid as follows.

Inside my controller called Vehicles, I am setting a context parameter for it.



But it turns out that when filtering the grid view, it does not capture the contextualized field.



The field returns a null value and does not perform the required function.
note that I am doing this with a many to many relationship, but I would think that it should not cause me any kind of error.

As shown in the image, the filter does not generate me.

Tuesday, June 2, 2020 10:48 AM | altVader
I created a user control with a button:

<!--
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Sign me up!"/>

Then I added code behind the button:

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
'If this gets hit, server code is running behind button and can create login
End Sub

-->

Run the app, click the button but the code never gets hit. Urgent, need guidance please.
Tuesday, June 2, 2020 8:56 AM | Saz
Please guide me on how to disable the 'Group' option that comes in the popup window when clicking on a column header. Please see image.

Tuesday, June 2, 2020 7:55 AM | Dries De Backker
Is it possible to place multiple grids next to each other horizontally when the page width is sufficient to do so?
Tuesday, June 2, 2020 5:11 AM | roberto.ivon
Dear CoT:

It has been more than two weeks after 8.9.5 has been released. Many bugs were fixed, but new ones arouse and were promptly reported. In my case, particularly soft filtering. Will there be an early hotfix or should we wait for the great new feature in order to get our legacy touch ui apps to be in usable for off line data processing?

Best regards,

Roberto.
Tuesday, June 2, 2020 1:55 AM | Saz
Hi Cot,

My Chart data is showing the data in below format. I want to add an aggregate column which as "Total" = "1" + "2" + "3" + "4" + "5". Please guide me how to do that.



Using TouchUI, Unlimited 8.9.5
Monday, June 1, 2020 8:44 PM | Boyd Hartman
I have twelve fields each representing a month of the year. I also have a Year1 field that sums up the data in each of the twelve months.

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec = Year1
1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 12

I am using a business rule with C# (see below)

When I insert a record, using each instance above (COT and Spreadsheet) the calculation works and 12 is populated in the grid.

The problem I am having is when I go to edit the record. I can make changes to the months and the change is recorded in the edit window BUT when I save the record the 12 is retained instead of the new number. When I re-open the record, even though the month changes are still in tact, the 12 is on the edit record.

C# for Business Rule

///
[Rule("r101")]
public void r101Implementation(AfpoperatingExpenseUploadModel instance)
{
decimal RowTotal = Convert.ToDecimal(instance.Jan)
+ Convert.ToDecimal(instance.Feb)
+ Convert.ToDecimal(instance.Mar)
+ Convert.ToDecimal(instance.Apr)
+ Convert.ToDecimal(instance.May)
+ Convert.ToDecimal(instance.Jun)
+ Convert.ToDecimal(instance.Jul)
+ Convert.ToDecimal(instance.Aug)
+ Convert.ToDecimal(instance.Sep)
+ Convert.ToDecimal(instance.Oct)
+ Convert.ToDecimal(instance.Nov)
+ Convert.ToDecimal(instance.Dec);

instance.Year1 = RowTotal;
Monday, June 1, 2020 3:19 PM | Drain
Have 7 tabs on an input form, only 1 requires special layout (mainly buttons\actions).
Documentation only lists classic layout as example, do Category Templates work in Touch UI?

Prefer not to build entire custom page layout if I can avoid it.
Monday, June 1, 2020 9:59 AM | Saz
I am building a line chart based on a date field and I do not want the date field to be grouped by year/month/week. So I have only used the tag:

pivot1-row1-line-sort

I have got that working it shows the chart by date as I wanted, however it shows time with it which I do not want. How to remove the time. Please see below image:

Monday, June 1, 2020 6:26 AM | Saz
How to order date values as descending in a date field. The below image shows an example and I would like the date values to be descending.

Sunday, May 31, 2020 3:35 AM | sdms
A friend of mine recently purchased COT Unlimited but cannot sign up for this forum as there appears to be an error on the signup form so I am posting this on his behalf.

My friend is seeking assistance with COT for someone to assist him with some of Code on Times functionality etc. He is willing to pay for the assistance. If interested please email Eranga at aeranga@gmail.com to discuss terms etc.

COT, are you aware of an issue with the signup form for this forum, I am getting a reCAPTCHA error - ERROR for site owner: Invalid domain for site key.
See All Posts