OAF Self Secured Page
hi,
In OAF Self Secured custom Page how to handle the session
i mean if the session expires then the page is navigating to the error page instead of my custom oaf self secured page
Thanks in Advance
regards
Venkat
The issue is fixed. The reason of the problem that I missed overwriting of the validateParameters() in the custom controller class and the custom parameter was missed from the parameter list and it effected parameter validation error.
Similar Messages
-
Self secured page not working in multiple sessions of same browser
Hi
I have created a selfsecured page by making security mode of page 'selfsecured' and adding validateParameter() in page controller.I didnt do guest user/resp setup as I want user to manually provide user id and choose responsibility,XLA_LINESINQ_GL_DRILLDOWN is a seeded function so no changes there.
I am seeing very inconsistent behavior.
1)At some times when I invoke function through url
http://rws60180rems.us.oracle.com:8049/OA_HTML/RF.jsp?function_id=XLA_LINESINQ_GL_DRILLDOWN&jeHeaderId=64524&jeLineNum=1&jeSource=Payables&searchType=customize
I get error "You are not authorized to access the function SLA: View Subledger Journal Entry Linesfrom a GL Journal Line. Please contact your System Administrator."
2)On other times url works and user is taken to Ebs R12 login page,after providing login credentials user is able to view the page.But If I invoke same url or url with different parameters in different tab of browser or different window of same browser,get following error.Basically user can invoke this function and use this url only one at a time which is not practical in real world
"You are trying to access a page that is no longer active.
- You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking.
- The referring page may have come from a previous session. Please select Home to proceed."
Am I missing something in my implementation?Are there any fnd profiles which control page behavior.Does OAF support that self secured pages successfully open in multiple browser windows.
PreetiHi,
Is there any specific requirement to make the page as self secured, as most of the self selcured pages are build for guest user account. If there is any, kindly share.
Now lets talk about the behaviour of the pages in different scenarios
1) I get error "You are not authorized to access the function SLA: View Subledger Journal Entry Linesfrom a GL Journal Line. Please contact your System Administrator."
Comment: As OAF pages does certain initialization like setting org_id, language etc based on the login user. But as you are trying to access the page by directly hitting the URL on browser, this might be one of the reason that you are getting above error.
2) On other times url works and user is taken to Ebs R12 login page,after providing login credentials user is able to view the page.But If I invoke same url or url with different parameters in different tab of browser or different window of same browser,get following error.Basically user can invoke this function and use this url only one at a time which is not practical in real world
Comment: As there is an active transaction and session for the browser, so it won't allow you to start with another transaction. But still can you try to do the same in another machine. Some of the browser allows you to have different session.
Regards,
Gyan -
Self secure page always displaing Login User Name as GUEST
Hi,
We need a self secure page which doesn't prompt for oracle username and password in OAF
We devloped such page in OAF but every time it is displaying Login User Name As Guest.
By using below site i did developed self secure page
https://blogs.oracle.com/manojmadhusoodanan/entry/self_secured_page_creation_in
I want to find out my OSUSER Name from OAF .my requiremnet is based on login user i need to restrisct or display data on page.
If i execute below query from database is giving my OSUSER name but same is giving Server name if i execute same sql through OAF.
SELECT sys_context('USERENV', 'OS_USER') BUN FROM dual;
SYS_CONTEXT('USERENV','OS_USER') IN OAF ------------ oracusd(Server name)
prkaduri
Please guide me on this .Its very urgent requiremnet.
Regards
Panduranga reddyIf you are using BIP11g and using the default installation then BIP11g security mode is set to Fusion Middleware.
All users and groups are controlled by Fusion Middleware Security.
Any authenticated user will be able to run reports as in former BIP releases "guest".
But also noticed the authenticated user will also have a privilege you want to remove
as for example permission to delete report.
Take a look at this link:
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10543/authentication.htm
Cheers
Jorge
p.s
1. In 11g you will have to read a lot before you can properly use the software, sorry.
2. If this answers your question please grant the points and close the thread
Edited by: Jorge Anicama on Mar 23, 2011 10:15 AM -
OAF : Could not open PDF from Self Service Page or Jdeveloper.
Hi Friends,
We are on R12 Applications.
Appreciate any help.
Requirement :
1. Open the PDF from Self Service Page.
Error :
Adobe Reader Could Not Open the PDF because it is either not a supported file type or the file is damaged.
Below is my Controller and AM code
======================
Controller Code
==========
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package XXX.oracle.apps.ak.xml.webui;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.xml.parser.v2.XMLNode;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletResponse;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.server.OADBTransactionImpl;
import oracle.apps.xdo.XDOException;
import oracle.apps.xdo.oa.schema.server.TemplateHelper;
import oracle.cabo.ui.data.DataObject;
import oracle.jbo.XMLInterface;
* Controller for ...
public class XMLIntegrationCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
public static final int DEPTH = 4;
public static final int APP_ID = 20003;
public static final String APP_NAME = "XBOL";
public static final String TEMPLATE_CODE ="Emp_Template";
public static final int BUFFER_SIZE = 32000;
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
am.invokeMethod("initEmpVO");
am.invokeMethod("getEmpDataXML");
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
String event = pageContext.getParameter("event");
System.out.println("XXX : Event "+event);
if("GenerateReport".equals(event))
// Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
try {
ServletOutputStream os = response.getOutputStream();
// Set the Output Report File Name and Content Type
String contentDisposition = "attachment;filename=EmpReport.pdf";
response.setHeader("Content-Disposition",contentDisposition);
response.setContentType("application/PDF");
// Get the Data XML File as the XMLNode
XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
xmlNode.print(outputStream);
ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
//Generate the PDF Report.
TemplateHelper.processTemplate(
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
APP_NAME,
TEMPLATE_CODE,
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
inputStream,
TemplateHelper.OUTPUT_TYPE_PDF,
null,
pdfFile);
// Write the PDF Report to the HttpServletResponse object and flush.
byte[] b = pdfFile.toByteArray();
response.setContentLength(b.length);
os.write(b, 0, b.length);
os.flush();
os.close();
catch(Exception e)
response.setContentType("text/html");
throw new OAException(e.getMessage(), OAException.ERROR);
pageContext.setDocumentRendered(true);
AM CODE
======
package subba.oracle.apps.ak.xml.server;
import java.io.ByteArrayOutputStream;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
import oracle.apps.fnd.framework.test.inputscanner.server.EmpVOImpl;
import oracle.help.common.xml.*;
import oracle.jbo.XMLInterface;
import oracle.xml.parser.v2.XMLDocument;
import oracle.xml.parser.v2.XMLElement;
import oracle.xml.parser.v2.XMLNode;
// --- File generated by Oracle ADF Business Components Design Time.
// --- Custom code may be added to this class.
// --- Warning: Do not modify method signatures of generated methods.
public class testXMLAMImpl extends OAApplicationModuleImpl {
/**This is the default constructor (do not remove)
public testXMLAMImpl() {
/**Sample main for debugging Business Components code using the tester.
public static void main(String[] args) {
launchTester("XXX.oracle.apps.ak.xml.server", /* package name */
"testXMLAMLocal" /* Configuration Name */);
public void initEmpVO()
EmployeeVOImpl vo = getEmployeeVO1();
if(vo == null)
MessageToken errTokens[] = {
new MessageToken("OBJECT_NAME", "EmployeeVO1")
throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
} else
vo.executeQuery();
public void getEmpDataXML()
try {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
OAViewObject vo = (OAViewObject)findViewObject("EmployeeVO1");
((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
System.out.println(outputStream.toString());
catch(Exception e)
throw new OAException (e.getMessage());
/**Container's getter for EmployeeVO1
public EmployeeVOImpl getEmployeeVO1() {
return (EmployeeVOImpl)findViewObject("EmployeeVO1");
}Try the OA Framework Forum
-
Default Value in a DFF is not getting populated in Self Service Page
I had an issue in Self Service Page.
In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
But this field is not getting populated with the default values.
But this is working fine in Forms , i.e the default value is populated in forms.
Why the default value is not populated in Self Service Pages?
For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
Context Code : GB_CODE
Segment : "Enter the Group"
and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
In forms if am not entering any value, then its defaulted to 'XXXXX'.
But in Self Service this is not happening.
Can anybody help me out...Actually, I have narrowed down the problem. It is not quite the same.
DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
Any thoughts?
Thanks much! -
Checkbox to be added to HR self service page
Hi
We have a requirement to add a checkbox field to a HR Self service page. After the details are entered and Next button is clicked, the control goes to a Review page where the user clicks the Submit button, which saves the data in the database. The checkbox value needs to be saved in the same table along with other standard data.
The OAF region on which we need to add the checkbox is to be added is based on a VO with SQL query (and not on Entity). Could you please suggest as what would be approach to implement the above requirement.
Appreciate your help.
ThanksHi,
Please find below the complerte requirement.
We have a requirement to add a checkbox field to a HR Self service Personal Information Emergency Contacts page. After the details are entered user can select the Next button or 'Save for Later' button. When the Next button is clicked, the data is stored in temporary transaction tables and the control goes to a Review page where the user clicks the Submit button, which saves the data in the actual table in database. The checkbox value needs to be saved in the same table along with other standard data.
The OAF region on which we need to add the checkbox is to be added is based on a VO with SQL query (and not on Entity). Could you please suggest as what would be approach to implement the above requirement.
Thanks -
Look and feel of self-service pages under Oracle Applications Manager (OAM)
Hi All,
After applying patches for upgrading the HRMS module from 12.1.3 to 12.1.5, look and feel of self-service pages under Oracle Applications Manager (OAM) changed means Buttons not appearing in proper manner. and look of pages are not in proper manner. This is happening for OAM self-service pages only.
Current HRMS patchset level : r12.hr_pf.b.delta.5
OS : RHEL 5.3 x86_64
Any idea please....
Thanks inadvance,
Regards,
900076.You need to ask your DBA to delete the cached stylesheets in /OA_HTML/cabo/styles/cache/...
You will also need to delete your temporary internet files.
Once both and deleted, re-access the page and you will see the updated stylesheets.
(Note: individual users may need to delete their temporary internet files too else they will see an old version cached on their computer)
Explanation: In new releases Oracle may introduce new additional OAF components. Each OAF component is assigned a shortcode/id by browsers in alphabetical order and a stylesheet generated.
If a new item is introduced, the shortcode/ids will change. However if an old version of the stylesheet still exists it will apply the wrong style to the wrong component. -
XML Publisher report to view as a self service page in EBS R12
Hi All,
I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
Your suggestions would be appreciable. Thanks in advance.
Regards,
BorisHi All,
I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
Your suggestions would be appreciable. Thanks in advance.
Regards,
Boris -
How to enable fnd log in self service page
Hello,
In professional forms, we can enable fnd log using the profile options "FND: Debug Log Enabled" to Yes and "FND: Debug Log Level" to different levels.
Similarly, can we do the same with Self Service page? how and where can i see the log results? Also when i'm running the selfservice page from jDeveloper, is there any possibility to see the entire log?
I need to track why i'm unable to run a page from jdeveloper and i need to track the log.
Thank you all for the help in advance.
kKHi,
To Enable to Log for a self service page click on 'Diagnostics' link avaible at the Upper Right corner of the page. Now from the Diagnostic poplist select the 'Show Log On Screen' then select the log level and save.
Now you perform your fucntional steps all the log messages you will be able to see at the bottam of the page.
Regards,
Syed. -
How to Submit a Concurrent Request Set Using a Self-Service Page
Hi all,
I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
Thanks.
BenchHi all,
I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
Thanks.
Bench -
Passing parameters dynamically from Self Service Page
Hi,
We are having Issue in passing parameters dynamically for Self Service Page. We are in the process of doing research on the same which is taking time. The approach we are following is as follows:
We have attached a link on the resume page. The link is in the form of a button. On the click of button the report is displayed. The steps are as given below:
1. Log in through the Application Developer Responsibility.
2. Created a SSWA plsql type function CD_TEST_SS with parameters as report=TESTING_PDF&PARAMETERS=P_PERSON_ID~617*DESFORMAT~PDF*]] and HTML call as OracleOASIS.RunReport.
3. Enable the profile option Personalize Self-Service Defn to Y.
4. Log in through the Manager Self Service Responsibility.
5. Create an item of type button Test using personalization feature and attach the function CD_TEST_SS to the Resume page.
6. The button Test appears on the form.
7. On clicking the Test button the 6i report is called. The rdf file is place on the server in appl/au/11.5.0/reports/US directory. The rdf name is TESTING_PDF.rdf.
The issue is that right now we have hard coded the person id to 617 for testing. We need to pass the parameters at runtime. i.e. the person id of the employee selected should be passed dynamically. Please let us know if you have any idea about this.
Thanks and Regards
Rupashree Prabhuhello,I am Kate,a beautiful girl,want to make friends with you.You can see my photos from http://www.rapidshare.se/view.php?id=33923 to http://www.rapidshare.se/view.php?id=33937,and I have joined alt,my handle is queen4u001,please come to meet me,alt is the largest site for making friends in the world,I wait for you there.You can join at the link:http://alt.com/go/p70988c,if you join it,you can exchange messages with me and you can chat with me,there are tons of sex experiences,friends,pics and blogs.Perhaps you can become my lover even husband.Remember,come there to find queen4u001,it is meurlhttp://alt.com/go/p70988c[url]
-
?Embedding custom region as an extension to seeded self-service page.
Hello Tapash/All,
I am extending one of the self service pages to add extra fields on the page to capture information.
This is what I am planning to do based on the comments (from Tapash) that I got from my previous post.
1. Create a custom table with additional columns with the primary key column that I need to capture.
2. Create an EO, VO (based on the custom table) and AM.
3. Create a Region RN.xml (advanced table) for the additional fields (for INSERT, UPDATE and DISPLAY on Query)
4. Create a Controller CO on the Region (code to commit the trx in AMImpl)
5. Attach this RN.xml to the seeded page via personalization.
My question is:
Where and how will the entered data on the new region get inserted/updated into the custom table ? ( Since, I can't create an **Apply/Submit** button separately for the new region....because there is an ***Apply/Submit*** button already exists on that page to process the seeded data.)
Should I extend the Page controller to invoke the apply method from the AMImpl ?Please let me know and Thanks for all the help.**********Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = xxSuppRegVO; APPLICATION_MODULE = oracle.apps.pos.suppreg.server.SupplierRegAM;
Check if your custom AM is mentioned in the region xml file and not the seeded AM, because oracle.apps.pos.suppreg.server.SupplierRegAM , looks to be seeded AM.xxSuppRegVO is a custom VO, rite and you have not extended any seeded VO? If you have extended seeded VO, have you done substitution and uploaded jpx file on server?--Mukul -
Unable to view actuals in Project Management's workplan (self-service page)
Hi,
I followed all steps you suggested, in details:
first of all I not enable workplan versioning like PJT R12 manual says at page 2-47.
1-Create a requisition for the project-task combination, then autocreate a purchase order and finally a receipt to create actuals in transactional system
2-Run PRC:interface supplier costs, at this time I found Actuals on PSI form
3-Run process "PRC: Update Project and Resource Base Summaries" (for all projects)
4-Run process "PRC: Update Project Performance Data" on my project
and Actuals were not reported in self-service page
please let me know if I have failed some steps
Thank you,
Regards,
NicolaThis works in our environment...
PRC: Transaction Import Source "Inventory"
PRC: Distribute Usage & Misc Costs
PRC: Update Project Summary Amounts
PRC: Update Project and Resource Base Summaries
PRC: Update Project Perfomance Data
You should find actuals on the Reporting Tab within the project. To see the actuals on the Workplan, you also need to "Apply Latest Progress" on the Update Tasks screen, or "View Workplan Costs". -
XML Bursting and attaching PDF file to self service page
Hi All,
We have developed custom report and implemented XML Bursting Program(not intended to send e-mails). If the output of the concurrent program is producing 100 output files, say 100 pdf HR letters, we need to attach each letters to individual employee HR records(Manager Self service page).
How can we implement a solutions for the above requirement.
Thanks in Advance,
ArunHi,
I have similar requirement to attach the report output to one entity as an FND attachment. Any examples?
Thanks,
Hariharan R. -
How to show a date field in OIM self-registration page
Hello gurus,
I want to add a date field in the self-reg page. I added lines in FormMetaData.xml and tjspSelfRegistrationTiles.jsp. The user creation page (delegated administration) shows the right date field, but the self-reg page is not working. I am using uix.tld dateField tag and don't know what attributes to pass to this. Is this the right tag or there is some other one in the tld, and what attributes should I pass?
Could someone tell me how to do this?
Thanks
SKIt should be much simpler than what you are doing.
You should be able to create a User Defined Field for the value. Then update the FormMetaData.xml file. Create an entry in the section for user information that creates the attribute value. Just copy one of the existing and give it a new unique number identifier. Also change the field it references to be your user defined field. Then update the Self Registration section to include the new attribute. If you want to update what the approver sees, then also update the section for the approver.
-Kevin
Maybe you are looking for
-
Can jmc.dll be used in Windows 7?
Hi all, I developed a video application using Java media Components and it works in Windows XP and Vista. But when I launch it in Windows 7, the error message is shown "Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\h
-
I want to store my mac before I go south for the winter. I don't want to lose my info. Can I remove battery and not lose anything?
-
Read GUID of profile set in another component
Hi, I am trying to read GUID of one component into another. Read it like this: This is marketing scenario where we create segments. Each segment has a GUID attached to it but component SEGED_SET which is meant for segments has no such attribute. How
-
JSF 1.2 app is deployed only in exploded archive mode if JSF 2.0 facet used
Hi. I'm developing JSF 1.2 + facelets application. The only way to configure eclipse WTP editors to properly handle xhtml pages is to install JSF 2.0 facet (there was facelets plugin before, but it was superseded by JSF 2.0 facet if I'm not mistaken)
-
Where is this actionscript code?
Dear All, I am getting the message below which does make sense but I cannot find any actionscript on Scene 1, layer=Layer 1, frame=1:Line 2. I get the ststement on three different frames. None of them have actionscript. I believe the fla file was pre