SPEL in personalization

Hi,
I am trying to personalize Leave of Absence page of India Employee Self Service Repsonsibilty.
I have created a button and want to pass VO attribures as parameters in url. I tried using SPEL, but it does not accept it.
How to pass VO attributes as parameters through personalization ?
Thanks in advance,
Mitiksha

VO has rows and the attributes also have values.
I first created a button through personalization and added OA.jsp?page=...&param1=${oa.<VO name>.<Attribute Name>}&param2=${oa.<VO name>.<Attribute Name>}&....
Now When i again click on update icon of the same item to see whether the destination url value remains intact or not, I get to see the following:
OA.jsp?page=...&param1=&param2
From this I interpret that it does not take into account SPEL.
So how do I pass VO attributes as paramteres?
Thanks,
Mitiksha

Similar Messages

  • SPEL with personalization

    Guys,
    I had a requirement based on a field (string) value I had to hide a button.
    I am trying to use SPEL property. Now SPEL takes value true or false therefore I added this value to a DFF and manually updating value in the segment as False.
    Now this DFF segment is utilised in the VO. but the attribute is String. I guess SPEL will work with Boolean attribute. What I am trying is a following syntax ${oa.EventDetailsVO.EvtInformation1}
    I get an error if I do this and i guess it is because of attribute type of the segment is string. How can I change it. I would hate a customisation for this form since I do not know any thing in OA framework and secondly I would need to involve development team in this

    OVP, change the attribute type to boolean in VO wizard and populate values 0/1 instead of true/false in DFF. 0/1 are then parsed as boolean attribute in java layer and can be used in SPEL. See old threads, we have discussed this in several old threads.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SPEL? make REASON field required if user has changed the value in SALARY

    I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?

    Karan,
    You can change the Rendered Property through personalization.
    But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
    Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
    Regards,
    Gyan

  • Help required in SPEL

    Hi,
    We are trying to implement SPEL security for ReadOnly & Rendered Property of some fields On OAF Page.
    But the issue is that we have PPR implemented through code for the ReadOnly & Rendered Property for those fields as well. So when we implement SPEL through personalization, the PPR functionality implemented through code is overridden by SPEL functionality.
    Any solution/suggestion so that both functionality works simultaneously.
    Thanks.
    Edited by: user8807157 on May 21, 2010 11:29 AM

    The SPEL thing you did i think is on SITE Level. Make it at responsibility LEVEL and make necessary changes in code also.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                       

  • Disable Add to Cart in inProcurement Page

    Hi Gurus ,
    /oracle/apps/icx/icatalog/shopping/webui/SearchResultsPG
    I have to disable 'add to cart' button in the iprorcurement categories serch page ,
    the issue here is when i search for some item , it can show multiple catagores
    each having a add to cart button enabled , i have to selectively disable the 'add to cart' for some items based on some condition , for others its should be enabled .
    Please help me in solving this ..

    Prasad,
    The way it works in iP Search Results page is that the results region is added dynamically to the results page. If you need to dynamically disable the add to cart button, you must have a boolean attribute in your VO and then define a SPEL on the region item. However in our case, you cannot attach the SPEL through personalization.
    When you extend the VO for added a new boolean attribute that derives the value based on the category. You'll have to do this for different VOs. As the VO used to display search results is not one. It might be different based on many criterias. If you are handling this, you need to make sure that the new attribute is included in all the Search Result VOs so that you don't get an "Attribute not found" error in some cases.
    Hope this clarifies.

  • SPEL Field should be blank in R12 OAF Personalization

    Hi,
    I have a personalization requirment to remove the default values populating from "Labor Start Time" field and it should be blank. This field has Required property as *"${oa.current.StartEndTimeRequired}"* in original definition . I am trying to set the Required property as "False" or "No" at responsibility level. But there is no option to disable the default value, only had the following options :
    1. Inherit
    2. Yes
    3. SPEL
    How to resolve my issue. Is there any other way to solve this by personalization itself.
    Pl share your knowledge about this...
    Thanks,
    Mini.

    Wanted to know if there was ever a resolution to this question.  I need a solution for the same thing.  We do not want the complaint quantity of a QM notification to default to the order quantity.  We need the inspector to fill in this quantity.

  • OA Framework Personalization using SPEL

    I am personalizing the one-time address page in iProcurement.
    Scope Page: Oracle iProcurement: Checkout
    Document Name /oracle/apps/icx/por/req/webui/OneTimeLocationPG.
    I have set rendered to TRUE for three additional Message Text Input fields. (Attribute2, Attribute3, and Attribute4. I have changed the prompt on these fields to Domestic City, Domestic State, and Domestic Zip respectivley.
    I have also created a new item with a style = Message Check Box and set its data type to BOOLEAN and set the prompt to "International Address".
    My goal is to make the Attribute fields (Domestic City, Domestic State and Domestic Zip) REQUIRED when the Message Check Box (International Address) is FALSE.
    My strategy is to set the Required property of the Attribute fields to SPEL and then reference the value of the check box field. Is this an appropriate way to do this? If so, what string would I enter to get the SPEL option to reflect the value of the check box.

    Hi Sumit,
    I find even in dev env, it doesn't work all the time.
    If 1st record has check box, it display mix records with check box and without check box.
    If 1st record does not have check box, it display records without check box at all (even some records should show check box.)
    I find for normal column, it separate column and column header, but for tableSelection(multipleSelection), there is no separation of column and column header, the personalization on column and column header.
    If the 1st record doesn't have check box, somehow, the tableSelection header is hidded too, even 2nd record has check box, it can't be shown because header is hidded.
    I would like to know what the OAF standard is. Is the standard that we should show check box all the time?
    thanks
    Lei

  • Disabling Check box via SPEL

    I have a requirement where in a Message Check Box needs to be disabled. When navigated to this page the checkbox is already set.
    a. Can this be achived via Personalization?
    b. I have set the item's Required property to SPEL with the following value ${oa.AppraisalVO.disableCheckBox} but it errors?
    Please help!
    Thanks,
    Hari

    Set FND: Diagnostics profile to yes to get the complete error stack.
    --Shiv                                                                                                                                                                                   

  • How do I change the default language for spell-checker please?

    I have seen the instructions below but cannot find the Personalization section?
    I currently have a US English spell-checker, I need a UK English one.
    Changing The Default Language
    Make sure you are on your homescreen.
    Tap on the Settings app to open the Settings App.
    Scroll to the Personalization section.
    Tap on Language.

    Have just found that if you select Install Language Pack but then, do NOT download it, just below and to the right of "Download Now" is "View other versions".
    Click on that and the second item is Version28.0
    Hover your mouse on that and you get " + Add to Firefox" - so select that.

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Personalization at Responsibility Level

    Hi ,
    I am trying to personalize the display of "Worklist Notification" in Home page based on the responsibility of the user logged in . I have choosen the reqd. responsibility in the responsibility context chooser and did personalize the "Stack Layout: Notifications Worklist Function" at responsibility level. Everytime I login the context of the responsibility changes and my personalization does not work . If I manually go and change the responsibility context to the responsibility I want I am able to see the "Worklist Notification" list .
    I would like to know if there is way I could make sure that the responsibility context does not change everytime a user logs in . Any replies will be greatly appreciated .
    Thanks,
    Chandu

    Hi,
    Sorry my mistake, if your responsibility is not the context it cannot pick up the XX_WORKLIST Permission from your Menu. You must use Functional Administrator Grants instead,
    Try this:
    delete your XX_WORKLIST function from the menu and from the system
    1) Functional Administrator > Permissions
    Create new permission:
    XX_WORKLIST
    2) Functional Administrator > Permission Sets
    Create new permission set:
    XX_WORKLIST_PS
    - add the XX_WORKLIST permission
    3) Functional Administrator > Create Grant
    Name: XX_WORKLIST_GRANT
    Grantee Type: Group of Users
    Grantee: 'Your Responsibility' (e.g. System Administrator - FND_RESP|SYSADMIN|SYSTEM_ADMINISTRATOR|STANDARD)
    Operating Unit: leave blank
    Responsibility: leave blank
    NEXT
    Permission Set: XX_WORKLIST_PS
    SAVE
    - you will have now granted the XX_WORKLIST permission to any user with 'System Administrator'
    4) Functional Administrator > Core Services > Caching Framework > Global Configuration > Clear Cache
    Clear the Cache
    Personalise your worklist (e.g. Row Layout: Home Content Row) at Site level with SPEL:
    ${oa.FunctionSecurity.XX_WORKLIST}
    I have tested this in my 11.5.10 environment and it worked. All users with 'System Administrator' see the worklist, all others do not.
    Regards,
    Mike

  • Need suggestion to Hide a region using SPEL.

    Hi,
    I want to hide 'Related Details' region(Header) from notification page if the workflow notification is a 'FYI' message.
    How to do this in Standard page? can we do this using personalization?
    Please suggest me.
    Thanks & Regards,
    Sagarika

    Hi Anand,
    I have gone through the link. It says about PPR event.
    My requirement is like this,
    I have two regions in notification page(Region1 & Region2)
    From Region1 I can get the value of the message whether it is 'FYI' message or not.
    based upon the message value I want to hide Region2.
    My question is , how Region2 will get the message value of Region1?
    I tried with SPEL.
    Region1 use NotificationVO and the query is,
    select notification_id, message_name, decode(message_name,'MANAP_MSG_FYI',1,0) RFlag from wf_notifications;
    And Region2 contain Header region.
    I want to hide Region2 using SPEL. So I set the render property of Region2 as ${oa.NotificationVO1.RFlag}
    But this logic is not hiding the Region2 if its a FYI message.
    Is there something I missed out here?
    Please suggest.
    Thanks & Regards,
    Sagarika

  • SPEL to disable a button

    Hi gurus
    I need to make a button field enabled / disabled based on another field.
    From the concurrent requests window users can choose the Option Reprint / Republish (Tools > Reprint / Republish ). This opens a page and we want to disable a button (apply) for a Particular Request.
    So I am looking for an SPEL something like
    ${oa.RequestDetailsVO.ProgramShortName} != 'MYREQUEST'
    and use the same as Rendered Property in Forms Personalization. Which expression should I use?

    Hi Sharath,
    The SPEL as you mentioned will not work, you need to extend VO and add one transient attribute which returm false when it returns required Pragram short name otherwise true.
    Regards,
    Reetesh Sharma

  • How to use SPEL for Dynamic View Objects?

    Hi Gurus,
    In Benefits Self Service particularly in the Designate Beneficiaries page, we have a requirement to set the row for Self designation as Read Only. What this means for any plan that you're eligible and that requires beneficiary designation, you are not allowed to designate yourself. Unfortunately this is an intended functionality and the only way to achieve our requirement is thru Personalization. I was able to accomplish this successfuly thru the SPEL functionality. However the view object corresponding to each plan that requires beneficiary designation is somewhat dynamic. For example, Plan A corresponds to BeneficiaryPeopleVO1, Plan B corresponds to BeneficiaryPeopleVO2, Plan C corresponds to BeneficiaryPeopleVO3, etc. The Personalization Page only allows me to use the SPEL for only one view object at a time. So if an employee is eligible for 3 plans that require beneficiary designation and my SPEL points to BeneficiaryPeopleVO1, it will only set the Read Only in Plan A. Plan B and Plan C would still allow self designation. Is there a way I could use the SPEL to work for all View Objects?
    Thanks,
    Ronaldo

    jeanluca wrote:
    I've seen things like this in scripting languages, so I was wondering if things like this are possible in java. Here is an not working example:
    Is something like this possible ?AFAIK, it is only possible in a very limited way as noted above and is nearly always not recommended and definitely not necessary. The variable name has little importance, but OTOH the object reference has great importance. Instead learn about arrays, Lists, and Maps.

  • Creating Items in Personalize Page region (HTML Pages)

    Hi All,
    Has anyone ever ‘created an item’ in the Personalize page region in Oracle HTML pages (IE: iProcurement)...or more to the point; does anyone know how to?
    I have a DFF on requisition lines that I want to make context sensitive based on the supplier used in the requisition header, and ideally I would like to set it up within the Application.
    From what I have read on other forums and blogs this can be achieved by created a ‘Boolean item’ based on the supplier and then referencing this item in the ‘required’ properties of the attribute (using SPEL).
    Unfortunately I have fallen at the first hurdle as I am unsure how to create the Boolean Item (I have tried – but am unsure what to fill in on the form), can anyone give me any advise (hints, tips, step by step instructions etc) on how to create an item that returns True if the supplier ‘X’ is selected (otherwise return false)?
    Regards
    Carl

    you might have chosen an automatic sort in the region properties, for thoses where you cannot arrange items.

Maybe you are looking for