This commit is contained in:
@@ -26,6 +26,8 @@ SERVER
|
|||||||
- Resource localization edit wherever possible to change "Common*" such as "CommonActive" to remove the "common" part wherever possible.
|
- Resource localization edit wherever possible to change "Common*" such as "CommonActive" to remove the "common" part wherever possible.
|
||||||
- Also check if used anywhere in client or at server and rename there too
|
- Also check if used anywhere in client or at server and rename there too
|
||||||
|
|
||||||
|
- Error messages from the API, shouldn't they be localized??
|
||||||
|
|
||||||
- CUSTOM FIELDS?!
|
- CUSTOM FIELDS?!
|
||||||
- CUSTOM FIELDS (case 3426)
|
- CUSTOM FIELDS (case 3426)
|
||||||
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3426
|
- https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3426
|
||||||
|
|||||||
@@ -186,48 +186,6 @@ namespace AyaNova.Biz
|
|||||||
{
|
{
|
||||||
var v = JArray.Parse(inObj.Template);
|
var v = JArray.Parse(inObj.Template);
|
||||||
|
|
||||||
/*
|
|
||||||
Example:
|
|
||||||
{template:[{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"bool"},{fld:"ltkeyfieldname",hide:"true/false",required:"true/false", type:"text"]}
|
|
||||||
*/
|
|
||||||
|
|
||||||
//Validate the following:
|
|
||||||
|
|
||||||
//All fields specified are valid values
|
|
||||||
//Field is allowed to be hidden if hidden
|
|
||||||
//Type is one of the valid types:
|
|
||||||
/*
|
|
||||||
public const string Date = "date";
|
|
||||||
public const string Text = "text";
|
|
||||||
public const string Integer = "int";
|
|
||||||
public const string Bool = "bool";
|
|
||||||
public const string Decimal = "decimal";
|
|
||||||
*/
|
|
||||||
|
|
||||||
//TODO: validate the json
|
|
||||||
/*
|
|
||||||
- JSON FRAGMENT holds items that differ from stock, no "core" fields allowed
|
|
||||||
- FieldKey
|
|
||||||
- Hide
|
|
||||||
- Required
|
|
||||||
- Type (checkbox, date, date time, decimal, number, picklist(FUTURE), and text)
|
|
||||||
|
|
||||||
{[
|
|
||||||
{
|
|
||||||
"fld": "WidgetCustom1",
|
|
||||||
"hide": false,
|
|
||||||
"required": true,
|
|
||||||
"type": "date"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fld": "WidgetCustom2",
|
|
||||||
"hide": true,
|
|
||||||
"required": false,
|
|
||||||
"type": "bool"
|
|
||||||
}
|
|
||||||
]}
|
|
||||||
*/
|
|
||||||
|
|
||||||
for (int i = 0; i < v.Count; i++)
|
for (int i = 0; i < v.Count; i++)
|
||||||
{
|
{
|
||||||
FormField MasterFormField = null;
|
FormField MasterFormField = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user