This commit is contained in:
@@ -68,8 +68,6 @@ namespace AyaNova.DataList
|
|||||||
|
|
||||||
public Newtonsoft.Json.Linq.JArray GenerateReturnListColumns(List<string> columns)
|
public Newtonsoft.Json.Linq.JArray GenerateReturnListColumns(List<string> columns)
|
||||||
{
|
{
|
||||||
|
|
||||||
// var ListViewFieldKeys = GetFieldListFromListView(listViewArray);
|
|
||||||
var CustomFieldDefinitions = GetCustomFieldDefinitionsForList();
|
var CustomFieldDefinitions = GetCustomFieldDefinitionsForList();
|
||||||
|
|
||||||
//Generate JSON fragment to return with column definitions
|
//Generate JSON fragment to return with column definitions
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ namespace AyaNova.PickList
|
|||||||
AuthorizationRoles AllowedRoles { get; set; }
|
AuthorizationRoles AllowedRoles { get; set; }
|
||||||
//Default object type to open for rows of this list (use no object if no)
|
//Default object type to open for rows of this list (use no object if no)
|
||||||
AyaType DefaultListObjectType { get; set; }
|
AyaType DefaultListObjectType { get; set; }
|
||||||
//Default / STOCK DataListView when none is specified
|
//Default / STOCK template when none is specified
|
||||||
string DefaultTemplate { get; set; }
|
string DefaultTemplate { get; set; }
|
||||||
List<string> GetFieldListFromTemplate(JArray listViewArray);
|
List<string> GetFieldListFromTemplate(JArray fieldListArray);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,7 @@ namespace AyaNova.Biz
|
|||||||
//reviewable objects can have a review which is basically the same as a Reminder but with an object attached (was follow up schedmarker in v7)
|
//reviewable objects can have a review which is basically the same as a Reminder but with an object attached (was follow up schedmarker in v7)
|
||||||
//PIckList-able (has picklist template)
|
//PIckList-able (has picklist template)
|
||||||
//Pretty much everything that represents some kind of real world object is wikiable or attachable as long as it has an ID and a type
|
//Pretty much everything that represents some kind of real world object is wikiable or attachable as long as it has an ID and a type
|
||||||
//exceptions would be utility type objects like datalistview, formcustom etc that are not
|
//exceptions would be utility type objects like dataListFilter, dataListColumn, formcustom etc that are not
|
||||||
|
|
||||||
//NOTE: NEW CORE OBJECTS - All areas of server AND CLIENT code that require adding any new core objects have been tagged with the following comment:
|
//NOTE: NEW CORE OBJECTS - All areas of server AND CLIENT code that require adding any new core objects have been tagged with the following comment:
|
||||||
//CoreBizObject add here
|
//CoreBizObject add here
|
||||||
|
|||||||
@@ -394,15 +394,6 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
|
|
||||||
//Get data
|
//Get data
|
||||||
// var ReportData = await GetReportData(
|
|
||||||
// new DataListSelection()
|
|
||||||
// {
|
|
||||||
// ObjectType = report.ObjectType,
|
|
||||||
// SelectedRowIds = reportParam.SelectedRowIds,
|
|
||||||
// DataListKey = reportParam.DataListKey,
|
|
||||||
// ListView = reportParam.ListView,
|
|
||||||
// MetaView = reportParam.MetaView
|
|
||||||
// });
|
|
||||||
var ReportData = await GetReportData(reportRequest);
|
var ReportData = await GetReportData(reportRequest);
|
||||||
|
|
||||||
//initialization
|
//initialization
|
||||||
@@ -555,8 +546,6 @@ namespace AyaNova.Biz
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Report meta data
|
//Report meta data
|
||||||
// var reportMeta = $"{{Id:{report.Id},Name:`{report.Name}`,Notes:`{report.Notes}`,ObjectType:`{report.ObjectType}`,CustomFieldsDefinition:{CustomFieldsTemplate},DataListKey:`{reportParam.DataListKey}`,ListView:`{reportParam.ListView}`,SelectedRowIds: `{string.Join(",", reportParam.SelectedRowIds)}`}}";
|
|
||||||
//removed listview as it no longer exists and I don't think there's any useful purpose to it in the report javascript at this time
|
|
||||||
var reportMeta = $"{{Id:{report.Id},Name:`{report.Name}`,Notes:`{report.Notes}`,ObjectType:`{report.ObjectType}`,CustomFieldsDefinition:{CustomFieldsTemplate},DataListKey:`{reportRequest.DataListKey}`,SelectedRowIds: `{string.Join(",", reportRequest.SelectedRowIds)}`}}";
|
var reportMeta = $"{{Id:{report.Id},Name:`{report.Name}`,Notes:`{report.Notes}`,ObjectType:`{report.ObjectType}`,CustomFieldsDefinition:{CustomFieldsTemplate},DataListKey:`{reportRequest.DataListKey}`,SelectedRowIds: `{string.Join(",", reportRequest.SelectedRowIds)}`}}";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using EnumsNET;
|
|||||||
namespace AyaNova.Models
|
namespace AyaNova.Models
|
||||||
{
|
{
|
||||||
//Used to drive processes that rely on selections made at client from a datalist
|
//Used to drive processes that rely on selections made at client from a datalist
|
||||||
//either a preselected list of id's or a datalist key and listview filter object that can
|
//either a preselected list of id's or a datalist key and filterid that can
|
||||||
//be used to rehydrate a list of id's
|
//be used to rehydrate a list of id's
|
||||||
public class DataListSelectedProcessingOptions : DataListProcessingBase
|
public class DataListSelectedProcessingOptions : DataListProcessingBase
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user