Hi,
I have made Extension of Payroll workspace then added Tile Button on Payroll Workspace

Proj missing timesheet is my custom tile.
Tile Button is linked to my custom Form i.e PayrollWorkspaceWorkerMissingAllTimesheetsPart
Form Named as 'PayrollWorkspaceWorkerMissingAllTimesheetsPart' is having datasource XYZ_ProjMissingHourRejView which is custom View 'ProjMissingHourRejView' made from AOT Query 'XYZ_ProjMissingHourRej ' (which is Duplicate of AOT Query out of the box Report
AOT Query Named ProjMissingHourRej)

Records are getting flitered using range which applied on Datasource XYZ_ProjMissingHourRejView in init method after super
Made Extension of Payroll workspace
Button Tile on Payroll Workspace
Tile Button is linked to my custom Form
Form Named as 'PayrollWorkspaceWorkerMissingAllTimesheetsPart' is having datasource XYZ_ProjMissingHourRejView which is custom View made from Custom AOT Query (which is made from AOT Query out of the box Report
AOT Query Named ProjMissingHourRej
Records are getting flitered using range which applied on Datasource XYZ_ProjMissingHourRejView in init method after super
[DataSource]
class ProjMissingHourRegView
{
///
///
///
public void init()
{
super();
select PayrollPayCycleId, PayrollPayPeriod from payrollWorkspaceParameters
where payrollWorkspaceParameters.UserId == curUserId();
select PeriodEndDate, PeriodStartDate from payrollPeriod
where payrollPeriod.RecId == payrollWorkspaceParameters.PayrollPayPeriod;
this.query().dataSourceName(formDataSourceStr(XYZ_PayrollWorkspaceWorkerMissingAllTimesheetsPart, ProjMissingHourRegView)).addRange(fieldNum(ProjMissingHourRegView, PeriodFrom)).value(SysQuery::value(payrollPeriod.PeriodStartDate));
this.query().dataSourceName(formDataSourceStr(XYZ_PayrollWorkspaceWorkerMissingAllTimesheetsPart, ProjMissingHourRegView)).addRange(fieldNum(ProjMissingHourRegView, PeriodTo)).value(SysQuery::value(payrollPeriod.PeriodEndDate));
}
}
I need to show Count on Tile button, which is of type count which is on workspace (Extension of Payroll workspace) Via Code,
I have used following link for Guidance
https://axtechsolutions.blogspot.com/2018/05/how-to-change-tile-count-at-runtime.html
But in that link, He is using custom workspace but, in my case, I am using extension of Payroll Workspace and I am unable to make override getData() method of that tile button because it is extension of out of the box Payroll workspace.
How can I do it ?