Sunday 6 December 2015

OAF Interview Questions

Question: In which method of Controller will you hide that bean/field/button/region programmatically?   1.      processRequest
   2.      processFormRequest
   3.      Both processRequest and processFormRequest
Answer: processRequest


Question: On any given OA Framework page, what is the sequence in which these methods will fire in a Controller?
    processFormData
    processRequest
    processFormRequest
Answer: processRequest
processFormData
processFormRequest


Question: What are the steps to embed a custom region into a standard OA Framework page?
Answer: 1. Choose personalize link on the page that needs to embed the OA custom region.
2. Search for Region where you want to extend.
3. Create an item of type region and label it to extend the Custom Page.

Question: What are different methodologies that you can consider to default value into a field?
Answer: 1. You could provide default values on the page/ region that you have developed.
2. You could default a value on the ViewObject definition for the attribute. You would do this if you wish to provide some value that is specific to a VO and not to an EO.
3. You could default a value on the Entity Object definition for the attribute if this is common to all VO's that are based on it.
4. You could modify the default value by applying personalization.


Question: What is the sequence of Personalizations override?
Responsibility Level
Site Level
Function Level
Organization Level
User Level
Answer:
Function Level
Site Level
Organizat ion Level
Responsib ility Level
User Level

That is if a personalization is done at Function Level and User Level. User Level personalization will take effect on the screen.


Question: In Oracle OA Framework, is the MDS page/document definition stored in database or in the file system?
Answer: The MDS document details are loaded into database, in the following sets of tables.
JDR_ATTRIBUTES
JDR_ATTRIBUTES_TRANS
JDR_COMPONENTS
JDR_PATHS
The Document is loaded via XMLImporter. 


Question: What is SPEL?
Answer: Simplest Possible Expression Language
It is an expression that will either return TRUE or FALSE.

Question: Properties that can be modified at run time using personalizations ( via SPEL) are :-
Answer: Rendered - To conditionally make a field in OA Framework hidden/displayed
Read Only - To conditionally make a enterable or non-enterable
Required - To make a field mandatory or non-mandatory
Enabled - To conditionally enable or disable that field


Question: What is the syntax of SPEL?
Answer:
${oa.FunctionSecurity.VARIABLE}


Question: What are the different methods for passing parameters?
Answer: 1. Tokens - e.g. vname={@AttributeName}
2. Hash Maps - e.g. HashMap variablename=new HashMap();
variablename.add("ParameterName",ParameterValue);
3. ThroughSession - e.g. pageContext.putSessionvalue("ParameterName",ParameterValue);


Question: What are the different token types used to pass parameter values?

Answer: {!Param} – encrypts the values while leaving {!} in URL. OAPageContext.getParameter is used to return the decrypted value.
{@Param} – encodes the attribute value while leaving {@} in URL. . OAPageContext.getParameter is used to return the decoded value.
{$Param} – plain token substitution (no encoding or encrytion). You must ensure that a substituted  value does not break the URL.

Question:
What is the property to set for an AM so that the transaction state is maintained across pages?
Answer: RETENTION_LEVEL property is set to value MANAGE_STATE of AM. 


Question: What is the purpose of retainAM flag in OAPageContext forwarding? What is the default behaviour?

Answer: retainAM=N releases all AMs held for the user during OAPageContext forwarding. While retainAM=Y tells framework to maintain all AMs for the user.

retainAM=N is the default behaviour.

Question: How do you move personalization from one machine to another?
Answer: Using the functional administrator responsibilty the xml file can be downloaded, this file contains the required personalizations done on a particular page. The same can be uploaded in different instance using XML importer utility.


Question: Can you de-activate Personalization’s against individual page selectively?

Answer: You can de-activate personalization s against individual pages selectively by clicking on button "Manage Personalization" in Functional Administrator responsibility.

Question: In OA Framework Self-Service screen, you wish to disable a tab. How will you do it?
Answer: The tabs on an OA Framework page are just like Sub-Menus. By entering menu exclusion against the responsibility, you can remove the tab from self-service page.

3 comments:

  1. "Great blog created by you. I read your blog, its best and useful information. You have done a great work. Super blogging and keep it up.php jobs in hyderabad.
    "

    ReplyDelete
  2. • Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingAzure Online course Hyderabad

    ReplyDelete