Passing values to APEX items from external site

All,
Is it possible to pass values to APEX page items from an external web site?
For example, I have an external web site where users type in a username and password into fields. When they click the 'log-in' button in the external site, I would like to have those values passed to the APEX log-in page. If possible, I would like to have the APEX log-in occur 'invisibly' and the user taken directly to the home page of the app. If that's not possible, it would be nice to simply have the 'user name' and 'password' fields filled in on the APEX side.
I'm using APEX 3.0.
Thanks in advance for any help!
Alex

Hello Alex,
>> Is it possible to pass values to APEX page items from an external web site?
The general answer is yes. You can use the f?p syntax to set the value of any APEX item - http://download-uk.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/concept.htm#sthref185 .
In your specific example, the main question should be is it wise? The mere fact that you are using a login process suggests you have something to protect in your application. The f?p syntax uses a plain text for the items’ value, which means that the user name and password will be completely exposed.
Regards,
Arie.

Similar Messages

  • How to pass values to dashboard prompts from external applications

    Any idea is well appreciated.
    How can I pass values of dashboard prompts from external applications to the dashboard prompts so that the dashboard is prefiltered based on values sent by external applications.
    Thanks in Advance!
    Kris

    Kris,
    i am able to change the session variable and able to call the dashboard from external app, but i identified prompt value not changing. but Finally i am able to found a workaround for you.
    Use the following URL and it explained here
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    PortalPath is your dashboard location. /shared/abcd is folder where i saved dashboards. dash1 is my dashboard name.
    internally this dashboard includes many reports that uses the session variable. after doing above this i am able to update the session variable to the value i have given in URL, DSN=value.
    You may observer here that calls the dashboard and passes the value but its not updating the prompt value. so workaround for this is edit your prompt,
    change the Default to - SQL Results and place the sql
    SELECT CASE WHEN 1=0 THEN Markets.Region ELSE VALUEOF(NQ_SESSION.DSN) END saw_0 FROM Paint
    again here Market.Region is column from presentation layer and Paint is subject area. After doing this step, your prompt always shows value in the session varible as default.
    Now include reports and dashboard prompt in the dashboard and run this url from external applicaitons.
    http://localhost:9704/analytics/saw.dll?Dashboard&nquser=Administrator&nqpassword=Administrator&PortalPath=/shared/abcd/_portal/dash1&Options=rmf&DSN=madan
    it worked for me and blog this soon. if it works for you mark the question as answered and mark my replies as correct.
    thanks
    - Madan

  • How to call & pass values to custom page from seeded page table region

    Hi All,
    can anyone tell me how to call & pass values to custom page from seeded page table region(Attribute is not available in seeded page VO)
    it is urgent. plssss
    Regards,
    purna

    Hi,
    Yes, we do this by extending controller, but you can also try this without extending controller.
    1. Create Submit Button on TableRN using personalization.
    2. Set "Destination URI" property to like below
    OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}&employeeName={@EmployeeName}&retainAM=Y&addBreadCrumb=Y
    Give your custom page path instead of EmpDetailsPG.
    EmployeeId and EmployeeName are VO attributes(Table Region)
    If you dont have desired attribute in VO, then write logic in your custom page controller to get required value using parameters passed from URL path.
    In this case, only personalization will do our job. Hope it helps.
    Thanks,
    Venkat Y.

  • Passing a list of items from APEX to a Bi Publisher report

    I currently have Bi Publisher report that is parameter driven based on items selected from an APEX application. Currently, the user select one value for the parameter and the value is passed in the URL string and the report produces as expected. Now the user wants to be able to select items from a checkbox list and the items checked are the values to be passed. Has anyone ever dealt with this type of request and if yes, could you please point me in the right direction. I search the forum and I couldn't find any topics that dealt with my situation.

    Try using the "get content from textedit" action. More specifically, use your Applescript to dump the urls into a textedit doc and then use the "get contents..." action to feed the "get specified urls" action.

  • How to populate values in Apex item

    Hi,
    I am using apex collection item to capture data my requirement is to calculate data using the apex item
    This requirement is like this. I am using a SQL query like this
    select
    wwv_flow_item.TEXT(1,NULL,20,10) "A",
    wwv_flow_item.TEXT(2,NULL,20,10) "B",
    wwv_flow_item.TEXT(4,NULL,20,10) "C"
    from dual
    There 3 text boxes are generated in the window when i enter 3 in A and 2 in B it must give me a sum value in C as 5
    this has to be done dynamicall as end user key in values this can be done using java script or any other method please suggest
    Thanks
    Sudhir.

    Hello Sudhir,
    >> If there are multiple text box …
    If there are multiple text boxes, you need to allocate each a unique ID. The easiest is to use the substitution string #ROWNUM#. The code should look similar to the following:
    select empno,
    apex_item.TEXT(1,null,20,10,'onchange="addItems(this);"','A'||'#ROWNUM#') "A",
    apex_item.TEXT(2,null,20,10,'onchange="addItems(this);"','B'||'#ROWNUM#') "B",
    apex_item.TEXT(3,null,20,10,'onchange="addItems(this);"','C'||'#ROWNUM#') "C"
    from empBecause we are in a multi-row environment, we need to pass the line number we are on, into the JavaScript function, hence the use of ‘this’.
    In the JavaScript function, we first need to determine the line number we are on, and then use it to perform the calculation. The code can look similar to the following:
    <script type="text/javascript">
    function addItems(pThis) {
      /* extract rownum */
      var line_no = pThis.id.substr(1);
      $x('C'+line_no).value = parseInt($v('A'+line_no)) + parseInt($v('B'+line_no));
    </script>Regards,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • Not able to crawl all items from External content type

    Hello All,
    "All the records in my external content source are not getting crawled, only 1/3 rd of the data are getting crawled."
    Steps:
    I created "External content type" using sharepoint designer which connects to a SQL Server database.
    Have written a SQL View joining 2 tables, which return 9,00,000 rows when executed using the SQL Server management studio.
    I used the default "Business Data Connectivity Service" and "Search Service Application" and made sure the necessary permissions are set.
    Created a External Content source for the search service application and selected the "Business Data Connectivity Service" -> "Crawl selected External datasource" -> <my external datasource i created in sharepoint designer>
    Issue
    When i ran the full crawl for the first time it crawled "3,49,923" records in 01 hour and 07 seconds. And returned 1 error "Error crawling LOB Contents.(Error caused by exception: System.InvalidOperationException. There is an error in XML
    document...)
    Later i removed the below item from the index and started a full recrawl, this time it crawled "3,49,924" records 1 record extra from my previous crawl
    and no errors were returned.
    Please let me know what could be the issue. It doesn't look like the permission related issues as i am able to crawl the 1/3rd of my total data. Also i am able to search the crawled data. I also set the throtteling limit for the "Business data catalog"
    to -maximum 10000000 -default 1000000 which is less than the data it has to crawl.
    SRIRAM

    Hi ,
    I started the change suggested in the link shared by you, but got stuck at a point,
    The field which i set as identifier in BCS earlier is not having unique values. Total rows returned by the sql view is 899000, but the unique values present in the column that is set as identifier is
    3,49,923, which is equal to the number of rows crawled. - Is this the reason why it didnt crawl all records?
    The table that is used in the sql view has composite key, - Is it possible to have multiple identifier in BCS as well?
    Is it possible to make BCS to ignore the identifier? i mean creating BCS without an identifier column?
    Please let me know your suggestions on this.
    Thanks,
    SRIRAM
    Yes, BCS needs a UID. This is so it can figure out changes over time to a single record. Otherwise all changes to a row could be a potential new row without BCS knowing any better.
    Yes, or just have it run off the composite key instead of the field you're using now.
    Nope, BCS needs a UID field like in answer 1 :)
    Good luck!
    My CodePlex -
    My Blog - My Twitter
    Join me at the San Francisco SharePoint User Group!
    If this post helped you or answered your question please remember to mark it! :)

  • Unable to pass parameter to EBS Form from external system (OBIEE)

    I set up the OBIEE to EBS Navigation as per a metalink note to the form PA_PAXTRAPE_SINGLE_PROJECT. I tried to pass a PROJECT_ID parameter. The form opens up but I do not see any indication of the parameter being passed through.
    In general, when you pass a parameter to a EBS form from an external system, is it suppose to open the FORM with that specific value? In this case should it open up the Project for the PROJECT_NUMBER that I passed through?
    Any way for me to diagnose the issue?

    Hi,
    Rather than giving the name of the Block and Field name there create a parameter in the form itself and pass value to that parameter. You can use this values using :PARAMETER.<field_name>.
    Regards,
    Viral

  • Security with HTML from External Site

    I am building an application that pulls HTML content from an external site (RSS feed) and placing that content into my Flex application.  The content of this HTML is controlled by another developer at another company.
    After pulling back the HTML I am setting it as the htmlText attribute for an <mx:Text> box.
    Is this safe?  Since I don't control the source HTML content I'm concerned about the content having cross-site scripting attacks in it.  Links or things that execute arbitrary javascript onclick.  Is there any way to ensure that the HTML coming back can't be used to execute any JavaScript or ActionScript?
    Thanks,
    ..Jordan
    Jordan | Yodlee Product Management
    Launch your Flex-based financial app in the Yodlee FinApp Store - http://www.finappstore.com

    I have come up with a two-part solution which I think solves my problem.
    1) Flex automatically removed all intrinsic elements from the HTML:
        <mx:String id="inputString">
             <![CDATA[
             <a href="#" onclick="alert('hi');">Onclick alert</a><br/>
             <script>alert("Your text in the alert function.");</script>
             ]]>
         </mx:String>
         <mx:Text id="inputText" height="100%" width="100%" htmlText="{inputString}">
    The value of inputText.htmlText is the following (notice there is on “onclick” event as Flex automatically cleans out intrinsic events:
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">        <A HREF="#" TARGET="">Onclick alert</A></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">        alert(&quot;Your text in the alert function.&quot;);</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="10" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">        </FONT></P></TEXTFORMAT>
    2) So all I need to do is remove the "bad" links which is done like so:
    public function makeSafeContent(content:String):String {
    var safeContentStr:String = content;
    var myPattern:RegExp = /javascript/gi;
    safeContentStr = safeContentStr.replace(myPattern,"<span>javascript</span>");
    myPattern = /asfunction/gi;
    safeContentStr = safeContentStr.replace(myPattern,"<span>asfunction</span>");
    myPattern = /event/gi;
    safeContentStr = safeContentStr.replace(myPattern,"<span>event</span>");
    myPattern = /vbscript/gi;
    safeContentStr = safeContentStr.replace(myPattern,"<span>vbscript</span>");
    return(safeContentStr);
    Jordan | Yodlee Product Management
    Launch your Flex-based financial app in the Yodlee FinApp Store - http://www.finappstore.com

  • Open and pass value to page 2 from page 1 using region button

    Good day,
    I created 2 pages. I have created a text item called p_employeeid in page 1 and a region button with button action redirect to page 2. When i click the button i can open page 2 but i cannot filter the records that pertains only to p_employeeid. my source for page 2 is select * from test_tbl where employeeid = :p_employeeid.
    Help would really be appreciated. thank you.
    Mon

    hi trent,
    i created a branch as well. on submit after processing target type page in this application, page 2 and set this item p2_employeeid and value for this item &p1_employeeid. i did not select any in condition type but selected the button i created submit in the when button pressed. the action of my submit button is submit page.
    below is the apex url using button only without branches: only the value of p2_employeeid is not included in the url
    http://172.16.10.10:8080/apex/f?p=103:2:872957668524402::NO:2:P2_EMPLOYEEID:
    this is with branching: no p2_empoyeeid nor the valu
    http://172.16.10.10:8080/apex/f?p=103:2:872957668524402::NO:::
    i notice that using the branching even p2_employeeid is not submitted whereas in the button ihave th p2_employeeid but no item value.
    I have googling and trying out samples but all i see are table columns with the edit icon. I have not seen example with text box with button calling another page. :(
    thank you for the assistance, if you can think of any other suggestion i would be willing to try them out.
    Mon

  • Pass value at run time from one structure to diffrent structure

    hi  experts.
    i  m  workin on  crm domain  and faching problem to pass value  from one stucture to another . problem is that i want the output in xml file so i need all the values interm  of segment.
    initialy  i have  this structure.
    DATA: BEGIN OF struc1 occurs 0,
           ST_ORDERADM_H TYPE CRMT_ORDERADM_H_WRKT,
           ST_PRICING    TYPE CRMT_PRICING_WRKT,
           ST_ORGMAN     TYPE CRMT_ORGMAN_WRKT,
           ST_PARTNER    TYPE CRMT_PARTNER_EXTERNAL_WRKT,
          END OF struc1.
    and using fm CALL FUNCTION 'CRM_ORDER_READ' i got values  on this structure at run time.
    MOVE LT_ORDERADM_H  to STRUC1-ST_ORDERADM_H.
    MOVE LT_ORGMAN      to STRUC1-ST_ORGMAN.
    MOVE LT_PARTNER     to STRUC1-ST_PARTNER.
    MOVE LT_PRICING     to STRUC1-ST_PRICING.
    and after that using
    try.
      CALL TRANSFORMATION id
        SOURCE data_node = STRUC1
        RESULT XML xmlstring.
        CATCH cx_st_error.
    endtry.
    CLEAR:   tab_xstring,
             lv_filename,
             lv_path,
             lv_fullpath,
             lv_user_action.
    REFRESH: tab_xstring.
    lv_bytes = XSTRLEN( xmlstring ).
    IF lv_bytes > 0.
      lv_xstring = xmlstring.
      DO.
        APPEND lv_xstring TO tab_xstring.
        lv_xcnt = XSTRLEN( lv_xstring ).
        IF lv_xcnt > xsize.
          lv_xstring = lv_xstring+xsize.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
    now it  convert to xml file .
    problem is  it gives  me value of all field associated with  standared structure.
    but  client requirment is that  he want only selected values of given structure.
    so i think i make  a new structure for given value  but  i m not able  to get values in new structure.
    thanks

    Hi,
    create a structure in se11 with following fields
    ST_ORDERADM_H.
    ST_ORGMAN.
    ST_PARTNER.
    ST_PRICING.
    for example as STRUCT2.
    data : begin of i_struct2 occurs 0.
       include structure struct2.
    data : end of i_struct2.
    MOVE LT_ORDERADM_H to i_STRUCt2-ST_ORDERADM_H.
    MOVE LT_ORGMAN to i_STRUCt2-ST_ORGMAN.
    MOVE LT_PARTNER to i_STRUCt2-ST_PARTNER.
    MOVE LT_PRICING to i_STRUCt2_PRICING.
    then
    try.
    CALL TRANSFORMATION id
    SOURCE data_node = i_STRUCt2
    RESULT XML xmlstring.
    CATCH cx_st_error.
    endtry.

  • How to pass values one by one from Multiline container in workflows

    Hi,
    I have used a structure in my workflow as multiline container.
    I want to pass values 1 by 1 to the workflow but not all the three values..so how do i pass the values 1 by 1 rather all at a time..
    kindly suggest me
    Thanks,
    Shanky

    Hi,
    Create a new container with type I and set the initial value as 1.  EX : Index.
    Pass your Multi-line container and this index container to a new method. Get the multi line container data's into an internal table
    and read the data based on the index and append the data's to a new multiline container.
    Second time increment the index container by 1. So now the value of index container will be 2.
    Pass the multiline container value and index to method. now it will read the second record from the internal table.
    Call the method using the loop step type.
    Thanks,
    Viji.

  • Passing values to standard screen from  an my internal

    Hi Experts,
    I want to pass values to the mb51 screen from my own internal table.
    in the program for mb51 there is include programLMIGOTV4 where what is use of following
    PBO module before start of LOOP.
    METHOD pbo.
    CALL METHOD super->pbo.
    tv_goitem-lines = lcl_migo_globals=>kernel->s_status-lines.
    ENDMETHOD.
    Also how can see the method Kernel and what is the use of that....
    Also when is the S_Status-lines update in the method Kernel.
    Please help me to understand ASAP.
    Thanks &Regards
    Tejaswini

    hi.
    You can pass values by two ways:
    1. use BDC option CALL TRANSACTION of the transaction MB51. But first you will have to see how it behaves during recording in SHDB.
    2 . Another is use
    SET PARAMETER ID 'MAT' FIELD WA_DATA-MATNR.
    CALL TRANSACTION 'MB51'.
    This would call the transaction with MB51 screen with material number initialised.
    check out   screen 1000 of prog 'RM07DOCS' for parameter id's of different fields.
    WRK- for werks
    LAG-storage location
    CHA for batch and so on.

  • Passing values thru application Item.

    All,
    Ive issue here with Apex4.1.x.
    I created an application item to which a value is set using javascript like (document.getElementById('P135_GLOBAL1').value = '100'; ) executed onclick when a LIST ITEM is clicked to display another page/page2. On the called page2 i want its region title set to ="Something&135_GLOBAL1." and same application item value i want to assign to another hidden item in the called page/page2......any idea is appreciated.

    koloo wrote:
    All,
    Ive issue here with Apex4.1.x.
    I created an application item to which a value is set using javascript like (document.getElementById('P135_GLOBAL1').value = '100'; ) executed onclick when a LIST ITEM is clicked to display another page/page2. Application item values cannot be set in this way: they only exist in session state on the server, not as HTML elements in the page that can be manipulated using JavaScript DOM methods/properties in the browser. (Furthermore, when setting page items in this way, always use the built-in APEX method<tt>$s</tt> APEX method to set values in JavaScript as this contains logic to correctly process APEX item types.)
    To set the value of application items in JavaScript, use a Dynamic Action with a Set Value action, triggered by a Change event on your list item.

  • JAAS requiring re-authentication when returning from external site.

    Our Struts web application uses another application for some of its functionality. When the authenticated user clicks on the link, a cookie is set with some user info and the user is redirected to the external site. The user interacts with the external site and then the site redirects the user back to our site (to a previously unvisited, secure action). Unfortunately, the user is being prompted to authenticate again, even though they have already done so. The strange part is that this behaviour only exists the first time a new browser is opened (both IE and Mozilla). Subsequent visits to the site (after properly logging out, and logging back in) do not cause this problem. The other strange part is that when the user returns to the site and is prompted to authenticate, the login module that we are using logs a message that it is checking the user info against the allowed roles, and the user does, in fact, already exist.

    Nevermind. This was a stupid mistake on my part. I was accessing the site from localhost but the external site was returning to the actual URL. My bad.

  • Ringtones from external sites to itunes?   I did it a year ago, but can't anymore!!!  HELP!!!

    About a year ago I got my iphone, and I had some free ringtones downloaded on my PC.   I did some research, and was able to get those ringtones on my phone.   I had recenlty downloaded some new ringtones from the same external site, and when I went to try and  put them in my itunes I couldn't figure out how and have not been able to find anything to help me.    Can anyone assist?

    Connect & select iPhone in iTunes Sudebar (iTunes > View > Show Sidebar), in Music tap (right pane top), select Sync Music and the music you want on iPhone then click Apply button (bottom right).
    http://support.apple.com/kb/VI72

Maybe you are looking for

  • How to create an alert in Oracle Applications

    Can anyone help me, I want to be able to create an alert (not email) that will pop up on the screen of Oracle Applications 11i to remind everyone to change the passwords in xx days. I know there are alerts that send email, but people hardly check the

  • Why can I no longer open .doc files with Word2011

    I can no longer open .doc files with Word 2011.  .docx files are not a problem.  Everything stops responding as soon as I try to open a .doc file and I have to do a manual reboot (by holding the power button down).  This seems to coincide with my upd

  • White edge on black mask?

    I created a black rectangular frame size 720x480 about 10 pixels wide, with a transparent interior, as a Photoshop file, and used QT Pro to add it as a video track in a layer above a completely black video, also 720x480. You'd think the combination w

  • HT201269 want to sell my iphone 5, what to do?

    I have iphone 5 with Telus Data plan. If I want to sell it to someone then what do i have to do. Do i have to take the sim out? please help. and can i keep my number if i sell it with the plan? Thanks

  • Maximum Orders?

    Is there a maximum order amount? I am creating a manual order and when I return to it after saving, it has chopped some of the products off. It won't seem to store more than 6 products on the order I am creating. Is this a bug? Or is there a product