Symantec IGA

 View Only
  • 1.  Identity Portal HTML field

    Posted Dec 23, 2019 06:33 AM
    Hello All

    I am trying to add an HTML element on a form.

    I tried type=message and used the built-in html editor, even a simple <html><b>hello</b></html>  or just <b>hello</b>.

    I am not getting the html rendering but the plain text (in this case hello and not hello).

    I tried also to use a text area, or string using handler API (prop.value = "<html><b>hello</b></html>")  but here the field on screen is showing the full string <html><b>hello</b></html>.


    Thanks!

    ------------------------------
    Senior Consultant/Architect- CA Identity Suite SME
    Topspin Technologies (Partner)
    ------------------------------


  • 2.  RE: Identity Portal HTML field

    Broadcom Employee
    Posted Dec 23, 2019 08:38 AM
    Message should do it.

    Try type=Message and put your html code in the Initialization Handler.


  • 3.  RE: Identity Portal HTML field

    Posted Dec 23, 2019 10:50 AM
    Hello Iyes,

    this is not working for me...have you tries it recently? maybe i am missing something?

    i tried prop.value = "some html"...

    i tried prop.message = "some html"

    nothing works at this point, i am just getting plain text (no underline, no bold, no italic etc)

    Thanks again my friend and good to hear from you :)

    ------------------------------
    Senior Consultant/Architect- CA Identity Suite SME
    Topspin Technologies (Partner)
    ------------------------------



  • 4.  RE: Identity Portal HTML field

    Broadcom Employee
    Posted Dec 23, 2019 11:45 AM
    I just tried on 14.3 vApp.

    prop.message = '<HTML><HEAD><TITLE>This is an HTML Test</TITLE></HEAD><BODY BGCOLOR="FFFFFF"><HR><a href="http://www.broadcom.com">Broadcom</a><H1>This is a Header</H1><H2>This is a Medium Header</H2><P> This is a new paragraph!<P> <B>This is a new paragraph!</B><BR> <B><I><p style="color:red;">This is a new sentence without a paragraph break, in bold italics and red color.</p></I></B><HR></BODY></HTML>';

    Here is the output:




  • 5.  RE: Identity Portal HTML field

    Posted Dec 23, 2019 02:14 PM
    Iyes
    I am still getting plain text, can you show me your form element definition?
    I tried to use a form element of type message/internal  or Text/internal  or Text/String.
    I am also in vApp 14.3

    ------------------------------
    Senior Consultant/Architect- CA Identity Suite SME
    Topspin Technologies (Partner)
    ------------------------------



  • 6.  RE: Identity Portal HTML field
    Best Answer

    Broadcom Employee
    Posted Dec 23, 2019 06:24 PM
    Hi Charly,

    Here is the Form Element definition:



    ------------------------------
    Hi Charly,
    ------------------------------



  • 7.  RE: Identity Portal HTML field

    Posted Dec 24, 2019 03:24 AM
    Hello Iyes

    I think I may have had some caching issue.
    I had the same exact settings/elements as yours, anyway it is working now.
    Thanks my friend and have ALL a great holidays!
    Charly
    631 972 3100

    ------------------------------
    Senior Consultant/Architect- CA Identity Suite SME
    Topspin Technologies (Partner)
    ------------------------------