Unable to use HTML tags in the BPEL email component

Hi,
I am using BPEL email component to send mail notifications. I want the email should be in proper format.If I use HTML tags the workflow application build fails .It says invalid syntax for html tags.So, I removed the tags and just using the concat string operations as of now.To format i even tried '\n' like in java but it didnt help. Could you please let me know how do I achieve this?
The JDeveloper version is 11.1.1.3 and SOA ,OIM both are 11.1.1.3
The BPEL source code for the email content I configured is:
<copy>
<from expression="concat(string('AD Account access request has been rejected by manager.\n
Here are some details about the request:\n
Request ID : '), bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID'),string('\n'),
string('Employee First Name : '),bpws:getVariableData('empFName'),string('\n'),
string('Employee Last Name : '),bpws:getVariableData('empLName'),string('\n'),
string('Manager Employee ID : '),bpws:getVariableData('manager'),string('\n\n\n'),string('Thanks,\n IDM Administration')
)"/>
<to variable="varNotificationReq"
part="EmailPayload"
query="/EmailPayload/ns15:Content/ns15:ContentBody"/>
</copy>
Please suggest .
Thanks,
Piyasa

Hi
Here is the sameple email from BEPL email component. See if this helps:
"<html>&#x0A;<body>&#x0A;<p>This is an automated message from the <b>Identity Provisioning Solution</b>. Please don’t reply to this email.</p>&#x0A;&#x0A;<p>An access request has been successfully submitted for <%concat(bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:FirstName'),' ',bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:LastName'))%> to access <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:ObjectDetails/ns4:name')%>.</p>&#x0A;&#x0A;To view additional details of the request, login to the Identity Provisioning Solution.&#x0A;&#x0A;<br>Request ID: <%bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:RequestID')%>&#x0A;<br>&#x0A;<br>&#x0A;<br>&#x0A;<br>Thank you,&#x0A;<br>Identity and Access Management&#x0A;</body>&#x0A;</html>&#x0A;"
Regards
user12841694

Similar Messages

  • How to use the HTML tags in the reports.

    hi.
    can any one tell me how to use the HTML tags in the reports.
    i m using the forms 10 g rel 2 and reports 10 g rel 2 and application server 10g rel 2.

    Set the Contains HTML Tags property of an object to Yes, then the tags in the object's text (if any) will be used to format the object.

  • Help needed in formating the text using HTML tags in reports 10g

    Hi all,
    I have a situation here. We have an application which prints out Reports with a few lines of text in it. This text is entered by the user through our forms application in a field. That particular text is stored in each row of a particular long column. Here I want to modify the text, while printing, on the report like underline, bold, italics etc,.
    As of now I am using the HTML tags, in the forms, to do so as most the times the text in the report is same.
    I want to know if this can be done by the user itself while he is entering the data in the field through the form.
    Thanks in advance . I will explain you more clearly if you need.

    Hi,
    The code did work. But I am not sucessfully able to display the values entered in 2nd page in the 3rd page.Please find the code below:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    if (document.form1.cap.value == "")
    alert("Enter value in text box");
    return;
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form2">');
    for(var i =0; i < document.form1.cap.value; i++)
    msg.document.write("<INPUT type=text name=tbAlphaNumeric>");
    msg.document.write("<br>");
    msg.document.write('<input type="button" name="Button2" value="Steal" onClick="javascript:window.opener.WinShow();">');
    msg.document.write('</form></BODY></HTML>');
    function WinShow() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Great!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>Display of second page text elements!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form3">');
    for(var j =0; j < document.form1.cap.value; j++)
    msg.document.write(document.form2.tbAlphaNumeric[j].value);
    msg.document.write("<br>");
    msg.document.write('</form></BODY></HTML>');
    </script>
    </head>
    <body>
    <form name="form1">
    <INPUT type= "text" name=cap>
    <input type="button" name="Button1" value="Push me" onClick="WinOpen()">
    </form>
    </body>
    </html>

  • How to use HTML Tags in Smartforms

    Hi,
    Can you please help me out in knowing how to use HTML tags in Smartforms,
    suppose i want to display some text in BOLD i should use the tag </b> as shown
    </b>  Header Information <b>
    regards
    Ranveer

    Hi Ranveer ,
        check this following links,
      hope this wil helps you
    <a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf">check this link,to know abt HTML in smartforms</a>
    rgds,
    shan

  • Unable to handle html tags in BI publisher trial edition

    Hi,
    I am very new to BI publisher and having issues reading rich text field from database and reading into the report.
    BI Publisher - 11.1.1.6 trial edition
    test case: I have a rich text field that stores html tags in the database. I have created a data model using sql query and am selecting rich text field from the database. When trying to display that field on the report in BI publisher I get the html tags.
    I even tried Tim Dexter solution mentioned in the below blog but now when I run the report nothing shows up for that rich text field in the report. I am not sure if I am missing any steps while using html2fo.
    https://blogs.oracle.com/xmlpublisher/entry/html_in_xml_support
    Please help since I am struggling with this for past few days. Also below is the sample xml data where element "PROJECT_DETAILS" is the rich text field.
    Thanks,
    Saurabh.
    <G_2>
    <EMPLID_1>0001</EMPLID_1>
    <PROJECT_DETAILS><![CDATA[<p class="Resume-JobSum">Managed and led twenty members technical team to successfully complete development on time. Took over management of behind schedule development and provided direction and discipline to complete development cycle on time.</p> <p class="Resume-ExperienceBullets" style="margin-left:43.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:.5in;"><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol;">·<span style="font-size: 7pt;font-family: 'Times New Roman';">         </span></span>Improved delivery by prioritizing development items.</p> <p class="Resume-ExperienceBullets" style="margin-left:43.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:.5in;"><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol;">·<span style="font-size: 7pt;font-family: 'Times New Roman';">         </span></span>Improved efficiency by removing dependencies and delegating work.</p> <p class="Resume-ExperienceBullets" style="margin-left:43.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:.5in;"><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol;">·<span style="font-size: 7pt;font-family: 'Times New Roman';">         </span></span>Improved cost management by controlling over time hours on the team.</p> <p class="Resume-ExperienceBullets" style="margin-left:43.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:.5in;"><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol;">·<span style="font-size: 7pt;font-family: 'Times New Roman';">         </span></span>Provided infrastructure planning for support and future phases.</p> <p class="Resume-ExperienceBullets" style="margin-left:43.0pt;text-indent:-.25in;mso-list:l0 level1 lfo1;tab-stops:27.0pt;"><span style="font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-family: Symbol;">·<span style="font-size: 7pt;font-family: 'Times New Roman';">         </span></span>Planned and Managed change management and migration process.</p><p></p>]]></PROJECT_DETAILS>

    are u using an RTF template?
    u need to use
    <?html2fo: COLUMN_NAME?>
    instead of <?COLUMN_NAME?> in the RTF template
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#CHDCEEIJ
    Edited by: anupma.s on Feb 21, 2013 11:12 AM

  • I want to display BLOB image in JSP Using  html tags IMG src=

    GoodAfternoon Sir/Madom
    I Have got the image from oracle database but want to display BLOB image using <IMG src="" > Html tags in JSP page . If it is possible than please give some ideas or
    Send me sample codes for display image.
    This code is ok and working no problem here Please send me code How to display using html tag from oracle in JSP page.
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="javax.swing.ImageIcon;" %>
          <%
            out.print("hiiiiiii") ;
                // declare a connection by using Connection interface
                Connection connection = null;
                /* Create string of connection url within specified format with machine
                   name, port number and database name. Here machine name id localhost
                   and database name is student. */
                String connectionURL = "jdbc:oracle:thin:@localhost:1521:orcl";
                /*declare a resultSet that works as a table resulted by execute a specified
                   sql query. */
                ResultSet rs = null;
                // Declare statement.
                PreparedStatement psmnt = null;
                  // declare InputStream object to store binary stream of given image.
                   InputStream sImage;
                try {
                    // Load JDBC driver "com.mysql.jdbc.Driver"
                    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
                        /* Create a connection by using getConnection() method that takes
                        parameters of string type connection url, user name and password to
                        connect to database. */
                    connection = DriverManager.getConnection(connectionURL, "scott", "root");
                        /* prepareStatement() is used for create statement object that is
                    used for sending sql statements to the specified database. */
                    psmnt = connection.prepareStatement("SELECT image FROM img WHERE id = ?");
                    psmnt.setString(1, "10");
                    rs = psmnt.executeQuery();
                    if(rs.next()) {
                          byte[] bytearray = new byte[1048576];
                          int size=0;
                          sImage = rs.getBinaryStream(1);
                        //response.reset();
                          response.setContentType("image/jpeg");
                          while((size=sImage.read(bytearray))!= -1 ){
                response.getOutputStream().write(bytearray,0,size);
                catch(Exception ex){
                        out.println("error :"+ex);
               finally {
                    // close all the connections.
                    rs.close();
                    psmnt.close();
                    connection.close();
         %>
         Thanks

    I have done exactly that in one of my applications.
    I have extracted the image from the database as a byte array, and displayed it using a servlet.
    Here is the method in the servlet which does the displaying:
    (since I'm writing one byte at a time, it's probably not terribly efficient but it works)
         private void sendImage(byte[] bytes, HttpServletRequest request, HttpServletResponse response) throws IOException {
              ServletOutputStream sout = response.getOutputStream();
              for(int n = 0; n < bytes.length; n++) {
                   sout.write(bytes[n]);
              sout.flush();
              sout.close();
         }Then in my JSP, I use this:
    <img src="/path-to-servlet/image.jpg"/>
    The name of the image to display is in the URL as well as the path to the servlet. The servlet will therefore need to extract the image name from the url and call the database.

  • How to use HTML Tags in webdynpro java

    Hi,
         Can any body tell me how to use HTML Tags in webdynpro java.
    If u provide me with sample code it will become more usefull.
    Thanks & Regards,
    SN

    HI,
    Please find the steps:
    Create a html file and store in your webdynpro project
    Add the html contents in your file
    & Create a IFRAME UI element and refer you html file
    Now you able to see the html in webdynpro
    Thanks & Regards,
    Ram

  • Can i use HTML tag in text when sending contens as "Attachement(PDF)".

    Hi all!!
    i try to add html tag on ibot email text column.
    is it possible?
    - in ibot delivery content.
    send content as Attachment(PDF)
    "if sent as attachement, include this text" <--- mark this field
    and below multi line input column, can i use html tag, for example,
    Yahoo
    thanks in advance.
    Edited by: vingorius on 2010. 10. 31 오후 7:27

    hi vingorius ,
    No you cant include html but u can use variables
    To add a variable in a text message to provide context for the iBot attachment
    1. Click the following option:
    If sent as attachment, include this text
    2. Type the text into the text box with a session variable, a repository variable, or a presentation variable using the syntax shown in the following table:
    Variable Type
    Syntax
    Repository @{Variable_Name}
    Session @{NQ_SESSION.Variable_Name}
    Presentation @{Variable_Name}
    For example, Dear, @{NQ_SESSION.Variable_Name}, here is your personalized Weekly Sales Territory Update.
    NOTE: If you want to use the @ character, you need to precede it with the \ (back slash) character to separate it from the variable syntax. For example, Dear @{NQ_SESSION.DISPLAYNAME}, \@ New York, appears as Dear Joe Smith, @ New York.
    Source : BI Guide
    Thanks,
    Saichand.v

  • How to use HTML tags inside JSF pages

    I am creating a Menu using dataTable and outputLink in a JSF page.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
    <h:column>
    <li>
    <h:outputLink id="crumbID" value="#{bread.menuLink}">
    <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
    </h:outputLink>
    <li>
    </h:column>
    </h:dataTable>
    </ol>
    </div>
    </div>
    I want to use <li> HTML tag as shown in code above before and after every <tr> tag formed, but when i run it and see view source, this is how it shows:
    NOTE: you can see it has thrown out of <table> tag itself.
    <div class="bodyarea">
    <div id="location">
    <ol>
    <li>
    </li>
    <table>
    <tbody>
    <tr>
    <td><a id="_id0:0:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=-1"><span id="_id0:0:crumpName" style="width: 165px;">Home</span></a></td>
    </tr>
    <tr>
    <td><a id="_id0:1:crumbID" href="/eApps/admin/loginPage.jsp?MenuItem=3~-1"><span id="_id0:1:crumpName" style="width: 165px;">HIM Admin</span></a></td>
    </tr>
    </tbody>
    </table>
    </ol>
    </div>
    </div>
    Can some one help me, how do i use HTML tags inside <h:dataTable>.
    Or is their any other way i should form my Menus, to fully utilize to HTML tags.
    Thanks
    Ravi

    Hello,
    You can embed the verbatim elements in your datatable, ie,
    <h:dataTable value="#{menuItem.breadCrumb}" var="bread" >
      <h:column>
        <f:verbatim><li></f:verbatim>
        <h:outputLink id="crumbID" value="#{bread.menuLink}">
          <h:outputText id="crumpName" value="#{bread.menuLabel}" style="width: 165px;"/>
        </h:outputLink>
        <f:verbatim></li></f:verbatim>
      </h:column>
    </h:dataTable>

  • Background color using html tag

    Hi all,
    I hve to give background color using html tag , Please suggest
    and if can do in sql for background colour tag.
    Help me on this .
    Regards, Subathra

    just take placeholder property and select HTML option as below
    Then inside textbox you can use expression like below
    ="<FONT color=""green"">" & Fields!YourField.Value & "</FONT>"
    and text will show in green color. you can specify color of your choice
    But I would also prefer using standard property of textbox to set the color
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • I have a Macbook with OS X 10.5.8. I am unable to use my iPhone with the iOS 6 upgrade on iTunes.

    I have a Macbook with OS X 10.5.8. I am unable to use my iPhone with the iOS 6 upgrade on iTunes.  Apparently I cannot downgrade to iOS 5 on my iPhone. Please tell me I don't have to pay anything to be able to use my products......

    Which version of iTunes?
    iTunes 10.6.3 - http://support.apple.com/kb/DL1575
    Unless this is a new iPhone 5 I believe the older ones will work with iOS6 and iTunes 10.6.3.  If it won't, you will need to upgrade operating system version.

  • Handle invalid html tag in the htmlText

    Hello,
    I"ve a <mx:text control which takes html text, it is a chat application, so, the client will simply concatinate the text comming through the network. But if the html text has invalid tags, it does not show the rest of the chat messages.
    I get something like
    <a href="http://google.com&quot;">http://google.com<a>
    here the red text is creating problems.
    P:S: you might want to say, handle it when sending from other client, but, we are dealing with legacy data, which has a lot of html format issues.

    Thanks for responding
    I understand that adding more HTML tags will change the font size. What I don't get is why it changed from one size to another by adding a HTML tag in the first place. I figured that it should have retained the same size it was without the tag when I added the tag. If I had added a font tag I would have excpected the font to change size but I added  a href.
    Sorry for the confusion.

  • E-Mail Notification shows up HTML tag in the body

    Hi all,
    We successfully implemented the email notification. we have the standalone version of 2.6. We are now seeing the notification mails delivered to our mail boxes.
    We need some assistance, in setting the type of notification. We have set the Global preference for all the users as "Plain text mail with HTML attachments" and we have set the preference at user also like "MAILATTH". But the body of the notification mail has HTML tags along with the contents, we do have the attachment, when we open it , it works fine.
    our problem is , how to see the mails without those HTML tags, in the inbox.
    Any advice,
    Johnson

    There was a newline character in Subject field.
    Removing that fixed the issue.

  • How do I set BI Publisher to read html tags from the database?

    How do I set BI Publisher (Release 10.1.3.4) to read html tags from the database? For example if the text is quoted with a bold tag I want my output to display the text in bold. Is there a setting or something I can set?

    I took a look at Tim Dexter's blog as suggested and the sample worked, but for the elements in the xml file not for the value coming from the database, however this is good to know as well!
    I have data in the data base column which looks like this:
    'MS Applied <B(bold tag)> Mathematics</B(bold tag)>University of Southern California'
    I want the data to be rendered like this:
    'MS Applied <B>Mathematics</B> University of Southern California'.
    In Report Builder on the property sheet I would set Contains HTML Tags property to Yes and the report would render correctly.
    In BI Publisher 10.1.3.4 I can not seem set it to read this I have change the configure properties of the report to Character set to HTML and Make HTML output accessible to True. I just can't figure out what I'm missing.
    Thank you for any assistance you can offer.

  • Unable to use MSN Premium for the Share function within Elements 10

    I'm unable to use MSN Premium for the Share function within Elements 10 (it seems the program does not recognize MSN Premium for a valid email program for use within the Share function of Elements 10).  Is this something than can be resolved?

    No, unfortunately. You will have to either set up the adobe email or else just use the attachments button in the MSN premium instead of sending directly from PSE.

Maybe you are looking for

  • IPhoto Facebook Update ruined app

    I downloaded the Facebook update for iPhoto, but since my Mac OS X Package installer has never worked on my computer (for unknown reasons it always says my destination install dir. is "(null)" and I must free space), I had to use Pacifist to install

  • Re installing photosho[ elements serial number not vaild

    Photoshop Elements 2 inadvertently deleted, re install from disc brings up a dialogue stating 'Serial Number is not valid' advice from Adobe Chat refer to forum.adobe Has anyone any idea how to proceed ? PastelPainter

  • T43p ATI Video Driver gives blue screen

    Hi, I have been having issues with the video driver for the ATI graphics card for Thinkpad T43p despite downloading the latest driver available on the Lenovo at: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-61503 The driver fil

  • Female US English voice of Siri sounds different in iOS 8.1.3

    Has anyone noticed how Siri sounds more robotic now? I have tested all the voices, and every one of them has the same expressiveness/tones/friendliness, whatever word you want to use. The one voice that doesn't anymore, is the US English female voice

  • Linking two queries

    I am having trouble linking two queries in my data table. The first query finds the maximum of a certain set of information, has the breakorder set at asending and orders them by a set of numbers in that query. A coordinate (ie. x and y) field is bas