Integrations and APIs for Service

Get Involved. Join the Conversation.


    Kelvin Chung
    Mapping C# long to ItemsChoiceType
    Topic posted February 20, 2019 by Kelvin ChungGreen Ribbon: 100+ Points, tagged SOAP 
    53 Views, 1 Comment
    Mapping C# long to ItemsChoiceType
    Mapping C# long to ItemsChoiceType

      I am using RNT Version which only has 6 choices for me (Yes/No, Date, DateTime, Integer, Text, Menu) when adding a new field in the custom object designer. In my Custom Object I want to create UserID which is long type in C# (bigint from Database). If I select ItemsChoiceType.Integer when I write my C# SOAP code I have to use something like

    List<GenericField> gfs = new List<GenericField>(); 
    gfs.Add(createGenericField("UserID", ItemsChoiceType.IntegerValue, (int) UserID));

    But that will truncated UserID. I see there is 


    How can I define it in RNT agent Desktop Object Designer?

    Also is Integer type is 32 bit only? If true does that mean all the ID used in RNT such as Incident ID is 32 bit only?

    Thanks for your help.

    - Kelvin