diff --git a/Super.Human.Portal_Agents/docs/CategoryDocs/Category_API.md b/Super.Human.Portal_Agents/docs/CategoryDocs/Category_API.md index 45777e3..4327753 100644 --- a/Super.Human.Portal_Agents/docs/CategoryDocs/Category_API.md +++ b/Super.Human.Portal_Agents/docs/CategoryDocs/Category_API.md @@ -86,6 +86,7 @@ Label | Text | false | Description | Text | false | Icon | Text | false | Order | Number | false | +Link | Text | false | ### Create @@ -102,6 +103,7 @@ Label | Text | false | false | Description | Text | false | false | Icon | Text | false | false | Order | Number | false | false | +Link | Text | false | false | Response properties | JSON Format | Notes @@ -141,6 +143,7 @@ Label | Text | false | false | Description | Text | false | false | Icon | Text | false | false | Order | Number | false | false | +Link | Text | false | false | Response: No additional values. TODO: return the document? diff --git a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryCreateBase.java b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryCreateBase.java index 327457e..db9db69 100644 --- a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryCreateBase.java +++ b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryCreateBase.java @@ -7,6 +7,7 @@ import com.moonshine.domino.field.FieldDefinition; import com.moonshine.domino.field.FieldType; import com.moonshine.domino.security.*; +import com.moonshine.domino.util.DominoUtils; import com.moonshine.domino.util.ParameterException; import lotus.domino.*; @@ -38,6 +39,9 @@ protected Collection getFieldList() { fields.add(new FieldDefinition("Order", FieldType.NUMBER, false)); + fields.add(new FieldDefinition("Link", FieldType.TEXT, false)); + + return fields; } @@ -77,6 +81,7 @@ protected Collection getReturnFieldList() { fields.add(new FieldDefinition("Description", FieldType.TEXT, false)); fields.add(new FieldDefinition("Icon", FieldType.TEXT, false)); fields.add(new FieldDefinition("Order", FieldType.NUMBER, false)); + fields.add(new FieldDefinition("Link", FieldType.TEXT, false)); return fields; diff --git a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryReadBase.java b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryReadBase.java index 0c68cd5..9eebab0 100644 --- a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryReadBase.java +++ b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryReadBase.java @@ -30,6 +30,7 @@ protected Collection getFieldList() { fields.add(new FieldDefinition("Description", FieldType.TEXT, false)); fields.add(new FieldDefinition("Icon", FieldType.TEXT, false)); fields.add(new FieldDefinition("Order", FieldType.NUMBER, false)); + fields.add(new FieldDefinition("Link", FieldType.TEXT, false)); return fields; } diff --git a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryUpdateBase.java b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryUpdateBase.java index 08de4ed..9036f2c 100644 --- a/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryUpdateBase.java +++ b/Super.Human.Portal_Agents/src/main/generated/CategoryAgents/CategoryUpdateBase.java @@ -7,6 +7,7 @@ import com.moonshine.domino.field.FieldDefinition; import com.moonshine.domino.field.FieldType; import com.moonshine.domino.security.*; +import com.moonshine.domino.util.DominoUtils; import com.moonshine.domino.util.ParameterException; import lotus.domino.*; @@ -35,6 +36,9 @@ protected Collection getFieldList() { fields.add(new FieldDefinition("Order", FieldType.NUMBER, false)); + fields.add(new FieldDefinition("Link", FieldType.TEXT, false)); + + return fields; } diff --git a/Super.Human.Portal_DVE/nsfs/nsf-moonshine/odp/Forms/Category.form b/Super.Human.Portal_DVE/nsfs/nsf-moonshine/odp/Forms/Category.form index 8df6b06..b598080 100644 --- a/Super.Human.Portal_DVE/nsfs/nsf-moonshine/odp/Forms/Category.form +++ b/Super.Human.Portal_DVE/nsfs/nsf-moonshine/odp/Forms/Category.form @@ -44,6 +44,8 @@ Order + Link + @@ -52,7 +54,7 @@ - + @@ -64,7 +66,7 @@ - + @@ -76,9 +78,9 @@ - + - + @@ -92,9 +94,9 @@ - + - + @@ -113,9 +115,9 @@ - + - + @@ -129,9 +131,9 @@ - + - + @@ -150,9 +152,9 @@ - + - + @@ -166,9 +168,9 @@ - + - + @@ -187,9 +189,9 @@ - + - + @@ -203,9 +205,9 @@ - + - + @@ -224,9 +226,9 @@ - + - + @@ -240,9 +242,9 @@ - + - + @@ -263,9 +265,38 @@ - + + + + + + + + + + Link - Link - This category will open a URL instead of working as a category + + + + + - + + + + + + + + + + + + + + + + @@ -324,57 +355,48 @@ End Sub '++LotusScript Development Environment:2:5:(Options):0:74 '++LotusScript Development Environment:2:5:(Forward):0:1 -Declare Sub Queryrecalc(Source As Notesuidocument, Continue As Variant) Declare Sub Querymodechange(Source As Notesuidocument, Continue As Variant) -Declare Sub Postrecalc(Source As Notesuidocument) -Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant) Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant) -Declare Sub Postopen(Source As Notesuidocument) +Declare Sub Postrecalc(Source As Notesuidocument) Declare Sub Postsend(Source As Notesuidocument) -Declare Sub Initialize Declare Sub Postsave(Source As Notesuidocument) +Declare Sub Queryrecalc(Source As Notesuidocument, Continue As Variant) +Declare Sub Querysave(Source As Notesuidocument, Continue As Variant) Declare Sub Postmodechange(Source As Notesuidocument) +Declare Sub Initialize Declare Sub Terminate +Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant) Declare Sub Querysend(Source As Notesuidocument, Continue As Variant) -Declare Sub Querysave(Source As Notesuidocument, Continue As Variant) +Declare Sub Postopen(Source As Notesuidocument) '++LotusScript Development Environment:2:5:(Declarations):0:10 '++LotusScript Development Environment:2:2:BindEvents:1:129 Private Sub BindEvents(Byval Objectname_ As String) Static Source As NOTESUIDOCUMENT Set Source = Bind(Objectname_) - On Event Queryrecalc From Source Call Queryrecalc On Event Querymodechange From Source Call Querymodechange - On Event Postrecalc From Source Call Postrecalc - On Event Queryopen From Source Call Queryopen On Event Queryclose From Source Call Queryclose - On Event Postopen From Source Call Postopen + On Event Postrecalc From Source Call Postrecalc On Event Postsend From Source Call Postsend - On Event Postsave From Source Call Postsave + On Event Queryrecalc From Source Call Queryrecalc + On Event Querysave From Source Call Querysave On Event Postmodechange From Source Call Postmodechange + + On Event Queryopen From Source Call Queryopen On Event Querysend From Source Call Querysend - On Event Querysave From Source Call Querysave + On Event Postopen From Source Call Postopen -End Sub -'++LotusScript Development Environment:2:2:Queryrecalc:1:12 -Sub Queryrecalc(Source As Notesuidocument, Continue As Variant) End Sub '++LotusScript Development Environment:2:2:Querymodechange:1:12 Sub Querymodechange(Source As Notesuidocument, Continue As Variant) End Sub -'++LotusScript Development Environment:2:2:Postrecalc:1:12 -Sub Postrecalc(Source As Notesuidocument) -End Sub -'++LotusScript Development Environment:2:2:Queryopen:1:12 -Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant) -End Sub '++LotusScript Development Environment:2:2:Queryclose:1:12 Sub Queryclose(Source As Notesuidocument, Continue As Variant) End Sub -'++LotusScript Development Environment:2:2:Postopen:1:12 -Sub Postopen(Source As Notesuidocument) +'++LotusScript Development Environment:2:2:Postrecalc:1:12 +Sub Postrecalc(Source As Notesuidocument) End Sub '++LotusScript Development Environment:2:2:Postsend:1:12 Sub Postsend(Source As Notesuidocument) @@ -382,14 +404,23 @@ End Sub '++LotusScript Development Environment:2:2:Postsave:1:12 Sub Postsave(Source As Notesuidocument) End Sub +'++LotusScript Development Environment:2:2:Queryrecalc:1:12 +Sub Queryrecalc(Source As Notesuidocument, Continue As Variant) +End Sub +'++LotusScript Development Environment:2:2:Querysave:1:12 +Sub Querysave(Source As Notesuidocument, Continue As Variant) +End Sub '++LotusScript Development Environment:2:2:Postmodechange:1:12 Sub Postmodechange(Source As Notesuidocument) End Sub +'++LotusScript Development Environment:2:2:Queryopen:1:12 +Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant) +End Sub '++LotusScript Development Environment:2:2:Querysend:1:12 Sub Querysend(Source As Notesuidocument, Continue As Variant) End Sub -'++LotusScript Development Environment:2:2:Querysave:1:12 -Sub Querysave(Source As Notesuidocument, Continue As Variant) +'++LotusScript Development Environment:2:2:Postopen:1:12 +Sub Postopen(Source As Notesuidocument) End Sub diff --git a/Super.Human.Portal_DVE/visualeditor-src/main/webapp/Category.xml b/Super.Human.Portal_DVE/visualeditor-src/main/webapp/Category.xml index 164fe53..af1185c 100644 --- a/Super.Human.Portal_DVE/visualeditor-src/main/webapp/Category.xml +++ b/Super.Human.Portal_DVE/visualeditor-src/main/webapp/Category.xml @@ -130,13 +130,21 @@ -
+
+ + + +
-
+
+ + + +
@@ -212,21 +220,21 @@ - - - - - + + - + + + + - + \ No newline at end of file