CA Service Management

Expand all | Collapse all

Incident Creation on clicking on image in home.htmpl

Jump to Best Answer
  • 1.  Incident Creation on clicking on image in home.htmpl

    Posted 12-01-2017 10:13 AM

    Hello,

     

    There is a requirement to open an incident by clicking on any image in home.htmpl. I tried to add image by 

    <td style="padding-left: 15px;" width="440" height="200" frameborder="0" ><img src="$CAisd/img/incident.jpg" width="320"  border="1" alt="Click here to display more."></td> </tr>

     

    But I am not able to create incident ticket and I have used the out of the box code i.e.

    <a href="javascript: has_knowledge_been_checked('type:I');"
    class="emp portlet_body_text"
    onmouseover='window.status = "Create a new Incident"; return true;'
    onmouseout="window.status = window.defaultStatus; return false;"><font size="+1"> Create a new Incident </a>

     

    We want image rather than Create a new Incident keyword.

     

    Please share any idea to achieve the same.

     

    Thanks

    Mayur



  • 2.  Re: Incident Creation on clicking on image in home.htmpl
    Best Answer

    Broadcom Employee
    Posted 12-06-2017 09:07 AM

    Hi Mayur,

     

    For this it looks like you just need to add:

    input type="image"

     

    So it would be something like:

    width="440" height="200" frameborder="0" ><input type="image" img src="$CAisd/img/incident.jpg" width="320" border="1" alt="Click here to display more.">

     

    Please also reference the link below:

    javascript - How to put a jpg or png image into a button in HTML - Stack Overflow 

     

    Thanks,

    Scott



  • 3.  Re: Incident Creation on clicking on image in home.htmpl

    Posted 12-06-2017 10:17 AM

    By using 

    < width="440" height="200" frameborder="0" ><input type="image" img src="$CAisd/img/incident.jpg" width="320" border="1" alt="Click here to display more.">

    Our requirement has been fulfilled.

     

    Thanks for your support. Highly Appreciated. :-)

     

    Mayur