Get Profile values in apex

I Have integrated apex application in EBS(11.5.10.2) and it is working fine.
I would like to display the item desctiption in user language based on the profile "fnd_profile.value('ICX_LANGUAGE')".
i am calling above profile in before header process, But i am not able to get that value in APEX in EBS( I am always getting site value from profiles).
please help me in this regard.
Thanks & Regards,
Ramamuni.

Thanks for your repllies Dan.
- APEX and EBS installed the same database (Yes they are in same database)
- APEX installed in a separate schema ( Yes correct)
- Authenticating users through a cookie solution and wwv_flow_custom_auth_std.login ( We are using this in our app)
A soultion could be to write the langauage value in your cookie and then read it when you are logged in. (do you have any documentation around this ?)
Currently we are using the database login scheme for authentication purpose. We have added the APEX page to be called from a Responsibility menu. The user will be logging in oracle apps and selets the responsibility to be redirected to the APEX page. By default we are getting the username as 'APPS'(Database schema name ?) as against the logged-in user name. Also the problem with the profile values.
You help is much appreciated.
Thanks,
Ramamuni

Similar Messages

  • Need to get profile value defined at responlibility level

    Hi I have a procedure which have to get the profile value defind at responsibility level.
    I will be passing resp id as in parameter to that procedure.
    The thing here is, I will not be creating a concurrent program for this. And this procedure will be accessed by some other application by connecting to apps database and executing
    SO this is completly a procedure which is runned from back end.
    Now to get that profile value I used
    fnd_profile.value_specific('XXPROFILE',NULL,RESP_ID,NULL,NULL,NULL)
    BUt it is not getting any value.
    Please let me know for any other solutions.
    Thanks

    Hi;
    Please check below which could be helpful for your issue:
    How To Set A System Profile Value Without Logging In To The Applications [ID 364503.1]
    Script To List The Values Of A Profile Option At All Levels [ID 803587.1]
    How to Change Profile Option Value Without Forms [ID 943710.1]
    Regard
    Helios

  • Profile values for specifically if  enter section name and product name

    I have tried to get Profile values with the following query,
    SELECT *
    FROM fnd_profile_options_vl po,
    fnd_profile_option_values pov,
    fnd_user usr,
    fnd_application app,
    fnd_responsibility rsp,
    fnd_nodes svr,
    hr_operating_units org
    WHERE 1 = 1
    AND pov.application_id = po.application_id
    AND pov.profile_option_id = po.profile_option_id
    AND usr.user_id(+) = pov.level_value
    AND rsp.application_id(+) = pov.level_value_application_id
    AND rsp.responsibility_id(+) = pov.level_value
    AND app.application_id(+) = pov.level_value
    AND svr.node_id(+) = pov.level_value
    AND org.organization_id(+) = pov.level_value
    Suppose I need to populate the profile values for specifically if I enter section name and product name.
    How can I do that ???

    Hussein Sawwan wrote:
    Thanks, I have gone through the documentation,I can get all profile values.But how can I get the profile values and names that is related to/affects a particular product.
    Is there any connection between products/items with profile option.No. However, you may run the same queries using the follows:
    For example ..
    For GL --> PROFILE_OPTION_NAME like '%GL%'
    For AR --> PROFILE_OPTION_NAME like '%AR%'
    And so on.
    Please note that the above will not return all profile options that affect (or related to) specific module.
    You can also get the list of profile option which are set at the Application/Responsibility level.
    Thanks,
    Hussein
    >
    Thanks, I have gone through the documentation,I can get all profile values.But how can I get the profile values and names that is related to/affects a particular product.
    Is there any connection between products/items with profile option.No. However, you may run the same queries using the follows:
    For example ..
    For GL --> PROFILE_OPTION_NAME like '%GL%'
    For AR --> PROFILE_OPTION_NAME like '%AR%'
    And so on.
    Please note that the above will not return all profile options that affect (or related to) specific module.
    You can also get the list of profile option which are set at the Application/Responsibility level.
    Thanks,
    Hussein
    Hussein ,
    Can I use following query to retrieve the profile values for an item with m.msite_id  =10218 AND s.section_id    =10591 and i.organization_id = 204 and i.inventory_item_id =66567
    select distinct *
    FROM fnd_profile_options_vl po,
    fnd_profile_option_values pov,
    fnd_user usr,
    fnd_application app,
    fnd_responsibility rsp,
    fnd_nodes svr,
    hr_operating_units org,
    ibe_msites_tl m,
    ibe_dsp_sections_tl s,
    mtl_system_items_b i
    where
    pov.application_id = po.application_id
    AND pov.profile_option_id = po.profile_option_id
    AND usr.user_id(+) = pov.level_value
    AND rsp.application_id(+) = pov.level_value_application_id
    AND rsp.responsibility_id(+) = pov.level_value
    AND app.application_id(+) = pov.level_value
    AND svr.node_id(+) = pov.level_value
    AND org.organization_id(+) = pov.level_value
    and m.msite_id =10218
    AND s.section_id =10591
    and i.organization_id = 204
    and i.inventory_item_id =66567
    Anything wrong here???
    Thanks

  • Not able to get the profile value set at Responsibility level

    Hi,
    I had set the value of a custom profile at Responsibility level and in CO i used the
    following code,
    String rLocation = pageContext.getProfile("XXTMG_PR_SCP_LOCATION");
    The above call returns NULL. But if i set the value of the profile at Site Level then the above code returns the correct value of the profile. I bounced the apache after the profile option was changed but no avail.
    I even tried using getOADBTransaction().getSpecificProfile() in the AM (which was
    called from CO) as below but could not get the value of the profile,
    Number lRespID = new Number(getOADBTransaction().getResponsibilityId());
    String retLoc1 = getOADBTransaction().getSpecificProfile("XXTMG_PR_SCP_LOCATION","","",
    lRespID.toString());
    Could any of you please let me know whether i have missed something in the code which results in not getting the correct value for the profile at the Responsibility level.
    Thanks, Suresh.

    Instead of passing null for the other parameters in call to getSpecificProfile, can you please set these params and try ?
    Also, please note that if a value is defined at site level, then even if a value is present at the resp level, the value at site will be returned when you use getProfile method.
    Thanks
    Tapash

  • How to get multiple value on html chart with apex

    Hi All,
    I'm looking for a way to compare 2 value on a html chart with apex (ex. Budget with expense).
    Some one know how I could make a chart with 2 value ( a kind of histogram with the bar Budget and expenses side to side with only one title)
    Thanks all !
    Edited by: 844999 on 2011-04-05 07:59

    sims wrote:
    Hi Anil,
    Its a standard page & i want it on click of apply button but my question is when i click apply button it navigates to other page..is it possible in such scenario to extend the controller.
    Thnx for ur suggestion
    SimsThat is not an issue, you can extend the controller of that page and get the value of sequence and set it to the VO attribute.
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • How to get profile options & values at user & responsibility level by SQL?

    Experts, How to get profile options and values at user and responsibility level using SQL?

    SELECT
    po.profile_option_name as name
    , po.user_profile_option_name
    , decode(to_char(pov.level_id),'10001','SITE','10002','APP','10003','RESP','10005','SERVER','10006','ORG','10004','USER', '???') as "LEVEL"
    , decode(to_char(pov.level_id),'10001','','10002', app.application_short_name,'10003', rsp.responsibility_key,'10005', svr.node_name,'10006', org.name,'10004', usr.user_name,'???') as context
    , pov.profile_option_value as value
    FROM
    fnd_profile_options_vl po
    , fnd_profile_option_values pov
    , fnd_user usr
    , fnd_application app
    , fnd_responsibility rsp
    , fnd_nodes svr
    , hr_operating_units org
    WHERE 1=1
    AND pov.application_id = po.application_id
    AND pov.profile_option_id = po.profile_option_id
    AND usr.user_id (+) = pov.level_value
    AND rsp.application_id (+) = pov.level_value_application_id
    AND rsp.responsibility_id (+) = pov.level_value
    AND app.application_id (+) = pov.level_value
    AND svr.node_id (+) = pov.level_value
    and org.organization_id (+) = pov.level_value
    ORDER BY 1, pov.level_id, 5
    You'll need to apps initialize your SQL session before running this ...
    Regards,
    Jon

  • Flexfields using Profile Values - How to get working?

    I've setup a Flexfield on a table. the DFF uses a valueset to verify the input. Your normal forms based stuff. the DFF shows up on the OAF page nicely. the value set on the DFF has a where clause that usess the profile mfg_organization_id
    ie
    where organization_id = :$PROFILES$.MFG_ORGANIZATION_ID
    However, at run time the LOV does now show anything. it's like the profile has not org id.
    How do you get around this?
    Thanks

    I would agree on that setting profile value from code make no sense,in fact profiles are used in a reverse way.Based on profile value you can have ur logic.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                               

  • How to use Ajax Get Multiple Values in Tabular form?

    Hi All-
    I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
    Basically, I want to use the drop down list to populate rest of the values on the form.
    I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    Workspace: iConnect
    login: demo
    password: demo
    I was able to duplicate his example on page 1 (home page).
    However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
    Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
    This is what I have done on this page:
    1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
    3. Put the following in the Page Header:
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);   
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
        get = null;
    </script>
    Add the follwing to the end of the above JavaScript:
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    var s = filter.id;
    var item = s.substring(3,8);
    var field2 = list2 + item;
    f_set_multi_items_tabular2(filter, field2);
    4. Tabular form query:
    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    5. In Book_ID_DISPLAY column attribute:
    Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
    Changed to -> onchange="javascript:setLOV(this,'f03');"
    Now,  T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
    Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
    Ling
    Updated code in Red..

    Ling
    Lets start with looking at what the javascript code is doing.
    function f_set_multi_items_tabular(pValue, pRow){
      /*This will initiate the url for the demand process to run*/
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                              'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
      if(pValue){
        /*If there is an value than submit item name with value*/
        get.add('TEMPORARY_APPLICATION_ITEM',pValue)
        get.add('T_ROWNUM',pRow)
      }else{
        /*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
        get.add('TEMPORARY_APPLICATION_ITEM','null')
      /*Submit the url and te returned document is of type XML*/
      gReturn = get.get('XML');
      if(gReturn){
        /*There is something returned*/
        var l_Count = gReturn.getElementsByTagName("item").length;
        /*For all elements of the tag item*/
        for(var i = 0;i<l_Count;i++){
          /*Get the item out of the XML*/
          var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
          /*Get the id of the item*/
          var l_ID = l_Opt_Xml.getAttribute('id');
          /*Get the element in the original page with the same id as
          **the item we have in the XML produced by the ondemand process
          var l_El = html_GetElement(l_ID);
          /*Now get the value of the item form the XML*/
          if(l_Opt_Xml.firstChild){
            var l_Value = l_Opt_Xml.firstChild.nodeValue;
          }else{
            /*There is no value*/
            var l_Value = '';
          if(l_El){
            /*There is an element with the same id as the item we are processing*/
            if(l_El.tagName == 'INPUT'){
              /*The element is an input item just set the value*/
              l_El.value = l_Value;
            }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
              /*If it is a span elment and has the class grabber
              **Then set the innerHTML of the parent to the value
              **and the id of the parent to the id
              l_El.parentNode.innerHTML = l_Value;
              l_El.parentNode.id = l_ID;
            }else{
              /*Else set the value as innerHTML*/
              l_El.innerHTML = l_Value;
      get = null;
    Now where it went wrong in your initial post
    The XML that was returned by your XML process would be something like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_1">CSS Mastery</item>
      <item id="f03_1">22</item>
      <item id="f04_1">Andy Budd</item>
      <item id="f05_1">1</item>
    </body>
    When you don't use apex_item to create your tabular form a item in the table will look like
    <input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
    Notice the id's f02_1 and f02_0001 don't match.
    So to make it work the XML would have to look like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_0001">CSS Mastery</item>
      <item id="f03_0001">22</item>
      <item id="f04_0001">Andy Budd</item>
      <item id="f05_0001">1</item>
    </body>
    To do that simply use lpad in the ondemand process like
    HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
    HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
    HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
    HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
    Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
    Nicolette

  • How to get a value from one item into another

    How can i get value from one item into another item.
    Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
    How can i do this?
    Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.

    Hi Fredr1k,
    Use the V() function from pl/sql.
    e.g. V('P3_MY_ITEM')
    will return the value of that page item.
    As long as the pl/sql is called from within the Apex environment.
    Regards
    Michael

  • How to Get checkbox value when List value changed in classic report

    hi ,
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    regards
    Ahmed

    Hi Ahmed,
    >
    i worked with apex 4.2 and i create normal classic report with one checkbox column and one column change it to select list(named loved) now i want when user change list
    take value of checkbox item and show it in message .
    SQL for report
    SELECT
    '<INPUT TYPE="checkbox" NAME="f01" VALUE="'
    ||SEQ
    ||'">' SEQ,
    ID,
    DEPT_NO,
    EMP_NAME} i change the column attributes of Dept_NO to Display as Select list of department name (named lov).
    >
    You should not create checkboxes like this. Either use the APEX_ITEM.CHECKBOX2 API or change the Column Type to Simple Checkbox.
    >
    now i want when user change name of department the value of SEQ SHOW IN ALERT MESSAGE
    i create JavaScript on the page
    function test(pThis) {
    var f01_value = $('select[name="f01"]').value;
    alert('#SEQ : '+ f01_value);
    </script>
    >
    name="f01" returns an array, what you need is single element value.
    Try
    <script type="text/javascript>
    function test(pThis) {
      var f01_value = $v(pThis);
       alert('#SEQ : '+ f01_value);
    </script>
    {code}
    {quote}
    I call this javascript function when list change but the value undefined..
    My Question :
    How can get this value Or any value of item in reports
    {quote}
    Depends in how you are invoking/triggering the change event. Are you using DA or have you written an "onchange" event on the element?
    Cheers,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Profile value per_person_id is not listed for $PROFILE$ block

    Hi All,
    I have reqirement to retrive the person_id to default Employee number in Personal analysis descriptive flex filed segment.
    When i tried using $PROFILES$.PER_PERSON_ID or fnd_profile.value('PER_PERSON_ID') is not working for me.
    Then i have checked the profile value list using "diagnostic-->examin" option in the application where i am not able to find the Per_person_id in the list.
    Note: We are using the Oracle Applications : 11.5.9
    Is there any way to meet my reqirement?
    Appriciate your contribution towards this issue.
    Thanks in advance.
    Kumar
    Edited by: Kumar Kasinathan on 04-Jul-2012 00:07
    Edited by: Kumar Kasinathan on 04-Jul-2012 00:14
    Edited by: Kumar Kasinathan on 04-Jul-2012 00:16

    Hi, I need to attach a value set to attribute12 which should not be the employee number, attribute12 of per_all_people_f and employee_number of a custom table and the number for the attribute12 should be the unique value.
    The steps i have followed
    1. created a table file_number to hold the numbers from 0000001....to...9999999
    2. created a view-file_number_v to have unique numbers as
    SELECT fn.file_number
    FROM file_number fn
    WHERE NOT EXISTS (SELECT 1
    FROM per_all_people_f pap1
    WHERE pap1.employee_number = fn.file_number)
    AND NOT EXISTS (SELECT 1
    FROM per_all_people_f pap2
    WHERE pap2.attribute12 = fn.file_number)
    AND NOT EXISTS (SELECT 1
    FROM table1 t1
    WHERE t1.employee_number = fn.file_number)
    3. Created a table validated value set based on the above view and attached it to the Attribute12 of the DFF
    Its worked fine for new inputs, but when ever i try to requery the employee,hence the number is inserted in the attribute12 column of per_all_people_f table the value set validates and provides error message.
    To avoid this i have used the following temp table query,
    (select file_number fn from file_number_v
    union all
    select attribute12 fn from per_all_people_f where attribute12 = :PERSON.ATTRIBUTE12:NULL) temp
    I have used the above query as table in the valueset.
    Now i have to get the person_id to use it on the above query to avoid the issue which i have mentioned in previous discussion.

  • Get item value of hidden item in java script on standard report

    I've a report with following query:
    select "ROWID",
    "GTEMPDETAILID",
    "GTEMPID",
    "NORMTEXT",
    "ITEMTYP",
    "ITEM",
    "BEMERKUNG"
    from "#OWNER#"."ALAVIS_GTEMPDETAILS"
    Item GTEMPDETAILID is hidden (set in column attributes).
    I defined an onclick event in the report template to set the value of GTEMPDETAILID into a Page item. This works, if the GTEMPDETAILID is not hidden. But how can I get the value of an hidden item in javascript?

    I am guessing this hidden value is not a protected item because youre manipulating the value. How about setting is a textfield but inside the "HTML form element" property, specify style="display:none;" or you can nest <script type="text/javascript">$x_Hide("ID_OF_TEXTFIELD");</script> in the page somewhere...
    Question, have you tried using $x_Value('ID_OF_ITEM','VALUE_OF_ITEM') ? this is APEX javascript API
    you can also use $x('ID_OF_ITEM') to retrieve DOM object, or $v('ID_OF_ITEM); to retrieve item values.
    Let me know if you need additional assistance.
    Edited by: srbonham1 on Jul 27, 2012 4:31 PM

  • JAPEXample01 published in sdn:error Could not get a value to be injected

    HI friends ,
    I am  trying to replicate the example JPAEXample01 using JPA in CE1 from  the blogs written by
    Sabine Heider/Adrian Görler.
    During the testing of the method create employee i am getting the following error.
    "Could not get a value to be injected from the factory."
    I tried couple of examples using the above process, still held up with same error.
    Any pointers to trouble shoot this ?
    Thanks in advance
    Chandra Dasari.

    HI Pritya Ranjan,
    Let me know the entities  and their relations ships you are using for quicker response.
    To know the proper error, use the path as mentioned
    nwa->problem management ->logs & traces->locks.
    Email the error code,
    The issue might be because of some many probabilities mentioned below.
    Point no 1
    Are you using Named queries  : If so check the queries syntax, the syntax used here is different from regulat sql queries.
    Point no 2:
    Are you using Java DIctionary  or generic  db and connecting to max db?
    check this part also
    Point no 3:
    Check your connection profile parameters:
    Point no 4 :
    Check the data-source-alias,persistence.xml and data-source.xml parameters..
    Beacuse i trouble shooted a lot on JPA's and found why the typical error's occurs.
    Regards
    chandra dasari

  • CQ5.5 ClientContext.get('profile/region') === 'MW' versus Generic Store Property component

    Hi there,
    I have been having segment resolution problems for a custom data store that sets a new property, "region", on the data store "profile".  Precisely, it adds a new "region" property to the existing data store "profile".
    The segment resolution problems occurred when using the Generic Store Property component for the segment trait definition.
    I dragged it onto the stage and populate it, choosing the following:
    - Store:  profile
    - Property Name: region (that's set in our custom store implemention, which is deployed to /etc/clientcontext/default/content.  having genericstoreproperties with "region" in its properties attribute (which all works.  That's why Generic Store Property can indeed find "region" to select from as possible property value).
    - Operator: equals
    - Property Value: MW
    However, when I change the segment trait definition to a script instead:
    ClientContext.get('profile/region') === 'MW'
    Then, I will not have segment resolution problems anymore.
    I looked at the definition of the OOTB component "Generic Store Property".  It's defined in /libs/cq/personalization/components/traits/generic
    ClientContext is an object of CQ_Analytics, and it's defined in /libs/cq/personalization/components/clientcontext/clientlib/clientcontext.js
    At no point that I was able to make out, the OOTB component "Generic Store Property" accesses ClientContext.
    My question is:
    - How is "Generic Store Property" component with the values set as above different from a script snippet ClientContext.get('profile/region') === 'MW'?
    At what point does it access the ClientContext object?
    Finally, does it change the order of js which is loaded, when I use the Generic Store Property, instead of the script snippet ClientContext.get('profile/region') === 'MW'?
    If that is true, is this a possible bug in Adobe CQ5.5?
    Thanks for any hint on this.
    -Maria

    How are you initializing the profile store with the region property? I tried following to reproduce your problem:
    Create a new Segment "MW Test Segment"
    Added a generic store property trait profile, region, equals MW
    Added a script trait 'ClientContext.get("/profile/region")=="MW"'
    Fired up Firebug and called 'ClientContext.set("/profile/region","MW");
    You can see the result below, both traits fire.

  • System Profile Values

    Hello ,
    under system profiles >> Profile Option Name , Site , Application , Responsibility , User ,.....etc
    lets say i have this respo. named "xxx_payroll_US"
    and profile named : HR:Business Group
    is there anyway i can get the values under responsibility from sql query
    if not what is the related tables??
    thanks in adavnce
    Message was edited by:
    ALJazzar

    Thanks Guys, but it seems that the answer is not what i exepected
    Step By Step Senario>>
    1 -login to the oracle app
    2- use the sysadmin resp.
    3- under profile choose system
    4-a window pop -up named " find system profile values"
    5-check resp and type xxx_payroll_USA
    6-next to profile textfiled typr HR:BusinessGroup
    the case is
    if i press find it will give me the profile option value under the respobility name
    is that clear????
    in the given script it shows 0 ( nothing)
    thanks and regards,

Maybe you are looking for