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
edited Jun 13, 2022 4:09AM in General Technical Discussions 5 comments



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?



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.


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