Custom Profile option.

Hi,
I need to make custom profile option whose values will come from a sql query.
Could you pls tell me the steps to make profile option values from a sql query..and how to add those values to the profile option???
Thanks,
Nil.

Hi,
Please see these documents.
Note: 201945.1 - How to list E-Business Suite Profile Option values for all levels using SQLPlus
Note: 282382.1 - How to Search all of the Profile Options for a Specific Value
Note: 367926.1 - How To Find All Users With A Particular Profile Option Set?
Thanks,
Hussein

Similar Messages

  • Unable to set/update custom profile option value in R12.1.3

    Hi All,
    I have defined a custom profile. After querying the custom profile and I select a value from the resulting LOV(popup).
    Whenever I am trying to save the changes the LOV again pops up for selecting the value.

    Hi,
    I think this is the wrong forum for this question. This forum is for questions about Oracle Enterprise Data Quality.
    Regards,
    Mike

  • How to capture profile option value in Controller in OAF?

    Hi,
    I have a requirement to capture the value of profile option value in Controller in OAF?
    How to write the code for this?
    Thanks

    Hi ,
    You can get the profile option value in following ways.
    String customprofile = transaction.getProfile("XXXX");
    if(customprofile == null)
    throw new OAException("The custom Profile Option Named XXXX has not been defined. Contact " +
    "your IT Support Group. , (byte)0);
    if(customprofile.length() == 0)
    throw new OAException("The custom Profile Option Named XXXX does not have a value assigned" +
    ". Contact your IT Support Group. "
    , (byte)0);
    Thanks
    Deb

  • Accessing Profile Option

    Hi,
    I have a validation to be made in the Controller of a OAF page.
    If the uSer is Logged in with XYZ Responsibility and if the value for a Custom Profile OPtion for that Responsibility is 'True' ... Do certain things.
    How to achieve this? How to get the responsibility name and the value of a profile option at responsibility level for that responsibility?
    Thanks

    pageContext.getProfile("<Profile Name>")
    You need not specify responsibility. Framework is smart enough to get the profile value based on the current responsibility context.

  • Custom Profiles LOV failed to find values in application

    We are in phase of R12 upgrade, one of the Custom profile option has a SQL query to get the values. This query is giving data when fired in back end (after setting initialization). But when we navigate to Sys admin-->Profiles--> System. It gives error:
    ERROR
    No entries found for List of Values
    APP-FND-01436 List of Values cannot find any values for you to choose
    Cause: The List of Values execution failed to find any values.
    Cause: The SQL statement specified to fdlfch() failed to return any values.
    Action: Check the message stack for any SQL statement failure messages. Check to make sure your
    SQL statement works in SQL*Plus. (ROUTINE=fdlfch)
    we are facing issues only with our Custom profile.
    Thanks for help!

    Please see if (R12: Error APP-FND-01436 When Querying MO Profile Options [ID 455367.1]) helps.
    If you still have the same issue, Please obtain the FRD file to get more details about the error -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FRD+AND+R12&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Receiving Error : Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables. while trying to create a new Customer.

    Hi All,
    We have set up a new Operating Unit in Oracle Apps. Now when I am trying to create a new Customer in that Operating Unit, I am receiving following error:
    ERROR MESSAGE:-Please set the Receivables system options for this operating unit and ensure that the MO: Operating Unit profile option is correctly set with an operating unit that is set up in Receivables.
    We do have MO: Operating Unit and MO: Default Operating Unit set properly at Responsibility level for the Responsibility through which I am accessing this form.
    Your help is appreciated!
    Thanks in advance,
    SKA

    You can refer this thread and check your MO operating unit is set or not https://community.oracle.com/message/3937028 thanks

  • Trace is still getting generated even after disabling the profile option Initialization SQL Statement - Custom

    Hi All,
    we have a problem with profile option "Initialization SQL Statement - Custom". we have set this at user level. after some time, we have cleared the profile option value for this user.
    But we can still see the generated trace files are getting updated. we did checked this trc files from path returned from below query.
    select name, value
    from   v$parameter
    where  name like 'user_dump_dest';
    Please help us on how to resolve this issue. we are using Oracle Apps R 12.1.2 version.
    Thanks in advance
    Raghava

    Before logging out we suspect that he closed the browser instead of logout link.
    What if you make the user logout, can you reproduce the issue then?
    We have verified the profile options for this user and found that value is cleared for profile Initialization SQL Statement - Custom.
    How do you know that the files were generated for this user and because of this profile option? Have you verified profile options for all users at all level?
    Thanks,
    Hussein

  • Not able to get the profile option value

    Hi,
    Not able to get the profile option value after i changed the new value in the application.
    I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
    Thanks

    What is the application release?
    Is this a custom or seeded profile option?
    Can you confirm that the value got changed from the application (query the profile option and verify the value)?
    Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
    Thanks,
    Hussein

  • To generate xml code in encoding  as specified in system profile options

    Hi,
    i have a customer bug wherein the report page which is generated after a particular process, which is a .xml file, does not open because we have special characters which are not getting encoded properly!..
    the probable solution to this would be to encode the .xml file in the encoding format specified in system profile options.
    After the content generation the following code is used to generate the tags and the .xml page:
    DBMS_XMLGEN.setRowSetTag(l_qryCtx,'INVOICE_SET');
    DBMS_XMLGEN.setRowTag(l_qryCtx, 'INVOICE_RECORD');
    DBMS_XMLGEN.setBindValue(l_qryCtx,'BATCH_ID', p_batch_id);
    DBMS_XMLGEN.setBindValue(l_qryCtx,'SUPPLIER_ID', rec.supplier_id);
    DBMS_XMLGEN.setBindValue(l_qryCtx,'SITE_ID', rec.site_id);
    l_result_clob :=DBMS_XMLGEN.GETXML(l_qryCtx);
    l_result_clob := substr(l_result_clob,instr(l_result_clob,'>')+1);
    l_temp_invoice_count := DBMS_XMLGEN.getNumRowsProcessed(l_qryCtx);
    l_invoice_count := l_invoice_count + l_temp_invoice_count;
    DBMS_XMLGEN.closeContext(l_qryCtx);
    clob_to_file(l_result_clob);
    here we have a transaction type in portugese like Nota de Crédito
    and the issue summary is as follows
    It contains some foreign language symbols which are not encoded in UTF-8 format hence IE is showing the error. Even though in mozilla the file is completely opened but the same foreign language symbol is not shown. So the error exists in all the browsers.
    can you please suggest how the encoding maybe done so as to avoid the above problem!...
    and also how to include the encoding as per mentioned in the system profile options.

    Hi,
    >>>The XSD doesn't have any messages only simple and complex types - I can't seem to relate (via drag and drop) them to a data or message type to generate the required objects.
    maybe it has some reference inside to some other types which you did not get?
    if so you need to import into IR/ESR all files and put the correct reference (external archives)
    this would be the proper way to get the file generated according to the xml schema
    Regards,
    Michal Krawczyk

  • Dynamical change read only property of  columns based on a profile option

    Hi,
    We are attempting to change a Oracle iProcurement(ShoppingCartPG) which has certain readonly columns by default.
    However, we need to make these columns updateable based on a responsibility level profile option. The code goes something like this.
    if readonly_profile_option = "TRUE"
    {make columnA property = readonly}
    else if readonly_profile_option = "FALSE"
    {make columnA property = updateable}
    I read the guide about switchers and it seems confusing (to me). So if someone can provide an example with some pseudocode that will be helpful.
    Also, can I dynamically add an LOV to column A if readonly is false? Of course the LOV should be disabled if readonly.
    Thanks a lot

    Hi,
    Thanks for the feedback.
    Tapash,
    Switchers definitely don't make sense.
    Raffy,
    Didn't know it was that simple. I always thought that the controller fires--> then the page renders --> then the VO attributes get poulated. Basing my understanding on this flow, I though that the bean properties can only be set in controllers and not in VOs(via SPEL). I'll try it tomorrow.
    Aprreciate your comments on the following.
    Our requirement is to make an Oracle seeded field(SupplierName in iProcurement) updateable and with an LOV . Oracle has seeded it as ReadOnly.
    I have two options.
    1. If I change the readonly property in jedeveloper(I cannot access it via personalization) and add SPEL that would be upgrade 'unsafe' customizing - I think.
    2. So I thought I'll extend the controller, substitute it and use
    messageLOVInputText SupplierNameBean=webbean.findChildRecursive("SupplierName");
    if{profle=not_read_only)
    {SupplierNameBean.setReadOnly(false)};
    else
    {SupplierNameBean.setReadOnly(true)};
    This is more upgrade safe. I have talked to the iProc development team and they are fine with it.

  • Color Management Custom Profiles - None available (Vista)

    I get bad color in my prints from LR. My printer supports Adobe RGB, and hence I believe it would fix the problem is I could get LR to convert the image to Adobe RGB before printing. Under Color Management, I click on "Managed by Printer" to get a popup menu that has both "Managed by Printer" (checked) and "Other" as options. I select "Other" and a window appears with the title "Choose Profiles" and the text "Choose profiles to appear in Custom Profile popup:" The problem is that the window is empty. There are no choices! I have checked and I have the ICC files installed in Windows\System32\spool\drivers\color and they are associated with my printer by windows. I copied and add icm versions of the icc files. Still no profiles appear.
    Does this work for others? Can anyone get any options to show up?
    Thanks for any help or advice.
    Davy

    AdobeRGB and sRGB are NOT printer profiles, they are color spaces and you should not be able to select them in Lightroom. You need actual printer profiles if you want to print application managed from lightroom. Almost every reasonably modern printer includes them. It looks like this printer does not include them in a way so that you can use them. On most printers, you can still print printer managed, but it appears that this printer is not correctly color managed. I checked out the manual for it and it clearly is not color managed at all. Typical for HP's consumer line unfortunately. Apart from having a profile generated by any of the places that do that for you (which is about as expensive as an ink cartridge), I don't think you can print to this thing from Lightroom at all. In this case, really the printer manufacturer is to blame. They should have been doing ICC/ICM color management ages ago instead of relying on all applications to be dumb. It still stinks though.

  • Disable profile option updation at user level

    I want to disable the profile option HR: Security Profile or for that matter any other profile option at user level. The user should be able to see the value set by the system administrator (Field should be grayed out) and user should not be able to update it.
    How to do it??

    Try a personalization combined with custom PLSQL, like this:
    1) Acces System Profiles
    2) Help->Diagnostics->Custom Code->Personalize
    3) In the newly displayed Form Personalization form, create a line with a description like this: Prevent modification of USER_VISIBLE_VALUE
    4) In the Conditions tab, set Trigger Event = WHEN-NEW-ITEM-INSTANCE
    5) Set Trigger Object = PROFILE_VALUES.USER_VISIBLE_VALUE
    6) In the Condition text area, enter:
    apps.xxror_test_sysprofile(:PROFILE_VALUES.USER_PROFILE_OPTION_NAME,'USER')=1
    7) Set Processing Mode to Both
    8) Switch to the Actions tab and create two actions:
    first:
    type = property
    description = Don't update
    Language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=UPDATE_ALLOWED
    value=false
    second:
    type=property
    description=Don't enter
    language=all
    enabled=yes
    object type=Item
    target object=PROFILE_VALUES.USER_VISIBLE_VALUE
    property name=ALTERABLE_PLUS
    value=false
    9) Repeat steps 3-8 if desired for other levels, such as:
    Prevent modification of SITE_VISIBLE_VALUE
    Prevent modification of APPL_VISIBLE_VALUE
    Prevent modification of RESP_VISIBLE_VALUE
    Prevent modification of SERVER_VISIBLE_VALUE
    Prevent modification of ORG_VISIBLE_VALUE
    paying attention to update the corresponding names for xxx_VISIBLE_VALUE.
    10) Create the following PLSQL function:
    CREATE OR REPLACE function xxror_test_sysprofile (
    prof_opt_name in varchar2,
    lvl in varchar2
    return number
    is
    v_ret number;
    s_prof varchar2(1024);
    s_uname varchar2(100);
    s_lvl varchar2(10);
    begin
    -- returns 0 if the user "uname" must be granted access the profile named "prof_opt_name" at the "lvl" level
    -- returns 1 if the user "uname" must be forbidden to access such a profile at such a level.
    -- important assumption: the "lvl" parameter may have only one of the following values:'SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG'
    -- or else this function will return 1, thus forbidding the access
    s_uname:=substr(upper(trim(nvl(fnd_profile.value('USERNAME'),''))),1,100);
    if s_uname in ('MY_ADMIN_1','MY_ADMIN_2','SYSADMIN') then
    v_ret:=0; -- no restrictions
    else
         if s_uname in ('MY_POWERUSER_1','MY_POWERUSER_2') then
         -- restrict to only the below mentioned profiles
         s_prof:=substr(upper(trim(nvl(prof_opt_name,''))),1,1024);
              s_lvl:=substr(upper(trim(nvl(lvl,''))),1,10);
              if
              (s_prof like '%WHATEVER%')
              then
                   if s_lvl in ('SITE', 'APPL', 'RESP', 'USER', 'SERVER', 'ORG') then
                        v_ret:=0; -- level acceptable for these users on these profiles
                   else
                        v_ret:=1; -- unknown level, so reject
                   end if;
              else
                   -- these users may not access these profiles, so reject
                   v_ret:=1;
              end if;
         else
              if s_lvl = 'SITE' then
              -- no way any other user than those above may modify site-level profiles
              v_ret:=1;
              else
                   -- any other user than those above may modify lower-level profiles, but
                   -- for now reject all
                   v_ret:=1;
              end if;
         end if;
    end if;
    return v_ret;
    end;
    Pls be aware that testing first on a test instance is always advisable.

  • Profile option update at responsibility level from backend

    Hi,
    I referred few online and oracle support document to update the profile option from backend. I was able to change the profile option at site level, but when I am trying to update the profile at responsibility ( or any level such as user etc), I am unable to do so. Though the script says that profile option has been updated, it doesn't show up when I check on frontend.
    EBS 11.5.10.2
    DB 11.2.0.1
    The script which I use to change profile at site level is this:-
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('SITENAME', 'ABDVLP', 'SITE');
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    I tweaked the above script to include the responsibility level change, but its not changing. Both the below scripts are not making any changes.
    SCRIPT - 1
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('ICX_DISCOVERER_LAUNCHER', 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', 'RESP',51889,671);
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    Note: I found the responsibility id from the below query
    SELECT responsibility_id  ,application_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
    ===============================================================================
    SCRIPT-2
    DECLARE
       stat           BOOLEAN;
       resp_id        NUMBER;
       appl_id        NUMBER;
       resp_appl_id   NUMBER;
    BEGIN
       DBMS_OUTPUT.DISABLE;
       DBMS_OUTPUT.ENABLE (100000);
       -- Set the Profile Option value at responsibility level
       SELECT responsibility_id, application_id
         INTO resp_id, resp_appl_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
       stat :=
          fnd_profile.SAVE
             (x_name                        => 'ICX_DISCOVERER_LAUNCHER',   -- Profile name you are setting
              x_value                       => 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]',   -- Profile value you are setting
              x_level_name                  => 'RESP',   -- Level that you're setting at: 'SITE','APPL','RESP','USER', etc.
              x_level_value                 => resp_id,   -- Default NULL Level value that you are setting at, e.g. user id for 'USER' level. X_LEVEL_VALUE is not used at site level.
              x_level_value_app_id          => resp_appl_id,   -- Default NULL. Used for 'RESP' and 'SERVRESP' level; Resp Application_Id.
              x_level_value2                => NULL   -- 2nd Level value that you are setting at.  This is for the 'SERVRESP' hierarchy.
       IF stat
       THEN
          DBMS_OUTPUT.put_line ('Stat = TRUE - profile updated');
       ELSE
          DBMS_OUTPUT.put_line ('Stat = FALSE - profile NOT updated');
       END IF;
       COMMIT;
    END;

    I tried to change at SERV level and still the profile never gets updated. Kindly help.

  • Setting up profile options

    Hi,
    in 11.5.10
    how to :
    Setting up profile options
    3 new system level profile values in the iProcurement setup section :
    n POR : Proxy Server Name - Proxy server name if the customer has a proxy setup
    n POR : Proxy Server Port - Proxy server port if the customer has a proxy setup
    n POR : CA Certificate File Name - Absolute file path of ca-bundle.crt where all the
    certificates’ names are stored
    Thank you.

    Hi,
    Navigate to the System Administrator --> Profile --> System
    and enter the profile name what you need to search, and set the appropriate value at the Site level or Application Level or Responsibility Level or User Level
    HTH
    regards..,

  • How to set custom profiles in iphone 5 and viewing sent messsges and dialed calls seperately

    i found that i cannot set any other profiles other than silent and general is there any app to create custom profiles and also i can't view the dialed calls seperately only missed calls can be viewind seperately is there any app to overcome that problem?and also i want to view sent messages seperately in my messages option.

    These are not a features of the iPhone and iOS. No 3rd party app can provide these functions due to Apple restrictions.

Maybe you are looking for

  • Http_Communication_Failure in IF_HTTP_CLIENT-- receive : BASIS config

    Hi, I am facing "Http_Communication_Failure" error in ABAP code using IF_HTTP_CLIENT->receive method. I came to know from several SDN threads that it needs some DNS or Network related configuration on SAP R/3 system I am using. One such thread (2nd l

  • Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0

    Blank error message with ? appears and PDF does not open in Browser (IE11) when clicking link to open pdf. PC - IE11 Acrobat 9.0 Cannot access in browser PDF files unless blank box is closed and then website address is clicked on again in browser add

  • Flat file upload

    Hi when i m uploading a flat file in csv format, I m getting a problem. In the file field value is having (,) between the words Eg. Field Name :- Text Medium     Value      :- Bachelor of Sci,Computer Sci Value is having the , between the words so wh

  • Is Quicken 2007 compatible with Mountain Lion?

    I'm using a beloved MacBook Pro laptop running Lion.I cannot upgrade to Mountain Lion. I have been using Quicken and have accummulated 13 years of financial data. I need a new MacBook Pro laptop and would like to know if my Quicken data can be transf

  • Error 404 in SXI_Cache ?

    Hi @, Recently in our XI some chages have been done in the host name .After that I amnot able to update my cache and itis giving error 404 . I have noticed one thing in that ,it is picking port 50500 for refresh whereas our port is 8005 for http . Al