Click or drag to resize
UIContextHelperGetElementUrl Method (UIElementInfo, Boolean, Int32, String)
Returns element's URL

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static string GetElementUrl(
	UIElementInfo ui,
	bool displayTitle,
	int objectId = 0,
	string additionalQuery = null
)

Parameters

ui
Type: CMS.ModulesUIElementInfo
UI element info.
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: String
See Also