Referencing the default region via URL

I need to expand the URL region= call to work with a template. I am creating a template for my users that will allow them to upload a file to the default region of the page. Normally I would simply use the region id, however, I do not want the file uploaded to the template, but to the region of the individual pages.
Is there a way to dynamically generate the region id? Is there a region=DEFAULT option? Can anyone help?

The Problem when used in conjuction with a template is that an item added to the template give the TemplateID instead of the pageID when you specify the associated function. The solution is to figure out the page ID yourself instead of passing it to the procedure. You can use the following code to do this:
v_page := p101202_050720.wwpro_api_parameters.get_value('_pageid','a');
v_page := substr(v_page, instr(v_page, ',')+1);
This code is meant as a sample ... if you have tabs you will need to further substring to just get the pageID ..wwpro_api_parameters.get_value('_pageid','a'); returns in the following format:
pagegroupID,pageID
if there are tabs then:
pagegroupID,pageID,tabID
Please keep in mind that scraping the page off the URL is not a supported use of this procedure and may break in future release if Oracle changes the structure of the URL.
Hope this helps,
Candace

Similar Messages

  • Tagging in MMS and set the default search center url through power shell

    Hi,
     Would like to know below things are psosiblke through Power Shell.
    Check the checkbox from the term store management tool [ for Managed Metadata Serv.]'s navigation section and for the tagging feature.
    2) In the search setting section of site collection administration, i  need to enter the  default search center  url, [ i have created search center sub site in al of my site collections.] my site collectons in the farm is  more
    than 50. so i  cant enter the url of search center url [/sites/site1/sc/pages/results.aspx ] manually.

    can someone pls help...

  • How to open a URL in the default browser via CC HTML Extension?

    Hi,
    I'm trying to open a link via the default browser in a HTML Extension for Photoshop CC built with Extension Builder 3.
    With the initial example the "/indext.html" it look like this:
    <li><button class="default" id="btn_PHXS" onClick="onClickButton('PHXS')" disabled="true">Run ps code</button></li>
    and I changed the code from "/ext.js" to:
    ...function onClickButton(ppid) {    var csInterface = new CSInterface();    csInterface.openURLInDefaultBrowser('http://www.adobe.com');}...
    This is what the "/lib/CSInterface-4.0.0.js" looks like:
    * Opens a page in the default system browser.
    * @param url   The URL of the page to open. Must use HTTP or HTTPS protocol.
    * @return One of these error codes:\n
    *      <ul>\n
    *          <li>NO_ERROR - 0</li>\n
    *          <li>ERR_UNKNOWN - 1</li>\n
    *          <li>ERR_INVALID_PARAMS - 2</li>\n
    *          <li>ERR_INVALID_URL - 201</li>\n
    *      </ul>\n
    CSInterface.prototype.openURLInDefaultBrowser = function(url)
        return cep.util.openURLInDefaultBrowser(url);
    Since "util" doesn't seem to be defined  I get the message:
    Uncaught TypeError: Cannot call method 'openURLInDefaultBrowser' of undefined
    Is the something missing?
    Thx,
    frankin

    Hi Franklin,
    Apologies for the delay but I have been trying to determine why this API is not been working. I have since discovered that, although this API is documented in the JS library, the behaviour has yet to be implemented into Photoshop CC. Offline I will try to determine why this API was included in the library when it was not ready but for the meantime, if you would like to open a browser, here is a workaround:
    Instead of using:
    //(new CSInterface).openURLInDefaultBrowser("http://www.adobe.com")
    // Use the createProcess API to open a browser. The following shows a workflow in Windows to open Internet Explorer.  
    var csInterface = new CSInterface();
    var rootDir = "/";
    var isWindows = window.navigator.platform.toLowerCase().indexOf("win") > -1;
    if (isWindows) {
                        rootDir = csInterface.getSystemPath(SystemPath.COMMON_FILES).substring(0, 3);
    var processPath = "/usr/bin/open";
      if (isWindows) {
        processPath = rootDir + "Windows/explorer.exe";
    var url = "http://www.adobe.com";
    window.cep.process.createProcess(processPath, url);
    Apologies for this inconvenience but we promise to keep you informed when openURLInDefaultBrowser API is fully supported.
    Kind regards,
    Lea

  • Changing the default Admin Console URL

    Hi,
    I have installed the Weblogic 9.1 development version sever on Fedora.
    I want to change the default URL http://localhost:7001/ of the administration console but am unable to do so.
    Can someone help me with this problem?
    Thanks
    Chander

    Chander,
    The URL to your console is http://localhost:7001/console. If you want to change "console" to something else, you can easily do that.
    In the console, click on the domain name (the first node) under Domain Structure. On the right hand side, expand the Advanced link. You'll then see the Console Context Path field where you can change "console" to anything you'd like.
    For example, you could have http://localhost:7001/myconsole.
    Mike
    Weblogic/J2EE Security Blog: http://monduke.com

  • Statically referencing the default JTextPane Cut, Paste, and Copy actions

    If all JTextPanes share the same default keymap, which includes the Cut, Paste, and Copy, how do I modify those actions statically so those modifications are available to all JTextPanes before one is instantiated?
    Also, it seems that the key bindings are linked to the UI....an HTMLEditorKit has different actions than a RTFEditorKit (except for the default actions they share), but when you swap out an editor kit, only the ActionMap is updated...why not the InputMap as well?

    The JDK 1.4 use read/write methods of editor kit for paste/copy operations. So if you set your editor kit it will be call your read/write functions.
    best regards
    Stas

  • How do I make iTunes NOT check if it is the default player via registry setting?

    I work in an a corporate environment with hundreds of employees that have iTunes and when iTunes is the default music player it conflicts with our Voicemail system (the voicemail system will email .wav files to people when a voicemail was left.  Double clicking the .wav file from within our email client doesn't work when iTunes is the default music player).
    Is there a registry setting to DISABLE iTunes from checking to see if it is the default music player?
    Is there also a registry setting to set WMP as the default music player for .wav files for those people that have already set iTunes as the default music player?
    Thank you.

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X

  • Mobile BI (MoBI): Using 3.0, what is the default Mobile Server URL?

    Hello,
    We are attempting to set up a basic demo of MoBI for our BOXI 3x environment.  We did our best to follow the install steps and were able to successfully push down the app to the device.  The problem we are having is 'Network Unavailable' errors when attempting to login.
    First, we are not sure how to troubleshoot the error.  Second, we are not sure we have the correct Mobile Server URL configured.  Ideally, we would like to "pre-configure" the app so the settings are already set before the app is pushed down to the device.
    However, I am not certain we have the correct URL.
    On the device I have...
    Mobile Server: http://<server>/MobileOTA/
    Port Nbr: 11011
    CMS name: rpfshare2
    Auth Method: Enterprise
    Any help is greatly appreciated.
    KMS

    Just a quick update....
    We have actually moved on to MoBI 3.1 and it turns out we have had the app set up correctly with ourfirewall.  The issue is with the device.
    If you are not using a BES and want to use a standard firewall to access MoBI from the device, you must have what is called BIS Push enabled on the device or it will not work.  Your carrier (i.e. T-Mobile) can confirm if BIS Push is enabled/activated.
    As for the url of the 'Mobile Server' connection parameter for a non BES deployment....is only needs to be the full public domain name of the server that has MoBI listening...i.e.  mobileserver.company.com.
    FYI.... SAP Business Objects Support can/does take MoBI cases.  When submitting a "Message" use the component..'BOJ-BIP-DEP'

  • Default Region on Pages

    Hi, I have many portal pages that have various tabs and portlets on the tabs. We just upgraded our Application server to 10g release 1 (9.0.4) from 9ias Release 2 (9.0.2).
    Before I use to be able to call http://servername:7778/pls/portal/url/page/<page_group>/<page_name> and Portals would remember what the last tab I was on. If this was the first time going to the page it would default to the first tab on the page.
    Now with 10g, it will go to the default region, not the last tab visited. Does anyone know of this problem? and is there a fix that I could implement?
    Thanks

    Hi Richard -
    In the next major release of Portal page groups will have a property to specify whether tab selection should be persisted or not.
    Regards,
    Candace

  • How to change the default text style?

    The MacOS system seems to maintain a collection of text 'styles' available in applications such as TextEdit, Bean, MacJournal, Notebook and DevonThink. This collection contains a default style, used by some (but not all) of these applications as the default text style for new documents.
    At my computers this default style is characterized in the 'favorite styles' panel as 'left aligned, spacing 0.0x' and it has strange tab stops (0.99, 1.98, 2.96, 3.95, 4.94, 5.93, 6.91, 7.90, 8.89, 9.89, 10.86, 11.85 cm).
    I prefer tab stops at 1.00, 2.00, 3.00 etc., and 1.2x line spacing.
    I guess I have changed the default style by accident, as I cannot imagine Apple putting such strange tab stops in a default style (0.0x spacing sounds a bit strange too). If so, it must somehow be possible to change the default style.
    I have tried to change the default style via TextEdit (which does not use the default style as default, but spacing 1.0x and tab stop at each centimeter) and several other applications (Bean, MacJournal, Notebook) in the following way: select a piece of text with the intended format, open the document styles panel, click 'Add to Favorites', enter 'Default' as the name for the style and click 'Replace'. Unfortunately, that doesn't work. Although I do not get an error message, the Default style hasn't changed. I can save my preferred style as, for example, 'Preferred' but that does not prevent MacJournal and other applications from using Default for every new document.
    Any idea how to change this default style, or, if that is not possible, reset it to its original state?

    I suggest you have a look at [https://addons.mozilla.org/en-US/thunderbird/addon/stationery/?src=api Stationery].
    It won't help you in defining styles, as such, but will give you templates wherein you can set up styles.

  • How to parse crystal report query prompt value via url parameters

    HI All,
    I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
    for example, in my query panel i have created a prompt called "pwwid"
    and this is how i parse the prompt value via open document url.
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
    I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
    any idea why i am not getting this works?
    Regards,
    KeatAun

    Could you try:
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
    -Abhilash

  • What are the default values for dom.max_chrome_script_run_time for FFVersions 25 through 30 ?

    I have run across issues that creep up. The timeout setting of
    dom.max_chrome_script_run_time
    seems to be 20 seconds in FF 25.0.1 and 10 seconds in FF 30
    I was wondering if you have release notes for all versions from
    [25, 30] so that I can know all of the different timeout values?
    Thanks,
    -Charlie

    Can you post a screenshot that shows a different default value of one of those prefs?
    Note that it is possible to modify the default value via a mozilla.cfg file in the Firefox program folder.
    See:
    *http://kb.mozillazine.org/Locking_preferences
    *http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/

  • Default WH via DTW

    Dear Expert,
    I am trying to assign the default Warehouse via DTW > i am putting the Warehouse code in the field of default warehouse in Item templates but failed . Error is
    {OITM.DFLT} The Connected value 1 was not found in the table Warehouse Application-defined error Oitems
    Thanx

    Dear,
    when you are entering the value of default warehouse in excel template write it as '01 instead of 01
    use  single quote(') in from of 01.
    now import template.
    it will import successfully.
    hope this will help you.
    neetu

  • Adhoc conferencing giving busy tone when using non-default region

    Hi All,
    This strange issue is occuring on call manager 9.1. When the default device pool is used on the phones they are able to adhoc conference each other. When a different device pool is used and a new region is created but has the same settings as the default region it is still giving the busy tone.
    Is there a reason why this is happening?

    Default inter-region Codec unless you changed it is G.729.  Software conference bridge in CallManager doesn't support G.729 so a transcoder or hardware conference bridge must be used.  Your other option would be to just change the max audio bit rate between the Default region and the new region to 64kbps.

  • Viewing HFR reports in the same window via task list url link

    Does anyone know how to render an HFR report inside the Planning application or even in Workspace when referencing the report's url through task list? This is with version 11.1.1.3. It doesn't seem like this version allows the task list to be built to pull up the report within the Planning application window, or even as a separate Workspace tab. I also want to be able to switch from pdf or html preview when viewing the report, but this option isn't allowed when opening the report via task list. A separate pop up appears for the report, which isn't what I want.
    Anyone know of a fix or workaround?

    This sounds like part of your issue :-
    9549216 - Instead of a new tab, a new window displays after you create a Financial Reporting task in Workspace.
    Fixed in patch 11.1.1.3.02
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • From the URL entry box I want to drop AOL/Yahoo as the default and get Google instead. How?

    I want google as the default search from the url bar/box. I don't want AOL?Yahoo search, or AIM or Bing.

    I might not have made sense trying to ask this question. 
    Here's an example:  When I create a calendar event on my mac - I can choose, via an event dropdown item, which calendar to apply the event.  By default, its set to the iCloud calendar.  I am now finding myself clicking this listbox and changing it to my gmail calendar for every appt I create.  I was hoping there would be a way for me to have this default to my gmail calendar instead of the icloud.
    Does that make better sense??
    Thx

Maybe you are looking for