Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

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

    Hi,
      I am using RNT Version 17.8.0.1 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 

    ItemsChoiceType.LongValue
    

    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

     

     

     

     

     

     

    Version:
    17.8.0.1

    Comment