You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How can I access the description of the customized fields with list of values of rightnow from C#?

Received Response
8
Views
5
Comments
edited Feb 23, 2018 1:03AM in UI Extensibility 5 comments

Content

¡¡¡Hola!!!

Tengo campos personalizados y listas de valores de campos personalizados en un incidente.

A los campos personalizados comunes puedo acceder al texto, pero a los campos personalizados con una lista de valores, solo me permite ver su ID correspondiente, pero no me deja ver su descripción.

¿Cómo puedo acceder a la descripción de los campos personalizados con una lista de valores?

Version

C#

Code Snippet

             IIncident i = (IIncident)_recordContext.GetWorkspaceRecord(RightNow.AddIns.Common.WorkspaceRecordType.Incident);

System.Collections.Generic.IList<RightNow.AddIns.AddInViews.ICfVal> c_inc_field = i.CustomField;

foreach (ICfVal cv3 in c_inc_field)
            {
                if (cv3.CfId == 118)
                    sosiCasuCdSucursal = cv3.ValInt; //here returns the ID corresponding to the selected description
              

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!