Announcement

Collapse
No announcement yet.

Adding a dropdown field (updatable) with values "N" or "Y" in OTM screen (jspx).

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Adding a dropdown field (updatable) with values "N" or "Y" in OTM screen (jspx).

    Hi team,

    OTM Version: 6.4.1

    I am trying to add a dropdown updatable field on OTM screen with values "N" or "Y". I have mapped this field to attribute_number1 (as I don't have any other attributes left)

    OTM screen should show "N" if the value of attribute_number1 is 0. If the attribute_number1 value is 1, then the OTM screen should show "Y" on the screen.

    I have added the code in jspx file as shown below:

    <gc3:column>
    <gc3:fieldFixedDropList defaultValue="" hideField="false" label="Flag" name="ship_group_d_or/attribute_number1" readonly="false" required="false">
    <options>
    <option name="N" value="0"/>
    <option name="Y" value="1"/>
    </options>
    </gc3:fieldFixedDropList>
    </gc3:column>

    When I select the value of the field from the dropdown on OTM screen as "Y" and click on Finish, the attribute_number1 in the database gets updated to "1" [works fine].

    But when I close and re-open the screen in OTM, it shows the value as "N". OTM screen is not able to read the value "1" from database and show "Y" on OTM screen.

    Can anyone please help me out here?

    Thanks,
    Waseem.
    Last edited by waseemakram.mj; March 5th, 2019, 06:16.

  • #2
    This is resolved.

    I

    Comment

    Working...
    X