UIContextHelperGetElementUrl Method (String, String, Boolean, Int32, String) |
Returns element's URL
Namespace: CMS.FormEngine.Web.UIAssembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 10.0.0
Syntax public static string GetElementUrl(
string moduleName,
string elementName,
bool displayTitle,
int objectId = 0,
string additionalQuery = null
)
Parameters
- moduleName
- Type: SystemString
Module name - elementName
- Type: SystemString
Element name - displayTitle
- Type: SystemBoolean
Indicates whether append display title to result URL. - objectId (Optional)
- Type: SystemInt32
Indicates whether append object ID to URL. - additionalQuery (Optional)
- Type: SystemString
Additional query to append to URL
Return Value
Type:
StringSee Also