Show / Hide Table of Contents

GetGbstElmByID or GetLocalizedGbstElmByID

Object and Type

Object  : FCApplication

Type     : Method

Prototype

Public Function GetGbstElmByID(ByVal ListName As String, _
                               ByVal ElmObjid As Long) As String

Description

This method returns the string value for a given element in a given Application Popup list, given the objid. If the element is not found in the list, this method returns a value of empty string (""). The gbst_elm table is cached in the FCApplication object, so this method does not cause a database round-trip.

Parameters

Parameter Name Required? Description
ListName Yes Name of the list
ElmObjid Yes The objid of the list item

Returns

The string value of the element.

Example

The following example retrieves the string for the priority of an already-found case.

JavaScript:

var ElmObjid = CaseObj("respprty2gbst_elm");

Response.Write("Priority is: " + FCApp.GetGbstElmByID("Response Priority Code", ElmObjid));
Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.