OAF customization of questionnaire template

Hi All,
I have a requirement to make the questionnaire in the appraisal mandatory. The questionnnaire is a template which has HTML code and is attached to the appraisal template. In the appraisal:
Update Appraisal button when clicked - Leads you to MAAppraisePG
This page has Complete Paths to Success button. This button needs to be made mandatory first so that users click on it before Apply button is pressed.
Once clicked and navigated inside, it has the questions listed in it and 3 buttons - cancel, save and Apply.
The approach thought of for the customization is:
1. Create a hidden session attribute in the Update Appraisal page. When Complete Paths to Succcess button is clicked, the session value should be set to 1.
2. The Apply button in this page looks for this value 1.
3. Once navigated inside, the questions are made mandatory for Apply. Save as Draft and Cancel will be optional. If Save as Draft is clicked, the control remains in the same page. If cancel is clicked it goes back to Update Appraisal page with session value 0.
4. So users will be forced to click Complete Paths to Success button and set session value 1 for Apply button and once inside, they will answer all questions which are mandatory for Apply button inside the questionnaire page.
Please let me know if this design is feasible. Also it would be great if i can get some sort of guidance to put session attribute and set its value.
Appreicate your help
Thanks
Ashish

hi
Thanks for the quick response.
I will re-phrase the requirement.
The Questionnaire template is an HTML code. Once this template is attached to the appraisal template and appraisal created, this questionnaire template comes up as an OAF Selfservice page.
My requirement is to make it mandatory. .
I dropped the idea of session variable as i have a LastUpdateDate field which can be used to track if the questionnaire is filled or not.
As a first step i want to make sure that employees click on Complete Paths to Success button and navigate to the questionnaire.
In Update Appraisal page there is a button called Complete Paths to success. When clicked on that and navigated inside it leads to the questionnaire. Once completed and applied, it wil take yuo back to the Update Appraisal page. Then below the Complete Paths to success button there is a last update date which gets filled.
I want to check if this field is null or not. If it is not null it indicates that employees have clicked on the button, filled in the questionnaire and applied them.
AppraisalsAM is the application module. This questionnnaire section has another AM - QuestAnswerAM
Inside that is the VO*QuestDetailsVO* and it has the field LastUpdateDate.
how do i check if this date is filled in or not. this is code i am using
Object quest = null;
OAApplicationModule am = oapagecontext.getRootApplicationModule(); -- this is fetching me AppraisalsAMImpl
OAApplicationModule childam = (OAApplicationModule)am.findApplicationModule("QuestAnswerAM"); --- fetches null
OAViewObjectImpl Dff1VO = (OAViewObjectImpl)childam.findViewObject("QuestDetailsVO");
OAViewRowImpl Dff1Row = (OAViewRowImpl)Dff1VO.getFirstRow();
quest = Dff1Row.getAttribute("LastUpdateDate");
My concern is i am not able to get the child applicaiton module and therefore the VO and the date attribute.
Or else,is there any other better way to get this date attribute from the OAF page?
Please help
thanks
Ashish

Similar Messages

  • OAF customization of responsibility Navigator page

    Hello,
    We have requirment to dispaly a message on the responsibility navigator page.
    When user will click on perticular responsibility, then one message should be displayed just below the Work list.
    Request you to proide us guilde lines to achieve the same.
    Regards,
    Abhijit

    hi
    Thanks for the quick response.
    I will re-phrase the requirement.
    The Questionnaire template is an HTML code. Once this template is attached to the appraisal template and appraisal created, this questionnaire template comes up as an OAF Selfservice page.
    My requirement is to make it mandatory. .
    I dropped the idea of session variable as i have a LastUpdateDate field which can be used to track if the questionnaire is filled or not.
    As a first step i want to make sure that employees click on Complete Paths to Success button and navigate to the questionnaire.
    In Update Appraisal page there is a button called Complete Paths to success. When clicked on that and navigated inside it leads to the questionnaire. Once completed and applied, it wil take yuo back to the Update Appraisal page. Then below the Complete Paths to success button there is a last update date which gets filled.
    I want to check if this field is null or not. If it is not null it indicates that employees have clicked on the button, filled in the questionnaire and applied them.
    AppraisalsAM is the application module. This questionnnaire section has another AM - QuestAnswerAM
    Inside that is the VO*QuestDetailsVO* and it has the field LastUpdateDate.
    how do i check if this date is filled in or not. this is code i am using
    Object quest = null;
    OAApplicationModule am = oapagecontext.getRootApplicationModule(); -- this is fetching me AppraisalsAMImpl
    OAApplicationModule childam = (OAApplicationModule)am.findApplicationModule("QuestAnswerAM"); --- fetches null
    OAViewObjectImpl Dff1VO = (OAViewObjectImpl)childam.findViewObject("QuestDetailsVO");
    OAViewRowImpl Dff1Row = (OAViewRowImpl)Dff1VO.getFirstRow();
    quest = Dff1Row.getAttribute("LastUpdateDate");
    My concern is i am not able to get the child applicaiton module and therefore the VO and the date attribute.
    Or else,is there any other better way to get this date attribute from the OAF page?
    Please help
    thanks
    Ashish

  • Has anyone got a questionnaire template they could share with me for Office for Mac

    Hi everyone
    I am trying to create a questionnaire to print out for people to fill in by hand, I can see that on Microsoft website, there are loads of questionnaire templates but it will not let me open them on my Mac. Can anyone point me indirection of one or how I can open the Microsoft ones on my Mac. I am really desperate as need it for my uni work.
    Many thanks
    amfox1

    Office templates are the same for Mac and Windows, I assume this is a Word template (or maybe Excel) what is the extension of the template file?
    Forget it
    I just went to Microsoft's template collection online, I downloaded 3 questionnaires, Risk Assessment, Customer Satisfaction and a Parent Survey, they all work in Word for Mac, so the question now is what are you doing that is different from what I am doing?
    Microsoft Templates for Office

  • License for oaf customization

    Hi All,
    I need to do couple R12 OAF customizations for my client. Should my client need to pay for JDeveloper license fee? I checked Oracle JDeveloper web site, it says JDeveloper is free but there is also a line mention about not for commercial usage.
    So, just want to confirm that if my client puts my code into production, then they have to pay JDeveloper license fee, right?
    Regards,
    KJ

    Hi,
    The JDeveloper IDE is free and the client has to pay no licence for this. Note that this is for the IDE, the development environment, not the runtime usage of frameworks like TopLink.
    Frank

  • OAF Help needed to customize the Information Template region

    Hi All,
    We are working on 11.5.9 to 11.5.10 application upgrade project.
    We have created an information template in the “Information Template” setup where we have defined couple of Date fields. These fields are appearing as free text entry fields on the iProc screen. We want user to enter date in a particular date format (say “DD-MON-YYYY”). We don’t want to attach a value set as this approach will display awful amount of date records in the drop down list.
    We tried modifying the region XML file (InfoTemplateRN.xml) used for the information template. Here, the attributes defined in the Information template are getting divided into two equal groups and each group is getting displayed in one region. The InfoTemplateRN.Attribute1 and InfoTemplateRN.Attribute2 fields are used to display each group(group of attribute defined in the template). The Attribute1 and Attribute2 elements are of item type Switcher and whatever changes we are making to these field are appearing for other text-input fields(other than the date fields) which are linked to these regions.
    Is it possible to control/manipulate the behavior of a specific text-input field?
    Any information on this will be of great help.
    Thanks,
    Sachin

    Hello Eric,
    Here is the code:
    SELECT DISTINCT
    K.ATTRIBUTE_VALUE AGENCY_ID,
    B.PROFILE_NM ,
    NVL(G.OFFICE_DESC,'--') OFFICE_DESC,
    f.OFFICE_ID,
    B.PROFILE_ID,
    '%' ROLE,
    '%' LAYOUT,
    case
    WHEN 'flagB' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING')
    WHEN 'flagO' = '%' THEN
    NVL(J.ISS_GRP_DESC,'ORDERING')
    WHEN 'flag' = '%' THEN
    NVL(J.ISS_GRP_DESC,'BILLING/ORDERING')
    else
    NVL(J.ISS_GRP_DESC,' ')
    END ISS_GRP_DESC,
    DECODE(NVL(H.USERID,' ') ,' ','--','<a sbcuid_in=' || H.USERID || ' target=NEW >'||H.FIRSTNAME || ' ' || H.LASTNAME ||
    '( ' || H.USERID || ' )</a>' ) USER_NAME
    from
    PROFILE_PORTAL B ,
    TBL_BDA_AGENCY_RESP_REP C ,
    TBL_BDA_AGENCY_OFFICE F,
    TBL_BDA_OFFICE G,
    USERS_PORTAL H,
    TBL_BDA_USR_ISS_GRP I ,
    TBL_BDA_ISS_GROUP J,
    ATTRIBUTE_VALUES_PORTAL K,
    PROFILE_TYPE_PORTAL L
    WHERE
    B.PROFILE_ID = F.AGENCY_ID (+)
    AND B.PROFILE_ID = C.AGENCY_ID (+)
    AND G.OFFICE_ID (+)= F.OFFICE_ID
    AND H.USERID (+)= C.RESP_USR_ID
    AND C.ISS_GRP_ID = I.ISS_GRP_ID (+)
    AND I.ISS_GRP_ID = J.ISS_GRP_ID(+)
    AND 'PROFILE.'||B.PROFILE_ID = K.ENTITY_ID(+)
    AND K.ATTRIBUTE_VALUE IS NOT NULL
    AND L.PROFILE_TYPE_ID = B.PROFILE_TYPE_ID
    AND L.APPLICATION_CD='BDA'
    AND NOT EXISTS
    (SELECT agency_id
    FROM TBL_BDA_AGENCY_RESP_REP t
    WHERE t.ISS_GRP_ID IN (1)
    AND t.AGENCY_ID = C.AGENCY_ID)
    AND K.ATTRIBUTE_VALUE LIKE '%'
    AND UPPER(B.PROFILE_NM) LIKE UPPER('%')
    AND (to_char(NVL(B.PROFILE_ID,0))
    LIKE '%'
    OR NVL(B.PROFILE_ID,0) IN (1))
    AND NVL(G.OFFICE_ID,0) IN (1)
    AND (to_char(NVL(C.RESP_USR_ID,'0'))
    LIKE '%'
    OR NVL(C.RESP_USR_ID,'0') IN ('%'))
    ORDER BY PROFILE_NM
    This is the Query and the query takes some mins. to run in prod environment.
    From the Query plan ,I am not able to get any idea for optimization.
    Now,Can you tell me which steps I need to follow to run it faster and which all modifications should be made?
    Thanks.
    Aashish S.

  • Getting the class not found error in OAF customization - after upgrade

    Hi All,
    We have recently upgraded from 11.5.10 to 12.1.3
    I have a customization in one of the OAF page, where in I click on a button, the information should be getting passed on to some other system. These customization classes are present in the .jar file xx_cust.jar in the path $JAVA_TOP/xxpo/lib/
    But these classes are not getting referenced when I click on the button in the OAF page and I get an OAF exception saying, java.lang.NoClassDefFoundError with the class name. But the class is present in the .jar file in the above said path.
    After upgrade, I have migrated the OAF related customizations. Is there anything I need to check/change (with regard to the JAVA environment) so that the classes will be correctly referenced
    Any pointers on this will be of much help
    Regards,
    Mohan

    Unix classpath needs ":" as the path separator, not ";". Changing that will make this work.
    For reference, later versions of the deployment template make this configurable, so you'd see (in environment.properties):
    # PATH_SEP_VARNAME: for platform-independence
    PATH_SEP_VARNAME=;
    # Forge needs record store libraries as well as Spring to load record store adapter configuration files
    FORGE_CLASSPATH=./config/lib/java/spring-delegate-adapter-1.0.1.jar${PATH_SEP_VARNAME}./config/lib/java/spring.jar${PATH_SEP_VARNAME}./config/lib/java/eacToolkit.jar${PATH_SEP_VARNAME}./config/script${PATH_SEP_VARNAME}.
    You can then add the following to your <forge /> definition in AppConfig.xml:
    <arg>--javaClasspath</arg>
    <arg>${FORGE_CLASSPATH}</arg>
    Hope this helps.
    Michael

  • Customize the Word Templates?

    Is it possible to customize the existing or build new Word
    templates to be used when publishing to Word?
    Thanks!
    Rory

    Hi Kari,
    I'm not sure if you've come across these other references:
    Creating printed versions of Adobe Captivate projects
    http://www.adobe.com/devnet/captivate/articles/wordoutput.html
    Creating WordOutPut Templates
    http://www.adobe.com/devnet/captivate/articles/wordoutput/adobecaptivate_wordoutput_docume ntation.pdf
    HTH,

  • How do you make a customized template?? When I customize an original template it does not apply it to the whole document! How do you apply style changes permanently to your document???

    When one customize text styles or spacing between paragraphs. How do you apply settings permanently to a document???
    Should you create a new template???

    Happily, when you edit a document created by a given template, the changes aren't stored in the template.
    If you want to get a template embedding your changes, you need to use :
    File > Save as Template
    then use the newly created custom template as starting point.
    Yvan KOENIG (VALLAURIS, France) dimanche 22 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • How can I customize a project template?

    Sorry this seems like a basic procedure but I did not find it
    in the RH help or in the forum.
    In the RH program folder > RoboHTML > Temlates >
    Custom there are two sets of files that evidently resemble the
    project templates but I connot open these in RH to customize the
    settings.

    Hello all, I have found a way to havea custom project and
    reuse it without having to do all the importing, however, I will
    tell you upfront there is a flaw i haven't yet figured out how to
    overcome.
    So this is what I've done.
    1. Created a project (Default_Project).
    2. Added topic templates, skins, css, basic images, snippets,
    variables, etc.
    3. Placed it in it's own folder called RH Master Tempaltes.
    4. All authors go to that folder via windows explorer.
    5. Copy that whole folder to local laptop.
    6. Right click, rename folder to NewProjectName.
    7. Open folder, click File --> Rename Project then enter
    the new name: NewProjectName.
    8. Enter the name of the project. RH7 then renames all files.
    Works like a charm and I don't have to worry that someone
    forgot to import something.
    The flaw? We are using Flashhelp. I noticed after the
    flashhelp is published the following files ARE NOT being changed,
    they maintain the Default_Template name:
    Default Template.log
    Default_Template.glo
    Default_Template.hhc
    Default_Template.hhk
    Default_Template.htm
    Default_Template.ppf
    Default_Template_csh_.htm
    Default_Template_hha_hhk
    I cannot find where the project is pulling the old name from.
    I have tried deleting the .cpd and .mpj files. Doesn't fix the
    problem. I have tried clearing out the flashhelp folder, deleting
    the .cpd and .mpj file. Still no joy.
    I can resolve this issue for a WebHelp output by changing the
    .hhp file in notepad (I know, not recommended, but if you've been
    using RH as long as I have, sometimes that is the only way you used
    to be able to fix things).
    However, this is good only if you want to export to WebHelp.
    Which, we don't. We want to use Flashhelp and try out FlashHelp
    Pro. So if anyone has any other ideas as to what to look at to see
    why all the names in the flashhelp output revert to the original
    name, I'm all ears. Until then, I'll keep playing with stuff until
    I figure it out.
    Cindy

  • Oaf customization....please help urgent !!!!!!!!!!!!!

    hi ,
    i have a requirement in my project where in i have to customize a standard page.
    i need to create a new region in the existing page (new EO,VO and region)
    for this i should download all the .xml and .class files from the server.tehse i can download to myclasses
    but i would like to know how to get the java files to myprojects.we will not get these from server.so how will i get the .java files coz i need the main CO.VO .java files.
    please do help.
    urgent
    thanks
    Ramya

    Hi Ramya,
    As stated above, you have to decompile those files. Oracle does not provide java source of controller, vo etc.
    However, previously some issues has been noticed with jad java decompiler.Moreover its command line tool.
    Another good decompiler is jd-gui which is gui based tool and overcomes some of probs of jad.
    You can refer this thread.
    Source java OAF code... when Oracle will release it?
    Abdul Wahid

  • Pages background color customization for poster template?

    HOw can I customize the color of the background on the template poster on pages for iPad? It is normally blue and I would like to change it.

    Hi Satyadev,
    You have 3 options:
    Within the forms builder you can get a white background by setting the form to either "border" or "no border".  This is done by clicking anywhere on the form (where there is no other element) and modifying the "style" property
    You can modify the portal theme so that the background colour is your choice.  However this will affect all forms in the portal, not just this one.
    Or you can manually modify the form XSL stylesheet.  This involves typing the html code to apply your chosen colour.  However, this modification is lost if you re-generate the XML forms project, so this should be a last resort.
    Hope this helps,
    Chris

  • How to identify the OAF customizations and personalizations

    Hi All,
    We are in the process of upgrading from 11.5.10 to 12.1.3
    There are certain customizations and personalizations done on many OAF pages of various modules (like Self service, iRec, iSupplier, etc)
    Will the upgrade impact these customizations/personalizations? If so, will it be entirely removed and do we need to redo the customizations/personalizations over again?
    Also, I have another need for identifying the existing customizations and personalizations (in 11.5.10) in OAF pages. There are no documents with us which will explain the existing customizations/personalizations in OAF . Need to identify the same. Is there a way which i can follow to identify these?.
    Any pointers on this will be really helpful
    Thanks,
    Mohan

    Can you please give me some pointers on identifying/migrating the OAF personalizations/customizations
    Any documents/links to the same will be really helpfulRun the query in this thread to find the list of personalizations -- Re: Can I get a report of all personalizations?
    To migrate personalization, please refer to:
    Upgrading Form Personalizations and OA Framework Personalizations from Oracle E-Business Suite Release 11i to 12.1 (Doc ID 1292611.1)
    Customization in Oracle Applications (Doc ID 743490.1) -- Moving Personalizations between instances
    Tips About FNDLOAD (Doc ID 735338.1)
    Thanks,
    Hussein

  • How to customize OI snapshot templates

    Hi,
    Can you customize Outlook Integration snapshot templates? If yes, please provide the detailed steps on how to do this. I attempted this but it seems to have caused problems with the add-on.
    Thank you,
    Heather

    Hi Heather,
    Have you checked this link yet?
    Re: Outlook Snapshoot template
    Thanks,
    Gordon

  • How can I customize a Pages template to include a photo frame and text area?

    I am putting together a reference notebook for volunteers at our local zoo.
    I am attempting to format every info sheet the same. Each page will include a photo of the featured creature along with text including description, feeding habits, range etc.
    The only program I have to publish with is Pages. I've tried to put in a "photo box" so that each photo is the same size and in the same location on the page etc. I just can't seem to find all the tools I need to do this.
    I'd appreciate some guidance. Thanks so much.

    You need to create your own default template. Open the blank template & insert a photo, any photo. Now select the photo & resize it using the metrics inspector. Now, with photo selected, go to Format > Advanced & select Define as Media Placeholder. Then again go to Format > Advanced & select define as default image style. While you're at it set the amount of extra space in the wrap inspector, etc. You can do similar settings with text boxes, tables, shapes, etc.
    I suggest downloading the Pages User Guide from the Help menu & reading more about placeholders & about capturing pages (sorry, it's not something I can remember doing).

  • How to customize 'default: *' report templates

    Hi,
    where are 'default: *' report templates defined? They are not listed among other templates.
    What I need is to create a customized template based on 'default: vertical report, look1 (exclude null columns)'.
    Thanks

    >
    where are 'default: *' report templates defined? They are not listed among other templates.
    What I need is to create a customized template based on 'default: vertical report, look1 (exclude null columns)'.
    >
    default: report templates are hard-wired into APEX and can't be modified in the way that theme templates can.
    Using the web inspector in a browser with developer tools like Safari or Firefox+Firebug you can examine the source of the rendered report with a default: template to determine the HTML structure and class(es) used and the CSS selectors applied by APEX, then either override these in your own style sheet, or create a custom theme version of the template from scratch.

Maybe you are looking for

  • Dynamic where clause in database adapter

    Hi I have requirement to develop SOA service for search page! The back-end query for search is required to have where clauses to be appended to SELECT statement dynamically depending upon search criteria the user selects! E.g. if user is searching em

  • Setting the File Adapter Sender Source Directory...

    Good morning, Experts We have 2 sender file adapter communication channels in XI 7.0. Source directories for each are as follows: Channel A - //757spgmr16-xp.sauder.com/SAP Channel B - //devqas.sauder.com/ROOTBIN Channel A works.  Channel B does not.

  • PERIPHERALS - Lots and Lots of Peripherals

    I love my G5 and am very happy I switched from PC to Mac, but for the life of me, I don't understand why there are so few places to plug in peripherals. With lots of large files of photos and videos, etc., I have 4 external hard drives, as well as 2

  • Can you start with a jpeg?

    My brother likes the functions on the camera raw panel and bridge. He believes it will save him time over just photoshop. Can he start with a jpeg image? If so, how does he activate the camera raw panel? We have Bridge CS3 and Photoshop CS2. We have

  • How to compensate a down payment request

    Good morning, I just wonder if there is a way to compensate a down payment request. Thanks a lot, Hernan Restrepo C.