How to write HTML Colour Text in Workflow Builder Tool?
I need to add simple text in existing Messages.How do we achieve the colour text in workflow.Please see below example which are bold letters .I need to display in Red Colour.I see several examples in Html codes.But it doesn't work out in Oracle workflow Builder
Example:
Sample email
Action: 'Approve'
If forwarding this document to another person, please enter their user-id
below
Forward To: 'JM439T'
Note
Note: 'This is a test Note'
NID[17216930/241559840683420603286105087217072705302@PRODWFM]
Please help !!
Thanks
Sandeep
Hi;
I suggest check below links which may helps you on your issue:
Oracle® Workflow Administrator’ s Guide
http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15852.pdf
Oracle Workflow Developer's Guide
http://download.oracle.com/docs/cd/B19306_01/workflow.102/b15853/T361836T362168.htm
Regard
Helios
Similar Messages
-
How to write data to text file using external tables
can anybody tell how to write data to text file using external tables concept?
Hi,
Using external table u can load the data in your local table in database,
then using your local db table and UTL_FILE pacakge u can wrrite data to text file
external table
~~~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2153251
UTL_FILE
~~~~~~~~~
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm#sthref14093
Message was edited by:
Nicloei W
Message was edited by:
Nicloei W -
How to write html code in narrative
Hi,
How to write html code in narrative to get following format
desc value1 Value2 totalvalue
a 10 20 30
b 20 30 50
Totalvalue 30 50 80
Total % 0.3 0.5 0.8
Can any one help guide on writing HTMl code for above table format in narrative type of display data at report level
Thank you
ManuHi Balu,
If you are using the Web Application server (WEBAs), Then you can create applications using BSP( Bussiness server pages). Which is some what luike JSP.
Or
In SE80 , Try to create internet service files uisng BHTML. In the dropdown select internet service. And then try to create the HTML templates
Thanks,
Sarayoodharan.K -
How to write a Xml installation file to build web installer using IzPack.
Hai everyone,
I have got a problem in building a web installer using IzPack.I am getting this exception,when I am compiling my install.xml using a compile tool provided by IzPack soft.Eventhough I have not mentioned "packsinfo.xml" in my Xml installation file.
Fatal error :
null\packsinfo.xml (The system cannot find the path specified)
java.io.FileNotFoundException: null\packsinfo.xml (The system cannot find the path specified)
What went wrong??
It is very very urgent. Could anyone tell me how to write a Xml installation file for building web installer,please??
any help will be highly appreciated....
Thank you very much in advanceHi,
that is not really a java related question. Have you tried to find some IzPack support forum? I've never heard about it, so I can't help. -
How to append html formatted text to JPaneText?
Hi,
I'm trying to append html to JPaneText and I can't do it. My code is below:
import java.awt.*;
import javax.swing.*;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.*;
import javax.swing.text.*;
public
class GUI
extends JFrame {
JTextPane wynikTxtAre = new JTextPane();
JScrollPane suwak = new JScrollPane(wynikTxtAre);
JPanel panelSrodek = new JPanel();
HTMLDocument doc;
HTMLEditorKit kit = new HTMLEditorKit();
public GUI()
super.setSize(640, 480);
super.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
wynikTxtAre.setEditable(false);
wynikTxtAre.setDocument(kit.createDefaultDocument());
doc = (HTMLDocument)wynikTxtAre.getDocument();
suwak.setPreferredSize(new Dimension(600, 400));
panelSrodek.add(suwak);
super.getContentPane().setLayout(new BorderLayout());
super.getContentPane().add("Center", panelSrodek);
super.setVisible(true);
public static void main (String [] args) {
GUI g = new GUI();
try {
Style style = g.doc.addStyle("StyleName", null);
StyleConstants.setItalic(style, true);
StyleConstants.setFontSize(style, 30);
StyleConstants.setBackground(style, Color.blue);
StyleConstants.setForeground(style, Color.white);
// Append to document
g.kit.insertHTML(g.doc, g.doc.getLength(), "tekxt", 1, 1, HTML.Tag.B);
//g.doc.insertString(g.doc.getLength(), "<b>Some Text</b>", style);
} catch (Exception e) {
System.out.println(e.getMessage());
If i use insertHTML method then there is no text on the text area.
If i use insertString method then text appear but it doesn't resolve html tags.
Please help.I did something like this:
public
class GUI
extends JFrame {
//previous code - no changes
public static void main (String [] args) {
GUI g = new GUI();
StringBuffer buf = new StringBuffer();
try {
buf.append("<b>bb</b>");
buf.append("<b>ccc</b>");
// First append to document
g.pane.setText(buf.toString());
//Second append
buf.append("<b>ddddd</b>");
g.pane.setText(buf.toString());
} catch (Exception e) {
System.out.println(e.getMessage());
I know that this method is not smart and doesn't look good, but it works.
If you know how to append html using HTMLEditorKit and HTMLDocument please write some example. -
How to write HTML code in Web Template for selection screen
Hello All,
Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
if so, how.
My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen. I was thinking of putting this text using HTML code in the selection screen.
Regards,
Nagendra.Hi Erick,
No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
Regards,
Nagendra. -
How to display HTML formatted text in the field with Item Style: Raw Text
How can I display HTML formatted text in the field with Item Style: Raw Text.
Currently the Item Style is Raw Text, but the text is being displayed along with HTML tags without formatting.
RegardsHi,
Use Item Style formattedText.
Regards,
Gyan -
How to write a unicode text in pdf file
Dear Friends,
I am a beginner in acrobat pdf plug-in development. I was trying to write a unicode text (Tamil text) into pdf file.
Using same api I am able to write english text in time-roman, areal etc fonts. But I am not able to write tamil texts.
The code is as below:
memset(&pdeFontAttrs, 0, sizeof(pdeFontAttrs));
pdeFontAttrs.name = ASAtomFromString("Latha");
pdeFontAttrs.type = ASAtomFromString("TrueType");
pdeFont = PDEFontCreateFromSysFont( \
PDFindSysFont(&pdeFontAttrs, sizeof(pdeFontAttrs), 0), \
kPDEFontCreateEmbedded);
pdeText = PDETextCreate();
PDETextAdd(pdeText, kPDETextRun, 0, (ASUInt8 *)buffer, _tcslen(buffer),
pdeFont, &gState, sizeof(gState), NULL, 0, &textMatrix, NULL);
PDEContentAddElem(pdeContent, kPDEAfterLast, (PDEElement)pdeText);
PDPageSetPDEContent(pdPage, gExtensionID);
PDPageReleasePDEContent (pdPage, gExtensionID);
KIndly assume that PDEGraphicsState and PDETextMatrix are set properly set, I am not pasting entire code to avoid complexity.
Thank you,
SafiqDear lrosenth,
I went through some codes/suggestions in internet and I found that I need to have cmap file and cid font file for the respective font since pdf doesn't support unicode fonts directly.
Can you help me to know where can I get cmap file and cid font file for tamil language font Latha(TrueType) microsoft font.
Regards,
Safiq -
How to Write BUFFER & Read TEXT with Encrypt file ?
I'm using Windows Phone 8.1 RT.
I have a issue :
- I write a BUFFER encrypted to file. After, I read file with TEXT. It's throw exception : No mapping for the Unicode character exists in the target multi-byte code page. (//ERROR 2)
- I write a TEXT encrypted to file. After, I read file with BUFFER. It's throw exception : The supplied user buffer is not valid for the requested operation. (//ERROR 1)
Code Write Buffer & Read Text.
//Write Textstring msg = EncryptText.Text;
//ERROR 1 - Use 1 or 2
await WriteTextAsync(this.file, msg);
//ERROR 1
//Read Buffer
string msg;
//ERROR 1 - Use 1 or 2
IBuffer buffer = await ReadBufferAsync(this.file);
StreamReader stream = new StreamReader(buffer.AsStream());
msg = stream.ReadToEnd();
//ERROR 1
Code Encrypt-Decypt.
public static string EncryptString(string msg)
var bufferMsg = CryptographicBuffer.ConvertStringToBinary(msg, BinaryStringEncoding.Utf8);
var bufferMsgEncrypted = Encrypt(bufferMsg);
var msgEncrypted = CryptographicBuffer.EncodeToBase64String(bufferMsgEncrypted);
return msgEncrypted;
}public static IAsyncAction WriteTextAsync(IStorageFile file, string msg)
return FileIO.WriteTextAsync(file, EncryptString(msg));
public static IBuffer Decrypt(IBuffer bufferMsg)
var key = CreateKey(KEY);
var aes = SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithmNames.AesCbcPkcs7);
var symetricKey = aes.CreateSymmetricKey(key);
var bufferMsgDecrypted = CryptographicEngine.Decrypt(symetricKey, bufferMsg, null);
return bufferMsgDecrypted;
}public static IAsyncOperation<IBuffer> ReadBufferAsync(IStorageFile file)
var buffer = FileIO.ReadBufferAsync(file);
Task<IBuffer> result = Task.Run<IBuffer>(async () =>
var Buffer = await buffer;
return Decrypt(Buffer);
return result.AsAsyncOperation();
Link demo code :
https://drive.google.com/file/d/0B_cS3IYO936_akE0cmI4bExJMjh0RU9qR3RvWDBWWElZWC1z/view?usp=sharingPlease provide a working app so this can be tested. You can upload to OneDrive and share a link here.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Forgot how to format HTML in Text Area
Hello all,
I totally forgot something. How do you format HTML when rendering in Text area
Suppose I pass in a string that a text area grabs for display.
xxx.getAdditionalComments(existingComments + "\n" + "<B>" + date + "<\B> " + name);The text are will always display the <B> instead of displaying the date in bold.
I remember putting escape characters eons ago but I forgot how that worked. Anyone know how to render this with date being bolded?
Thanks.If you mean the textarea HTML tag for text entry fields, you don't. If you forgot anything it's that you can't do things like that.
-
How to write single line text file
Hi, I need to write a single line text file using oracle forms 10g that's usually quite long 8million+ characters, I looked into utl_file but came accross the single line limit, is there any way to do this either to the client pc or to the server
ThanksI tried using put_line but i get a ORA-29285: file write error´I´m guessing this is because of the amount of data to be written on a single line
-
How to write html email using plsql
I have to add html text in e-mail code so what i have to do...??
follwing is code
create or replace PROCEDURE TEST_EMAIL
(mailhost IN VARCHAR2 DEFAULT 'smtp.gmail.com',
sender VARCHAR2 DEFAULT '[email protected]',
recipient IN VARCHAR2 DEFAULT '[email protected]', -----code change , removed ')' add ','
port_number IN NUMBER DEFAULT 465
IS
mail_conn UTL_SMTP.CONNECTION; -----code change added mail_conn UTL_SMTP.CONNECTION;
BEGIN
mail_conn := UTL_SMTP.OPEN_CONNECTION(mailhost, 465);
UTL_SMTP.HELO(mail_conn, mailhost);
UTL_SMTP.MAIL(mail_conn, sender);
UTL_SMTP.RCPT(mail_conn, recipient);
UTL_SMTP.OPEN_DATA(mail_conn);
UTL_SMTP.WRITE_DATA(mail_conn, 'This is a test message.' );
UTL_SMTP.WRITE_DATA(mail_conn, 'This is line 2.');
UTL_SMTP.CLOSE_DATA(mail_conn);
UTL_SMTP.QUIT(mail_conn);
END;
please suggest me
thanks advance
Edited by: 969091 on Dec 22, 2012 1:54 AMYou ask on APEX forum then probably you would like send mail from apex context. If Yes, you have to:
1. Configure Instance setting (INTERNAL Workspace) -> Email
2. Create plsql according APEX API http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_mail.htm#CIHDIEJI
Remember, if you will run it from out of APEX you have to set SECURITY GROUP first.
Also commit it on the end of plsql plock/procedure
3. Wait about 10 minuts for email -
How to write '\n' in text file instead of newline
Hello Everyone,
I am trying to write 'C:\DOCUME~1\nXXX\LOCALS~1\Temp' in a bat file using client_text_io but *'\n'* in the path is taken as a new line character and the path is broken into two lines and written to the file. Hence my bat file doesnt work. I would need to write '\n' in the file as there are many reports which has '\n' in the output. Please provide a solution for writing '\n' in the file without getting it converted to a new line.
DECLARE
out_file client_text_io.file_type;
BEGIN
:GLOBAL.TEMPDRIVE :=client_win_api_environment.get_environment_string('TEMP'); --output is 'C:\DOCUME~1\nXXX\LOCALS~1\Temp'
out_file := client_Text_IO.fopen(:GLOBAL.TEMPDRIVE||'\chkdirz.bat', 'w');
client_Text_IO.PutF(out_file,'chdir '||:GLOBAL.TEMPDRIVE||'\ \n');
client_Text_IO.PutF(out_file,'if EXIST '||:GLOBAL.TEMPDRIVE||'\EXFOL\ null goto batend \n');
client_Text_IO.PutF(out_file,'mkdir '||:GLOBAL.TEMPDRIVE||'\EXFOL \n');
client_Text_IO.PutF(out_file,':batend \n');
client_Text_IO.fclose(out_file);
synchronize;
CLIENT_host('cmd.exe /c '||:GLOBAL.TEMPDRIVE||'\chkdirz.bat',NO_SCREEN);
END;christian erlinger wrote:
When you want to print out an escape character in java (java is doing the work in client_text_io ), you'd need to escape it.
client_text_io.put_line(out_file, replace('your_path', '\','\\'));cheersI tried replacing \ with double slash but it just printed double slash in the bat file. again the path was broken into two lines.
file output
chdir C:\\DOCUME~1\
195969\\LOCALS~1\\Temp\
Edited by: rivas on Mar 21, 2011 6:03 AM -
i want to generate a sequence of strings like:
-a001- world
-a002- universe
kindly suggest how to do ittry {
FileWriter out = new FileWriter("C:\temp\myfile.txt");
out.println("-a001- world");
out.println("-a002- universe");
out.println("....");
out.flush();
out.close();
} catch(Exception e) {
System.out.println(e.getMessage());
} -
How to write HTML code in OBIEE version 10.1.3.2.1
Hey Everybody,
I currently have OBIEE version 10.1.3.2.1 and I need to do some HTML and Javascript in the dashboard. Apparently this version of OBI does not have the ability to create HTML and I'm not able to upgrade to a newer version that does. Does anybody know a way around this issue so I could create a button or a popup window in this version of OBIEE? Thanks,
JeffHi Grant,
I have been hearing since quite some time now that slowly Oracle is shifting its focus towards J2EE and Java based technologies and there are plans also to make Forms obsolete in future.
What is your comment on this?
Thanks and Regards
Amit Trivedi
Maybe you are looking for
-
PO upload - migrate the open GR/IR balances
Hi, We are in pre-go-live period and create a strategy for Purchase Order open items. We are migarting from SAP 4.6C to ECC 6.0. The scenario is: a. PO -100 qty, GR 50 Qty, No IR b. PO-100 qty, GR 50 qty. IR-25 qty c. PO-100 qty, GR 100 qty, No IR Cl
-
Itunes won't open, no error, just won't show up at all
I have an older version of itunes stuck on my computer because i cannot open itunes to upgrade or download a newer version from online. There is no error message or anything. Nothing happens when you click on it. It's very frustrating. I'd appreciate
-
How can I turn off an iPhone 5 that has a broken lock button and is frozen?
I have an iPhone 5 and my screen has been frozen for about 20 minutes and the lock button is broken. I have assistive touch but that is also frozen. Are there any ways to turn off my phone?
-
Today I'm getting an "unknown error occured (4010)" when iTunes Match tries to update. It sits at "Waiting for Apple to deliver your iTunes Match result..." for awhile and then it puts up that error. It did so both before updating to iTunes 10.7 (W
-
Translating ms-access sql to oracle sql
I would like to translate this ms-access sql to oracle sql. SELECT CStr(STUDENT_ID), FIRST_NAME, LAST_NAME, IIF(LEN(CLASS_CODE)=3,"Y","") AS "ELEMENTARY_SCHOOL", IIF(LEN(CLASS_CODE)=4,"Y","") AS "MIDDLE SCHOOL", FROM T_STUDENT Thanks in advance for y