How to dynamically form the base URL for a region?

For Application Express 2.2.1, I've created a URL region for a static html page:
e.g.
http://xxxx-dev.website.com/html/page1.html
The problem is that when I promote this application to production (using export/import), this URL still refers to the development website.
I need Application Express to use the base URL of its current URL path rather than http://xxxx-dev.website.com
Can this be done?
Thanks

Hello,
If you omit the http:// part from your static URL, the APEX engine will automatically attached the local server prefix to it.
Regards,
Arie.

Similar Messages

  • How Do I Find the Full URL for Linking to Messages in the Forum

    What is the best way to find the URL that links directly to a message I've posted in the forum?
    When I receive an e-mail notifying me that a reply has been posted in a thread I'm subscribe to, there is a link to that reply in a format similar to https://support.mozilla.com/questions/862631'''#answer-279005'''. I discovered that if I hover my mouse over the '''Helpful / Not Helpful''' buttons next to each message when I'm using '''IE9 as my browser''', the specific answer # assigned to any message can be viewed in the status bar at the bottom of the screen (e.g., https://support.mozilla.com/questions/862631/'''vote/279005'''), but I can't figure out how to do this in Firefox.
    Most other forums I post in assign a number to each message in a thread (e.g., message 7 of 25) that has the URL link embedded so that you simply right-click on the message number and choose '''"Copy Link Location"''' to obtain the direct URL for any message.
    Windows Vista Home Premium 32-bit SP2 * NIS 2011 v. 18.6.0.29 * Firefox 8.0.0

    Adobe Reader Touch (Windows Store app with "modern" UI) is not really accessible.
    If you have a device running the Windows 8 operating system (as opposed to the Windows RT operating system), you can install and run Adobe Reader XI (desktop app with classic UI), which offers better accessibility support for screen readers.  It also has the "Read Out Loud" functionality.

  • How to Dynamically Select the Data File for a Report at Print Time

    How do you configure a Crystal report to ask for the file to be reported on as the report is being printed, and allow the user to browse to the file?
    The environment is Crystal Reports XI, SP3, with ODBC connection to Sage Timberline Office data version 9.7.  The client names their Payroll unposted time file each pay period, and also needs to report on their posted data file, depending on the time period for the report.  The client will need to select both the date range and the file name.
    I have created a SQL statement in Add Command in Database Expert, which prompts for a file name, but it does not let you browse to select a file on the computer.
    Therefore, in the prompts when they print the report, the parameter offers the user a default file name similar to the name they currently use, so they only have to change the payroll period end date in the supplied file name to run the report successfully.
    The client is concerned that sometimes a user will name their data file differently, and not know how to input the file name into the Crystal report prompt at print time.
    My research on dynamic prompts showed you can link to fields inside the data record, but I did not see a way to dynamically link to select the actual files used in the report.
    Another question is that the naming convention used by the SQL query is different than the basic Windows file name, but I think I can handle that issue.
    The actual file name is typically similar to:
    04-10-11 BP NEW.PRT
    However, in the SQL query, the record ID looks like:
    PRT_00-00-00 BP NEW__TIME
    The SQL Statement using a parameter is:
    SELECT
    "PRT_CURRENT__TIME"."Employee",
    "EMPLOYEE1"."Employee_Name",
    "PRT_CURRENT__TIME"."Date",
    "PRT_CURRENT__TIME"."Units",
    "PRT_CURRENT__TIME"."Job",
    "JOB1"."BP_Emps_Used"
    FROM
    "PRT_CURRENT__TIME" AS "PRT_CURRENT__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB1"
    ON "PRT_CURRENT__TIME"."Job"="JOB1"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE1"
    ON "PRT_CURRENT__TIME"."Employee"="EMPLOYEE1"."Employee"
    WHERE "JOB1"."BP_Emps_Used" = 1
    AND
    ("PRT_CURRENT__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})
    UNION ALL
    ( SELECT
    "PRT_NEW__TIME"."Employee",
    "EMPLOYEE2"."Employee_Name",
    "PRT_NEW__TIME"."Date",
    "PRT_NEW__TIME"."Units",
    "PRT_NEW__TIME"."Job",
    "JOB2"."BP_Emps_Used"
    FROM
    "{?NEWPRT}" AS "PRT_NEW__TIME"
    INNER JOIN "JCM_MASTER__JOB" AS "JOB2"
    ON "PRT_NEW__TIME"."Job"="JOB2"."Job"
    INNER JOIN "PRM_MASTER__EMPLOYEE" AS "EMPLOYEE2"
    ON "PRT_NEW__TIME"."Employee"="EMPLOYEE2"."Employee"
    WHERE "JOB2"."BP_Emps_Used" = 1
    AND
    ("PRT_NEW__TIME"."Date" BETWEEN
    {?As of Date} - 41 AND {?As of Date})

    Hello,
    Sorry you'll have to contact Sage on how to do this. We can help you once you get connected but we can't help you get around their connection methods.
    There is no Preview Set Database Connection method you can use in CR Designer. The Designer assumes you select it first or use the Set Location option before previewing or refreshing the data.
    If you are doing this in the Sage program itself we can't help you, you'll have to contact Sage for assistance.
    Sage is an OEM Partner they are responsible for supporting their product and CR. If they have issues help you then they will contact us directly for assistance.
    Thank you
    Don

  • How can I determine the WSDL URL for an Enterprise Service defined in ECC

    I have an Enterprise Service that is defined in ECC and I can see the function definition for it via transaction code se80, ABAP Development Workbench.  However when I open up the Service Definition for the Function and click on the WSDL tab the URL I see is not correct.
    How do I find the proper Enterprise Service WSDL URL?
    Sam
    PS: Posted on behalf of some colleagues...  
    I wonder if someone from Exton knows the answer???

    Will someone please tell me this so I can give them points:
    First you have to call transaction SOAMANAGER in your ECC system.  It will then open up a new browser window.  Then select the Single Service Administration link and a new screen will open.  Then search and select your WebService and press the Apply Selection button.  Then you can select the wsdl from the grid below.  If no wsdl was previous created you can Create a New Endpoint which will generate one.  The browser window that opens up will have the WSDL URL set in the Address bar.
    Sam

  • How to dynamically change the table name for a update statement

    Hi All,
    I need to update a coulumn xyz in either of tables abc and efg based on some condition.
    I wrote a cursor which has union of two queries(one querying abc and other efg)
    Now based on some inparameter only one will be executed at a time.
    And based on some condition a coulumn xyz needs to be updated which is in either of the table.
    As the update condition is same
    Update abc/efg set xyz=data where condition
    I am looking to initialize a variable like v_tname based on some condition and update like
    update v_tname .........
    (Exactly that may not be like so, But looking a technique like this)
    Please help

    If there is only two tables you'll need to update then you are better off using static SQL and implementing something like this instead:
    DECLARE
            update_condition        BOOLEAN;
    BEGIN
            -- initialize update_condition
            update_condition := <some_boolean_check>;
            IF update_condition
            THEN
                    UPDATE abc
                    SET    xyz = some_val
                    WHERE  some_col = some_other_val;
            ELSE
                    UPDATE fgh
                    SET    xyz = some_val
                    WHERE  some_col = some_other_val;   
            END IF;
    END;
    /Hope this helps!

  • How can I change the default URL in hyperlink inspector

    How can I change the default URL for link to external page in the Hyperlink Inspector?

    You can't change the default url in the inspector.. but an easier way to do it rather than editing the box everytime you need to build a link is to copy the url you want to link to and then highlight the text or image that users will click on and then click enable hyperlink.. when you do that whatever the last url you copied using "command" "C" will automatically be entered into that box and replace "livepage.apple.com"
    It saves alot of time if you are doing alot of links.
    Hope This Helps!

  • How do I find out the base dir for the current workspace ? Change?

    Assume I took over a colleagues JDeveloper installation.
    How can I find out the base dir for his JDevelopers workspace?
    Can I change this workspace base dir afterwards/later (without
    problems for the included sources and projects) ?
    Where can I change it ?
    I did not found an option in the settings?

    If you hover your mouse over the workspace you'll see the directory where the jws file is stored.
    For each project in the workspace you can go to the project properties and look up information in the content node of the preference - there you can also change the location preferences for where code is created.

  • I'm a Mac user. I wanna know what is the base directory for the "chrome://" url. I wanna also know where i can find the file "chrome://browser/content/browser.xul" in my computer. Thank you

    I'm a Mac user. I wanna know what is the base directory for the "chrome://" url. I wanna also know where i can find the file "chrome://browser/content/browser.xul" in my computer. Thank you

    Use your browser to open this page "chrome://browser/content/browser.xul"
    Right click and click "View Page Source" you will find that this xul file should be in Firefox.app/Contents/MacOS/omni.jar

  • How could I set the proxy settings for just some URLs and not for all?

    Hello,
    I am using HttpURLConnection to establish a HTTP connection . The connection pass through a proxy, and it requires security.
    I know that I can set the proxy settings in the system properties, and this works perfect.
    But I don't want to set the proxy settings in the system properties, because this proxy settings will be for ALL the URLs, and I just want for a few URLs.
    How could I set the proxy settings for just some URLs and not for all?
    Thanks

    java.net.URL.openConnection(java.net.Proxy proxy)
    @since 1.5

  • I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    Try going to the following
    Tools->Web Developer-> Page Source.
    You can also access this by way of keyboard shortcut Ctrl + U
    The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item.

  • How to get the base url

    Hi,
    when configure the BPM, we set the base url (http://host:port/), which will be used in the default notification sent by bpm.
    now we want to include that url in our notification step. is there a way to get that url?
    Best regards,
    John

    Hi John,
    Would you please share the solution you found for this problem, maybe the EJB source codes or something like that? It would really help the ones like me who have the same problem and looking for a solution.
    Thanks in advance...
    Best regards,
    Utku.

  • How to find the WSDL URL for my deployed portlet

    Hello,
    I do not find the WSDL URL for my deployed portlet. I deployed a Portlet correctly with JDeveloper to a remote Oracle AS.
    In the tutorial they write:
    "Now use the URL provided in the log page at the bottom of JDeveloper to get part of your URL (e.g. http://myserver.uk.oracle.com:8888/my-portlet) and complete the URL.
    http://myserver.uk.oracle.com:8888/my-portlet/portlets?WSDL
    Now use this URL to register your portlet with OracleAS Portal."
    But in the log there is nothing like this! The log ends like this:
    "DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 13 seconds
    ---- Deployment finished. ---- 11-Mar-2006 12:26:58"
    Can anyone tell me where to finde the WSDL Url?
    Thank you.

    OK I think that I found a quick workaround for this issue. Creating a redirection URL using the parameter icm/HTTP/redirect_<xx> works for me.
    Parameter:
    icm/HTTP/redirect_0    (Value '0' may differ for your system)
    Value:
    PREFIX=/ws1, TO=/sap/bc/srt/wsdl/srvc_08002720027F1EE3AEAAFED3B5688C63/wsdl11/allinone/ws_policy/document?sap-client=001
    Now the WSDL URL can be reached at
    http://was730.dvlopr.com:8000/ws1
    Tested!
    Best regards

  • Configuring the Destination URL for the Adobe Document Services

    hi all,
    I am going through the documentation for "Configuring the Destination URL for the Adobe Document Services " at :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/560f41ca73d349e10000000a1550b0/frameset.htm
    I am not able to understand 7th step
    <b>7.      Define the user name and password. To find out how to create the user name and password for the Adobe document services, see Creating a User for Basic Authentication in the document Adobe Document Services – Configuration Guide. You can find this guide in the SAP Service Marketplace under Quick Link /InstguidesNW04.</b>
    In our scenario
    <i>We are running NW04s SP11 on 2 machines
    1) <u>32-bit machine with ADS and credentials properly configured on Web AS for Java installation</u>
    <b>com.adobe  AdobeDocumentServices  null (710.20061024154505.342190)
    com.adobe  AdobeDocumentServicesEjbClientLibrary  null (705.20060407121920.289077)
    sap.com  SAP-JEE  7.00 SP11 (1000.7.00.11.0.20070201154700) 
    sap.com  SAP-JEECOR  7.00 SP11 (1000.7.00.11.0.20070201154700)
    com.adobe  DocumentServicesBinaries2  null (710.20060629085312.115621) 
    com.adobe  DocumentServicesConfiguration  null (710.20061024154505.342190) 
    com.adobe  DocumentServicesDestProtoService  null (710.20060821084105.325745) 
    com.adobe  DocumentServicesLibrary  null (710.20060629090137.115621) 
    com.adobe  DocumentServicesLicenseDatabase  null (705.20051005114147.242570) 
    com.adobe  DocumentServicesLicenseManager  null (710.20060929113452.336248) 
    com.adobe  DocumentServicesLicenseService  null (710.20060929113452.336248) 
    com.adobe  DocumentServicesLicenseSupportService  null (710.20060929113641.336248)
    </b>
    2) <u>64-bit machine with portal installation on Web AS for Java, with ESS and MSS</u>
    <b>sap.com/SAP-JEECOR  7.00 SP11 (1000.7.00.11.0.20070201154700)  20070308153304 
    sap.com/SAP-JEE  7.00 SP11 (1000.7.00.11.0.20070201154700)  20070308153213 
    sap.com  SAP_ESS  600 SP7 (1000.600.0.7.12.20070314050106)
    sap.com  SAP_MSS  600 SP7 (1000.600.0.7.4.20070321052655)
    sap.com  tc/wd/webdynpro  null (7.0009.20060804145649.0000) </b>
    </i>
    Why do we have to create a new user for the server which is consuming the web service? We already have an user "ADSUser" defined for the Web AS server which has ADS services deployed.
    I have opened this thread to solve the previous unanswered question I posted on SDN Empty area in place of Interactive form. .
    One more thing the adobe print forms of ESS [Total Compensation Statement and Salary Statement] are rendering properly, only the ones with Interactive ability or not.
    thanks,
    Sanketh

    Hello Sanketh,
    1. To access the NW04s configuration guide,
        - Go to https://service.sap.com/adobe
        - On the left frame (tree), under Adobe > Media Library > Documentation
        - On the right had pane you will find the link to the NW04s Configuration guide
    2. The link that you have mentioned below details the steps required to be carried out on the client machine that consumes the Adobe Document Services. In our case that is the j2ee engine on which your Web Dynpro application is running. It could be the same physical machine with two different j2ee instances hosting Web Dynpro and ADS or it could be two different physical machine or a single machine having a single instance of j2ee engine hosting both the Web Dynpro and the ADS.
    You do not have to create a separate username and a password on the consuming machine but you need to configure the Web Service client proxy to point to the ADS (maybe hosted on a different machine) with the username and the password created on the ADS server. As you have mentioned, you have already created such an user on the ADS (ADSUser). This user authentication on the client machine (consuming server - Web Dynpro) would be required at the runtime by the j2ee engine to authenticate itself with the ADS.
    Best Regards,
    Krish

  • How do I modify the default account for events in iCal?

    I have several email accounts (for biz&home) and I want to use them, depending on the event, as the account from where an invitation from iCal is sent. So if a have a football game with friends, I want to use my personal account when sending an iCal event. But when I want to make a biz meeting, I want to use my work account in that invitation. How or where can I make these selections/options appear? Is it possible?
    If not, how can I set the default account for invitations in iCal? (I already have a "default" account in Mail, but iCal is not using that account for invitations).
    Any help is appreciated

    Hi salazar2,
    Been dealing with a similar issue for about 3 years now, so I know your pain. I founded a company in 2009 called Zamain that is focused on making Mac calendaring more productive. Our first product, Zamain for Mac, solves your problem as well as Apple iCal to Microsoft Outlook/Exchange incompatibilities. The current version includes the following features:
    * Sends iCal invitations that Outlook users can actually open
    * Sends invitations from any email account
    * Lets you add comments to invitation replies
    * Makes timezones actually work
    * Prevents weird attachments from appearing in your invitation emails
    Although I know that this is a shameless plug for my product, I urge you to give it a try because it will really make your life easier. We have a happy user base, are actively developing new solutions, and are always open to suggestions.
    You can get Zamain for Mac at www.zamain.com.
    Thanks!
    -Jon
    As per the terms of agreement, I must disclose that I may receive some form of compensation, financial or otherwise, from my recommendation or link above.

  • I can't see a Base URL for shared Calendars with new Mobile Me iCal

    Hi,
    I have a family .Mac membership and my events are being organised by a Windows user (with one of my other accounts) using the Mobile Me Web site. No other problems accept this.
    With the previous iCal on my Mac when I shared a Calendar I was always shown the Base URL which anyone with a web browser could access. With the new iCal on Mobile Me is a simple URL still an option? If so how can I find it?
    I don't wont subscribers to have to download a file or add the calendar, I just want them to click a URL and view the week's events, Read only, as with the previous iCal on my Mac.
    The old URL system does not work for the new iCal on Mobile Me I tried it http://ical.me.com/username/Calendar
    Any Tips will be greatly appreciated.
    Regards,
    Athena

    Do you have enabled auto-fill for the location bar?
    You can check the pref browser.urlbar.autoFill on the <b>about:config</b> page.
    You can also make the protocol visible.
    You can set the pref <b>browser.urlbar.trimURLs</b> to <i>false</i> on the <b>about:config</b> page to see the http: protocol.
    You can set the pref <b>browser.urlbar.formatting.enabled</b> to <i>false</i> on the <b>about:config</b> page to disable the highlighting of the domain and see the full URL more clearly.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=678352 bug 678352] - 'h' entered as first letter in location bar is overwritten with 'w' when browser.urlbar.autoFill is true

Maybe you are looking for

  • How to get the error message from a AWS code to display on the portal

    I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, ho

  • Issue with Installing Oracle 10g R2 on a Windows 2008 Domain Controller

    I'm assigned a evaluation task for my company. The task invoke to install oracle in my Domain Controller Server. I got "ORA-12560: TNS:protocol adapter error" when I installed ORACLE 10g R2 for Win2K8 on my Windows 2008 (a Domain Controller Server).

  • Repository 6i will not install

    I installed designer 6i on a P4 with W2KP adjusting for -nojit and am currently attempting to start the repository install. I have followed the instructions in the documentation and 8iEE is fully operational on the W2K Server (a different machine). I

  • 11gR1 - using SOAP_CLIENT as protocol to connect to worklist service fails

    Hi, We are trying to use the SOAP_CLIENT protocol to connect to the BPEL worklist service using a standalone java application. The code to connect is: IWorkflowServiceClient wfSvcClient = null; IWorkflowContext wfCtx = null; Map<CONNECTION_PROPERTY,S

  • FM 10 starts crashing inserting / showing images

    FM10.01.402 on a Win7Pro x64 SP1 machine: Starting today when I open a FM doc and scroll down it will freeze as soon as a linked graphic should appear. Same if I try to put  f. e. a PNG file into an empty FM doc. All pictures are locally referenced g