EditController..::..GetEditTemplate Method
Gets the edit template based on an object name, an object where and a module Id.
returns a EditHelper as an ActionResult
Namespace:
FLEXYGO.Controlers.UIAssembly: FlexyGo (in FlexyGo.dll)
Syntax
[BlacklistCheckAttribute] [CompressAttribute] public ActionResult GetEditTemplate( string ObjectName, string ObjectWhere, string ModuleName, KeyValuePairs[] Defaults, string TemplateId, bool Clone )
<BlacklistCheckAttribute> _ <CompressAttribute> _ Public Function GetEditTemplate ( _ ObjectName As String, _ ObjectWhere As String, _ ModuleName As String, _ Defaults As KeyValuePairs(), _ TemplateId As String, _ Clone As Boolean _ ) As ActionResult
Parameters
- ObjectName
- Type: String
Name of the object.
- ObjectWhere
- Type: String
The object where.
- ModuleName
- Type: String
The module identifier.
- Defaults
- Type: array<KeyValuePairs>[]()[][]
Default values as KeyValuePairs
- TemplateId
- Type: String
TemplateId to use
- Clone
- Type: Boolean
If we are cloning an existing object then the object where will be removed and also the key property values will be removed
Return Value
ActionResult.Exceptions
Exception | Condition |
---|---|
FLEXYGO.Exceptions..::..LocalizedException | Module object name and module object where can't be blank |