Customer Portal

Get Involved. Join the Conversation.


    Jorge Barrientos
    "Close SR" button like My Oracle Support
    Topic posted August 16, 2018 by Jorge Barrientos 
    95 Views, 5 Comments
    "Close SR" button like My Oracle Support

    Hi guys,

    Is there any example of how to implement a "Close SR" button in customer portal like in My Oracle Support to close incidents manually by customers??

    Thanks in advance

    Jorge B.



    • Luuk

      You can use the status widget for this:

      <rn:widget path="input/FormInput" name="Incident.StatusWithType.Status" label_input="#rn:msg:DO_YOU_WANT_A_RESPONSE_MSG#"/>

      Another way to do this is by using a custom field and the business rules.

      • Swetapadma suchismita

        Hi Luuk,

        We also have a similar request raised by Jorge.

        Can you please explain how to achieve this through Custom Field and business rules. 



        • Sebastiaan Draaisma

          Very easy.
          Create a custom field of your choice (Yes/No or Menu) add the field to your ask.php
          For example:

          <rn:widget path="input/FormInput" name="Incident.c$customfieldClose" table="incidents" hide_on_load="false"/>

          If it has to be a button you just use a html button and create a js function that sets the value of the custom field with an onclick event.
          Then create your BR

          Incident.customfieldClose equals Yes

          Set Status to Closed

          See this topic on how to make your custom field hidden while still able to capture the button value
          Checkbox field