Content Management and Capture

 View Only
  • 1.  Menu in Image Services

    Posted Fri May 17, 2024 01:55 AM
    Hi All,
     
    We have Image Services system with Menu properties created in it. When we tried to execute "DocumentPropertiesRequest/doc_properties" API, its giving a numeric value for the menu property, which is not same as the Display text or return code of the menu.
     
    For ex:
    Return Code         Text to Display
    1                                  ABC
    2                                  XYZ
    3                                  CDE
    4                                  MNP
     
     
    For the above menu, the "DocumentPropertiesRequest/doc_properties" api is returning some numeric value like 51, 52, 53 instead of 1, 2, 3, 4 or ABC, XYZ, CDE, MNP.
     
    Can someone please help us to understand the concept of this Menu value retrieval and explain how to get the return code/display text value instead of the randam numeric number.
    Thanks & Regards,
    Saranya


    ------------------------------
    Saranya V
    ------------------------------


  • 2.  RE: Menu in Image Services

    Posted Fri May 17, 2024 02:39 AM

    It looks like you're using ISRA.  It's been ages since I've used it, but check out the documentation of the GetMenuDesc interaction.

    The GetMenuDesc interaction is used by the application component to retrieve menu description of
    an index of type menu. It returns the list of all menu items and values for the specified index. If
    specified index is not of type menu, an exception will be thrown.

    Match the returned value with an entry in the map you get from that call which will give you the textual description stored in the IS menu



    ------------------------------
    David Alfredson
    ------------------------------



  • 3.  RE: Menu in Image Services

    Posted Tue May 21, 2024 05:21 AM

    Thank you, David. It worked.



    ------------------------------
    Saranya V
    ------------------------------