Dynamic hyperlink in the Table of the OFA
Order lines with several invoice as vo having attribute6 FDF data link field, we allow the attribute field, but each line having a link is there so that you can help me how to view dynamic links
Kind regards
Madhu
Post edited by: 2681499 screenshot above, I added Bill vo URL but if click on the link that I got the error
If specifying the attribute name, as suggested is not working, use the code below:
OAMessageStyledTextBean messageStyledTextBean = (OAMessageStyledTextBean) webBean.findIndexedChildRecursive(""); OADataBoundValueViewObject urlValue = new OADataBoundValueViewObject(messageStyledTextBean, "Attribute6"); messageStyledTextBean.setAttributeValue(messageStyledTextBean.DESTINATION_ATTR, urlValue);
See you soon
AJ
Tags: Oracle Applications
Similar Questions
-
"ClickTAG" on the text of the dynamic hyperlink in the scroll box
Hello-
Is it possible to add a "clickTAG" for purposes of dynamic text (hyperlink) track in a scrollbar in Flash CS5? I never just added a "clickTAG" to a button or banner before.
Thank you!
I don't know what is an area of the scroll bar, but here's how you can code a link to a function of ACEs using text in a TextField and AS3...
aTextField.htmlText = "here is your text link";
aTextField.addEventListener (TextEvent.LINK, linkEvent);function linkEvent(evt:TextEvent):void {}
your code "clickTAG" here}
-
How can we dynamically open an external URl of the page of the OFA
Hi team
Hello, how can we dynamically open an external URl of the page of the OFA
For example: my datas table DB are like that
When I don't ask used no 1 of my Search PageEmployee no Url 1 https://www.google.co.in/ 2 https://www.facebook.com/ 3 https://www.yahoomail.com/
In the result of my search page table, I get
1 https://www.google.co.in/
NOTE: Here item URL is type bean link when I click on the link it should open google page in separate browser
At the same time, when I question used no 2 which is shown below, then it should open facebook page in a separate browser.
2 https://www.facebook.com/
When I try this
Destination URI - https://www.google.co.in/
It opens no separate browser, but for employees don't I question as open 1,2,3 only the same page of google in the separate browser for everyone, it is static, I want to dynamically open the URL depend on my employee to query no. If I query emp No 2 it must open facebook page this is my requirement. How can I pass the URL as a parameter?
Please share your knowledge and experience and your advice my on this issue
How can I complete my task
I hope that my requirement is clear, if not please let me know I explained more anyway :)
Is it Possible to achieve this OAF Page
Thank you for all your suggestions on this
Thanks in advance
A.T. :).findIndexedChildRecursive ("ResultTable");
Here, you should have the exact itrm link id and not the region containing the lino
Would it be more likely ImagePath I think ResultTable corresponds to the id of the table of search results
-
We wrote a history of 96 page of our community and have a vast hyperlink of contents table which works fine so that in the Pages.
But when we export it file to PDF Table of contents is no longer a hyperlink
Any help is appreciated
Tom
Pages v5.6.2 does not PDF export with functional links in the Table of contents. Pages ' 09 v4.3 exports PDFS with active hyperlinks in the Table of contents. Both tested on OS X 10.11.5.
-
hyperlink in the table cell?
Hi all
We need to navigate a path for each row in the table control. Is it possible to have a hyperlink in a table for each row cell? or do I have to use button battery to do the same thing?
Kind regards
Kanu
The answer is, you can't. However, the custom hyperlink control is open-source. You can find the source in toolslib\custctrl\hyperlinkctrl.c. It's a pretty simple code module, so it is not all that difficult to modify this code so that it could work in a table cell, rather than a message text control.
Luis
-
How to change the background color dynamically on the page of the ofa
How to change the background color dynamically on the page of the ofa
Hello
Can you please let me know the dynamic conditions to change the background color?
Thank you
Vincent
-
Hi all
Suppose I have table, whose structure changes frequently on a daily basis.
For example. / / desc my_table gives you after the name of the column the day 1
SQL > my_table DESC;
Output
Name
Age
Phone
Day 2, two other columns are added, viz, address and salary.
SQL > my_table DESC;
Output
Name
Age
Phone
Address
Salary
Now, I want to create a Dynnamic RTF report which made extracting data from all columns from my_table daily. For this, I have defined a simultaneous program with XML output type and include in annex a data/definition of data model that takes XML as input and gives the final result of the conc program in EXCEL layout. I am able to do that for a constant number of columns, but don't know how to do it when the number of columns to display dynamically changes.
For 1 day my XML file should be like this.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> </group> </dataStructure> </dataTemplate>
And my day 1, EXCEL output RTF model should be like this.
Name age phoneSwapnill 23 12345
For 2 days my XML file should be like this. With 2 new columns selected in the SELECT clause.
<?xml version="1.0" encoding="UTF-8"?> <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> <dataQuery> <sqlStatement name="Q2"> <![CDATA[ SELECT Name ,Age ,Phone ,Address ,Salary FROM my_table ]]> </sqlStatement> </dataQuery> <dataStructure> <group name="G_my_table" source="Q2"> <element name="Name" value="Name" /> <element name="Age" value="Age" /> <element name="Phone" value="Phone" /> <element name="Address" value="Address" /> <element name="Salary" value="Salary" /> </group> </dataStructure> </dataTemplate>
And my day 2, exit EXCEL model RTF should be like this.
Name address telephone pay23 12345 Madrid 100000 Swapnill
Now, I don't know below things.
- Make the dynamic XML as we did in the day 1 there are 3 columns in the SELECT statement and the day 2, 5 columns. I want to create a dynamic XML which must not be changed if the new columns are added into my_table. I don't know how to create this query and also create their corresponding items below.
- Make the RTF model dyanamic as day 1 there are 3 exit EXCEL columns and the day 2, 5 columns. I want to create a dynamic RTF model that would display all the columns selected in XML dynamic. I don't know how the RTF will create new XML tags and how it will know where to place them in the report. Means, I can create model RTF day 1, by loading the XML data for 3 columns and place 3 tags XML in the model. But how he will create and place the tags for the new columns the day 2?
Hope so, you got my requirement, it's difficult. Please let me know how I can implement the necessary solution using the RTF dynamically without any manual intervention.
Kind regards
Patricia K.
Post edited by: SwapnilK
Hi guys,.
I was able to solve above the requirement.
I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race. This dynamic XML contains the SQL statement for the data query that is built dynamically. I am updating this XML file using XDOLoader utility to the definition of data. Then run my program customized to generate the excel output.
Exit excel retrieves correct number of columns dynamically (3 on Day1 and Day2 5), with corresponding data records.
Kind regards
Patricia K.
-
No results displayed when you click on the following link in the table of the OFA
Hi all
We created a table OAF in the new Page of the OFA.
It works very well. But he has a problem.
If the records are more than 10 then the following link is displayed automatically.
And when you click on the link next to the table of the OFA, no record displayed.
It is very urgent. Any help will be much appreciated.
Thank you1. you don't need to identify the event click on 'next', because you don't need to do any action on this.
2. you call the AM method to run the query on the events of "SearchGoButton" and "SearchClearButton".
Here's the code you need to write:If ("SearchGoButton".equals (s))
{
pPersonId = temp.toString ();
Aserializable serializable [] = {pPersonId};Class aclass [] = {String.class};
pageContext.getApplicationModule (webBean) .invokeMethod ("ExecuteDailyAttendanceVO", aserializable, aclass);
}
ElseIf ("SearchClearButton".equals (s))
{
pPersonId = "-1";
Aserializable serializable [] = {pPersonId};Class aclass [] = {String.class};
pageContext.getApplicationModule (webBean) .invokeMethod ("ExecuteDailyAttendanceVO", aserializable, aclass);
}-Prince
[email protected]
http://princekapoor82.blogspot.com -
Need to download a CSV/Excel file to a table in the page of the OFA
I have a table of products can be changed on a page of the OFA. I provide this table with the button 'Download', clicking on, the user must be able to locate the file excel/csv(It contain some products) local office and be able to download it in the products table.
No idea how this can be done?
Do we need to use messageFileUpload > get DataObject > > convert StringBuffer > > > and divide it into lines > > > > insert each line through VO > > > > > refresh the VO?
Who is the process or do we not have any other process. If Yes can you please report it to a few examples of messageFileUpload?
Thank you
Sicard.' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
OAApplicationModule m = pageContext.getApplicationModule (webBean) (OAApplicationModule);
OAViewObjectImpl vo = am.findViewObject("XxCholaCsvDemoVO1") (OAViewObjectImpl);
If ("Go".equals (pageContext.getParameter (EVENT_PARAM)))
{
DataObject fileUploadData (DataObject) = pageContext.getNamedDataObject ("FileUploadItem");
String fileName = null;
String contentType = null;
Long fileSize = null;
Integer fileType = new Integer (6);
BlobDomain uploadedByteStream = null;
BufferedReader in = null;Try
{
fileName = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");
contentType = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_MIME_TYPE");
uploadedByteStream = (BlobDomain) fileUploadData.selectValue (null, fileName);
in = new BufferedReader (new InputStreamReader (uploadedByteStream.getBinaryStream ()));file = new Long size (uploadedByteStream.getLength ());
System.out.println ("FileSize" + FileSize);
}
catch (NullPointerException ex)
{
throw new OAException ("Please select a file to download", OAException.ERROR);
}try {}
Open the CSV file for reading
String lineReader ="";
t length = 0;
String linetext [];
While (((lineReader = in.readLine ())! = null)) {}
Split delimited data and
If (lineReader.trim () .length () > 0)
{
System.out.println ("lineReader" + lineReader.length ());
LineText = lineReader.split(",");t ++ ;
Print the current line current
System.out.println (t + "-" +)
LineText [0]. Trim() + "-" + linetext [1] .trim () + ' - ' +.
LineText [2]. Trim() + "-" + linetext [3] .trim () + ' - ' +.
LineText [4]. Trim() + "-" + linetext [5] .trim ());
If (! vo.isPreparedForExecution ()) {}
vo.setMaxFetchSize (0);
vo.executeQuery ();
}
Line = vo.createRow ();
row.setAttribute ("Column1", linetext [0] .trim ());
row.setAttribute ("Column2", linetext [1] .trim ());
row.setAttribute ("Column3", linetext [2] .trim ());
row.setAttribute ("Column4", linetext [3] .trim ());
VO. Last();
VO. Next();
vo.insertRow (row);}
}
}
catch (IOException e)
{
throw new OAException (e.getMessage, OAException.ERROR);
}
}
ElseIf (Upload".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
am.getTransaction () .commit ();
throw new OAException ("Uploaded SuccessFully", OAException.CONFIRMATION);}
}
} -
Go to a page of the OFA using link article
Hello
I am trying to create a link in a custom oaf page. The link would be url to another page of the ofa custom that would be retrieved from a table.
Link is as below
To do this, I did the following-
1. creates a rowlayout.
2. put a messagestyletext element for the "link name:" and put a link to the url element.
3 written a VO to extract the url mapped to the instance of the view and the table and the mode of the binding element of the VO attribute.
4. made its CSS class as oraLinktext
When I run the project, I see the link is completed as a hyperlink. As I navigate to the page of OPS, another form of inside this project, I replaced the table value of the actual url with the url of google.
To access the url, I've tried several things-
1 try to dΘfinir an firepartialaction event. capture the event in the code of the PFR in CO and get the url of the link item and go to the
String toc_url = pageContext.getParameter ("TOC"); Table of contents are the binding element ID
pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);
the toc_url returns null, as I have seen print its value, then of course the link is not navigate it there.
2 tried the following in the code PR in CO.
OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");
BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD"); Table of contents are the attribute view name
System.out.println (bindValue.ToString ()); oracle.apps.fnd.framework.webui.OADataBoundValueViewObject@1ff5160
toc_urlbean.setAttributeValue (toc_urlbean. DESTINATION_ATTR, bindValue);
After that the page load is complete, when I click in the link, page is not redirected to google.
I'm new on OAF, and being not able to manage it properly. Can someone help me on this please?
Thank you.
I got the solution.
I write down the solution if it serves to someone else newbie like me in the future...
Set a 'fake' event firepartialaction in the action element. Capture the event in the code of the PFR process as below - and CO
If (toc".equals (pageContext.getParameter (EVENT_PARAM))) {" "}
OALinkBean toc_urlbean = (OALinkBean) webBean.findIndexedChildRecursive ("TOC");
BindValue OADataBoundValueViewObject = new OADataBoundValueViewObject (toc_urlbean, "OCD");
String toc_url = bindValue.getValue (pageContext.getRenderingContext ()) m:System.NET.SocketAddress.ToString ();
pageContext.setForwardURL (toc_url, null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES);
}
bindValue.getValue (pageContext.getRenderingContext ()) is what gets the url in the mode of the binding element attribute.
-
dynamic data in the formula is originally running slow and weird results
I am collecting 11 channels of analog input voltage, then perform a series of calculations (different, editable) on each channel of the voltage to convert each temperature sensor.
My first step in calculations (with the help of multiply, subtract and divide blocks) works very well.
My second step of calculations (which includes a natural logarithm "ln") is performed with the formula block. However, the formula block has three red arrows where are the constants of entry, and the results of the formula block are intermittent and incorrect (if drawn, drop the lightning just drawn what looks like a value of 1 intermittently... If saved to a csv file, the results show a bunch of zeros and then a row of values, then more zeros).
I don't know if I need to convert my dynamic data in a table before feeding in the formula, or if there is another way by applying a complex formula of dynamic data, or...? I would stick with dynamic data because it makes tracing easier, but I'm open to other suggestions.
The answer is very simple- do not use Dynamic Data. I have never understood why NEITHER created this (other than to show "how easy it is to collect the DAQ and screw Express Wizard" (and not to mention that you lose a lot of control over what you do).) There have been many questions here in the Forums and a number of players with a lot more experience I have also made the same recommendation.
I don't know where the dynamic data in your case. If it came from the DAQ Assistant, by all means read this and get rid of this wizard!
Bob schor
-
A loop dynamic sql in the procedure
Hi guys,.
I'm having a procedure that will have two input start_date and end_date parameters
I need a loop in alter procedure statement something like this using dynamic sql
CHANGE TABLE M1
SWAP PARTITION FOR (TO_DATE('01-JAN-2015','dd-MON-yyyy'))
WITH TABLE T2
INCLUDING THE INDEX;
CHANGE TABLE M1
BY EXCHANGE COMPETITION FOR (TO_DATE('02-JAN-2015','dd-MON-yyyy'))
WITH TABLE T3
INCLUDING THE INDEX;
.
.
.
For example I have dates in setting something like January 1, 2015-4 January 2015
I need something like this, where T is a constant variable, I need to add T1, T2. T3 according to the dates of the range.
Hello
your procedure can not simply be rolled up, but the call session can be rolled up the output to a file.
Try something like this
col act_date noprint new_value act_date SET TERMOUT OFF select to_char(sysdate, 'yyyy_mm_dd_hh24miss') act_date from dual; SET TERMOUT ON set serveroutput on set feedback off set linesize 3000 col statement for a200 heading "-- alter statements" spool d:\temp\&act_date._&_CONNECT_IDENTIFIER._alter_partition.sql -- exec your_procedure -- or simple plain sql with data (start_date, end_date) as ( select to_date('01/01/2016', 'dd/mm/yyyy'), to_date('05/01/2016', 'dd/mm/yyyy') from dual ) select --level, to_char(start_date + (level - 1), 'dd-MON-yyyy' ) cur_date 'ALTER TABLE M1 EXCHANGE PARTITION FOR (TO_DATE(''' || to_char(start_date + (level - 1), 'dd-MON-yyyy' ) || ''',''dd-MON-yyyy'')) WITH TABLE T2 INCLUDING INDEXES;' || chr(10) || 'ALTER TABLE M1 EXCHANGE PARTITION FOR (TO_DATE(''' || to_char(start_date + (level - 1), 'dd-MON-yyyy' ) || ''',''dd-MON-yyyy'')) WITH TABLE T3 INCLUDING INDEXES;' as statement from data connect by level <= end_date - start_date + 1; spool off set feedback on prompt @d:\temp\mk_alter.sql
concerning
Kay -
dynamic action sets the value of the element, but not save to DB on submit
I'm working on a page where the value of several to show only the page elements are defined using a dynamic Action. They are set when the user selects a value in a list of selection (and is based on the value of the selection list). Dynamic action is triggered on a list selection change event and then runs the real action "set the value. The selection list displays the names of sales representative. The three fields dynamically filled are the org structure (that is, their chain management).
For the action to set the value, I use a defined Type of SQL statement:
Select VP, DIR, MGR
of SALES_ORG where SSR =: P20_SSR
In the affected elements, I have fixed Type of selection to the 'item (s)"and the value of the Item (s) for 'P20_GVP, P20_DIR, P20_MGR.
Dynamic action works fine for the display of the page (that is, when I select a sales representative in the selection list dynamic action properly updated only display value fields three). This page is a form in which the user submits information relating to the rep. When the page is sent, all fields are filled in a new record of DB with the exception of three that were populated dynamically above. These fields get the values NULL.
When the dynamic action updates the values in the three fields is - it does not set the value of session? Why these fields don't are not taken into account in the submit other ideas > process Page?
I use 5 APEX with Chrome on Mac (Yosemite).
Thanks for the note. I didn't only display the items could not be used in this way. I think I'll take a different approach with the design; given that the org structure is in another table that I can simply refer to that by rep when necessary rather than saving the information uploaded to the page of the form. The reason why I have not fill the screen only the points of loading the page is because I don't know what the values should be until the user selects a sales representative in the selection list.
I'll change the design to one of the following:
1) change the display only items of standard text field. NOTE: if I make the text read-only field that causes other problems when loading (I get the message "violation of protection Session state").
OR
2) do not include org structure in the download folder and just refer to table org Rep when necessary.
Thank you!
Steve
-
Problem change an internal hyperlink to the new destination
I work with a document (77 pages) created originally to InDesign CS5.5 on a Mac. I'm now working with her on InDesign CS6 on a Mac OS 10.7.4.
I need to update the destination of many of the existing hypertext links in the summary document title.
One of the problems is that the hyperlinks does not show that the document contains all the hyperlinks existing in the links Panel, which is strange. When I export the document as an interactive PDF, the table of contents is linked to internal pages.
Here are the steps I took:
- I pointed out the existing text (hyperlink) in the title of the summary document
- Choose new hyperlink Destination-> Type-> Page.
- Select the Page #.
- Sets the zoom value.
- Save the document.
- Export interactive PDF.
The link does not update to the new page # I selected.
I don't have the ability to create a new hyperlink, since it is grayed out.
I exported as an IDML and repeated all the steps. No difference.
Any ideas what I am doing wrong?
Kathryn
If you create a Table of contents using the table of contents function, this operation automatically creates a hyperlink and the destination is defined when the table of contents. These hyperlinks do not show in the hyperlinks Panel, like the links created manually. You will not be able to reallocate the destination in Indesign. The TOC links are visible in Acrobat by selecting the Connector tool, and then modify the destination, but not recommended for the many changes of destination. Where the content has been moved to different pages ID and manual changes to the table of contents, the destinations of these hyperlinks are probably not correct. You can delete all the external hyperlinks and regenerate a table of contents with the new link and created destinations and see if that fixes the problem.
-
How urlencode dynamic parameter in the HTTPService url
I created a small dashboard that uses a dynamic url for the HTTPService getting tha data for the chart. The url gets its querystring (a username) to the flashvars parameter in the wrapper. SRV. URL works great and fills in my table when the user name does not need to be encoded URL, but how can I urlencode the username that I need to do?
This is an excerpt from the packaging:
< script type = "text/javascript" >
var flashvars = {};
flashvars. UserName = 'Heather % 20% c3% 98zer ";Comment: I intend to dynamically generate the user name Although the above example is static. The user name is encoded in the wrapper.
This is an excerpt from the source MXML:
< s:Application creationComplete = "initVars ()" > "
[Bindable]
public var urlXML1:String;
private function initVars (): void {}
urlXML1 = FlexGlobals.topLevelApplication.parameters.UserName;
SRV. URL ="http://myserver.com/xml/YourSales.aspx?UserName=" + urlXML1.toString ();
SRV. Send();
}< mx:HTTPService id = "srv" url = "/ >
< mx:ColumnChart id = dataProvider = "{srv.lastResult.Data.Result"myChart"}"... "
Comment: urlXML1.toString () above should be encoded. This is my problem in my opinion. I can't wait to hear your advice.
Best regards Bo
var objParam:Object = {};
objParam ["UserName"] = urlXML1.toString ();
SRV. "URL ="http://myserver.com/xml/YourSales.aspx ";
SRV. Method = "GET";
SRV. Send (objParam);
Maybe you are looking for
-
Firefox crashes when I close a PDF file that had opened a website to my request.
Windows 64-bit Vista OS. Everything works fine until I close a site open PDF file. Then, Firefox hangs and must be closed and the Firefox process must be completed with the Windows Task Manager. Then only Firefox reloads.
-
Envelop printing - Photosmart Premium c309g-m
Please help - use Open Office - have implemented the size of envelope DL - have also established format of DL envelope on the printer. However, printer will print-it feeds an envelope in the print position and then tells me it is out of paper. Befor
-
M176n: M176n of MFP LaserJet Pro ePrint does not work
I have problem with my printer. I can't connect it to the ePrint service. EPrint functions is turning on and off without my knowlegde. After you have enabled ePrint in the web interface of the printer, printer does not print information sheet. When I
-
Control a Subvi VI main using the event Structure
Hi all I'm moving hand Vi VI Sub values... However, my Subvi works with a structure of the event. (Change in value). So when I run my main VI and I press the highlight (yellow bulb), the sub vi does not run... I'm sure... I m missing something very b
-
Quick question on the preloaded images
My new fuse supplied with some .bmp files preloaded into the Photo folder and some preloaded .jpg files in the pictures folder. What are these files? If I remove them, will I screw up anything? Music memory that could otherwise be used for savings