build a url from the view of wwsbr_all_items

Well the topic says it all! Using the view of the items in the portal, how to build a url?
If the items are stored as links, the url is in the url field. If items are documents contained in the repository, the url field is empty. At least, I think it's okay from what I can tell. If need to discern their url.
Any help is appreciated!

Here's a function I use to do this. Wwsbr_all_items just pass the function the columns ID and KINGPIN. It returns the url of the document. If you create the function and then try and run from SQLPlus or something, don't forget to set your SSO context or it won't work.

exec wwctx_api.set_context ('portal', [Internet portal password], NULL);

FUNCTION DOC_PATH_URL)
P_ITEM_ID NUMBER,
P_CAID IN NUMBERS)
RETURN VARCHAR2
          
IS

l_return varchar2 (10000);
l_item_name varchar2 (100);
number of l_folder_id;
l_folder_name varchar2 (100);

BEGIN

Select (name), folder_id in l_return wwutl_htf.url_encode, l_folder_id from portal.wwsbr_all_items where id = P_ITEM_ID and caid = P_CAID and active = 1 and
is_current_version = 1 and itemtype = "basefile;

BEGIN
WHILE 1 = 1 LOOP
Select parent_id, name to l_folder_id, l_folder_name from portal.wwsbr_all_folders where id = l_folder_id and caid = P_CAID;
l_return: = l_folder_name | '/' || l_return;
END LOOP;

EXCEPTION
WHEN NO_DATA_FOUND THEN
NULL; -EXIT LOOP TO NO FOUND ROWS, WHICH IS EXPECTED.
END;

RETURN ('/ portal/page/portal /' | l_return);

EXCEPTION
WHILE OTHERS THEN
HTP. P (SQLERRM);
RETURN "ERROR";

END DOC_PATH_URL;

Edited by: ScottM on June 21, 2010 09:22

Tags: Fusion Middleware

Similar Questions

  • When I type or paste a URL into the address bar or select a url from the address bar dropdow, the "enter" button does nothing. I have to press the green arrow to load the url?

    Each time it manually to enter a url, past a url, or select a url from the address bar, the system requires that I click on the green arrow to go to the url. The entrance to key doe nothing. Am I the only one having this problem?

    This problem may be caused by an extension (possibly AVG Safe Search) which does not work properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

    In Firefox 4, you can use one of them to start in the questions to troubleshoot Firefox in Safe Mode:

    • Help > restart with disabled modules
    • Hold down the SHIFT key while double-clicking the shortcut from the desktop Firefox (Windows)
  • Is it Possible to ignore the prompt from the view of the customer for the selection of pool?

    Customer view has the serverURL - and command line parameters - desktopName that work well to specify the Server View Manager or Office to connect to in a one to one relationship but I would ignore the selection of pool as well. I have thin client Labs in our school libraries that use a pool View. I want to clarify the pool when the user clicks on the icon view rather than motivates students to choose the correct pool in the list. I know I can limit the pools shown to students in making our more granular ad groups and allowing only the groups we want to using each pool, but when you have 16 schools, K - 12 classes and thousands of potential users it becomes a management nightmare. It would be much easier to choose the correct pool for them.

    One of the ways I've found to make a direct link with the desktopName - but if we do lose us the benefits of the management of the pools.

    Any help is very appreciated,

    Thank you

    Ty

    Yes! I tested it: you choose the display name that appears in the list on the client from the view.

  • Get the IP address of the client from the view

    I have a code that uses the API well established WTSQuerySessionInformation() (http://msdn.microsoft.com/en-us/library/aa383838 (VS.85) .aspx) call, through the argument of WTSClientAddress, to retrieve the IP address of the client that is connected to an RDP session.

    When this code is executed in a View (on XP SP3) session, it still returns 127.0.0.1 rather than the IP address of the client that connects to the session of the view. If I disconnect the session View and reconnect to the same user via a console RDP session and then the IP address of the client is successfully returned. With the help of the WTSClientName argument to return customer name always returns the name of correct client that the session is connected via RDP or the customer to view.

    Anyone got any ideas how to retrieve the IP address of the client please? No doubt must be mailed to a community developer, but I can't find really relevant.

    What is happening because of the tunnel from the view, because only in tunnel mode, the RDP control connects to 127.0.0.1 (on the client side) and the socket connection then integrated on the remote side. Session information are filled with the information provided by the RDP client, where the difference.

    We intend to address this issue in a future version of VMware View by providing various information on the client address environment variables available in the RDP session, including the client's real IP, for example:

    ViewClient_Broker_DNS_Name = broker.foo.com

    ViewClient_Broker_Remote_IP_Address = 1.2.3.4

    ViewClient_Broker_Tunneled = false

    ViewClient_Broker_URL =https://broker.foo.com:443

    ViewClient_IP_Address = 5.6.7.8

    ViewClient_LoggedOn_Domainname = FOO

    ViewClient_LoggedOn_Username = user

    ViewClient_Machine_Domain = bar

    ViewClient_Machine_Name = baz

    ViewClient_MAC_Address=00-12-34-56-BE-EF

    ViewClient_Type = Windows

  • Cannot remove items from the view of games

    I inadvertently dragged a shortcut on the desktop (to a URL) on my games window. It now appears in the list of games, but I can't delete it – make a right click does not have a menu and organization | Delete does nothing. How can I get rid of it please?

    It has been for me an experience of Discovery Channel and another example of the way in their attempts
    to make Win7 dumbed down and easy, they often succeed in the opposite direction.

    «The ' menu of games that I'm talking about is one you get when you click on "Games" after clicking «Start»»»

    This is what I found last night. Three options are found in the start menu.
    Two present in the right pane - either / or - display as a link or show as Menu.
    I don't know I noticed them during the first pass of Win7, but had turned them off since then and paid little
    attention than start\program as well.

    * Process * -.
    Display as link
    is apparently one you use and the only one of the three I have no
    try to slip and fall in last night (how is that bad science.). I see now that it's actually opens
    a window of vs an extension out of the Start Menu.
    The folder I was focused on what is start\program, and is the one who has the 'real '.
    the folder I was alluding.
    The other two are also, but I now have a link to the universal currency converter
    with my game shortcuts in the window display as link and show as Menu.. 

    More fun - as I hoped, delete the folder games start\program is only temporary.
    I thought it would come to the time where the installation of a new game, but no, drop the shortcut URL in
    the window display as link also creates a file it with the shortcut URL in there, which
    will remove.  Strange science, what!

    OK - I'm off to find where Windows MASK the 'real' folder, that these two other Menu start files
    are stored in. I don't know that I fell on it in the past...
    * return * traces - well, I found the Game Explorer folder and deleted the most recent file (they were quite 'intelligent' hide which is what using numbers/letters rather than the names of game).
    All this is move the icon for the shortcut from the list of games 'Unspecified '.
    Maybe it's role-playing GE folder?

    Another weakness with this business of game Explorer is that it lists all of the games. He has only 86
    by 145 games I installed. It lacks all the steam and the 8 demo and games BACK.

    EDIT: Maybe a system restore? I tried to restore the file to a previous version, but that did not help.
    I can't (won't) to try the system restore because it allows you to uninstall a game yesterday, I downloaded form steam.
    Crikey! Now, it seems that I am stuck with a URL in a window full of shortcuts that I use never - OMG!

    EDIT again: deleted the folder of game Explorer (User\AppData\Local\Microsoft\Windows,
    rebooted and everything came back, always with the URL shortcut, so there must be a
    «real real honest to the of the goodness experience record- must find the folder... »

    ----------------------------------------------------
    STOP press: I was looking for a similar folder in the 'real' Start Menu folder, but this is not what we
    It's she want! Registry... That is why the AppData folder is alphanumeric, Yes!

    Open regedit and go to-
    REGISTRY\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\GameUX\Games

    And then type the URL name to Edit > find (I just typed universal currency) and the
    Registry entry for the shortcut URL wandering will highlight. You can verify that this is the right key duplicate
    by clicking on the title before deleting.

    End of the story. Ooh! It was fun...
    .

  • Restrict access from the view of external endpoint

    Hello world

    I got an interesting question to come today: is it possible to restrict access to the view of physical endpoint?  This client does not support BYOD somehow and provided instead of thin laptops HP for their users access to the view since then at home, via a security gateway.  I know that you can disable the web interface from view completely, but they seek to block connections to nothing but these thin laptops.  Thank you!

    Here's a more recent document - https://www.vmware.com/files/pdf/VMware-View-KioskMode-WP-EN.pdf

  • Cannot submit the URL from the address bar or present Google searches

    I can type a URL in the address bar, but I can't submit the URL via the Enter key or 'go' button. I have google as my home page and I can type a search but not submit them. I reinstalled FF several times. I deleted my profiles. I disabled addons. Nothing works. I am running version 20. Any ideas? It's driving me crazy. User on the computer never has this problem.

    If you are in a corporate network environment:

    20.0 Firefox has a problem with configurations where your Windows profile is stored on a server using a UNC path (for example, \\userdata\greg). Currently, there is a solution for this. A solution could be to choose a local folder for your own settings of Firefox, but that could not be authorized by your COMPUTER. Even if it's less safe, if you need emergency of Firefox, you could switch to Firefox 19.0.2. This article has a link under 'I still want downgrade': install an older version of Firefox.

    If you are in a home environment or the local settings folder, then please ignore the above.

  • How to delete addresses (Url) from the address bar on the taskbar

    How do you remove addresses (Url) in the address bar of bar?
    Where are they kept?
    Do not reference to the address bar of IE8.
    anyone

    Hello

    They are stored in this location in the registry HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths (to open the registry in the type of start the regedit search box and press on enter then navigate to this location)

    You will see once you click on the folder of TypedPaths a links list called URL1, URL2, URL3, etc etc in the right hand pane which will correspond to the links in your address bar of Solution Explorer, you can right-click and delete them.

    Offhand can't remember that if no freebie cleanup apps that, maybe someone else can remember better than I.
    There may be a crisis today... my schedule is already full

  • Black screen after installation of the Agent from the view.

    Hello

    I am facing a weird problem on my windows 8.1.

    I have install for use as a template for a pool automated view 5.1

    When I install the vmtools, after that I installed the agent of sight, I got a black screen.

    I tried several times and I got the same thing.

    I'm not able to convert into a model of deployment of workstations after.

    Can you please help me on this problem.

    Thank you in advance.

    I'm a little unclear - which command do you have installed? If you have installed VMware Tools after the Agent of the view, you need to uninstall and re-install the Agent of the view... It must ALWAYS be installed last, even if you're just updating tools.

    In addition, Windows 8.1 is not supported with view 5.1 IIRC

  • Get the URL from the browser form

    Dear,
    I'm certain forms of 10gr 2, I would get the URL of the browser inside my shape. How could I do something like that?

    Thanks in advance.

    With PJC bean is also possible...

    http://peterv6i.blogspot.com/2012/04/reading-applet-parameters-in-Oracle.html

    or

    package in2.client;
    
    import java.io.PrintStream;
    import java.net.InetAddress;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VBean;
    
    public class ClientInfo extends VBean
    {
      private static final ID CLIENT_IP = ID.registerProperty("CLIENT_IP");
      private static final ID CLIENT_NAME = ID.registerProperty("CLIENT_NAME");
      private static final ID CLIENT_OS = ID.registerProperty("CLIENT_OS");
      private static final ID CLIENT_USER = ID.registerProperty("CLIENT_USER");
      private static final ID HOST_URL = ID.registerProperty("HOST_URL");
    
      private IHandler mHandler;
      private String hostAddress = "";
      private String hostName = "";
      private String hostOs = "";
      private String hostUser = "";
      private String hostURL = "";
    
      public ClientInfo()
      {
        try
        {
    
          System.out.println("+----------------------+");
          System.out.println("+  ClientInfro PJC     +");
          System.out.println("+  Peter Valencic      +");
          System.out.println("+----------------------+\n"); 
    
          this.hostAddress = InetAddress.getLocalHost().getHostAddress();
          this.hostName    = InetAddress.getLocalHost().getHostName();
          this.hostOs      = System.getProperty("os.name");
          this.hostUser    = System.getProperty("user.name");
    
          System.out.println("Host   adress: " + this.hostAddress);
          System.out.println("Host     name: " + this.hostAddress);
          System.out.println("Host op. syst: " + this.hostOs);
          System.out.println("Host username: " + this.hostUser);
          System.out.println("+----------------------+\n");
        }
        catch (Exception e)
        {
          System.out.println("Init error: " + e.toString());
        }
      }
    
      public void init(IHandler handler)
      {
        super.init(handler);
        this.mHandler = handler;
    
      }
    
      public Object getProperty(ID pid)
      {
        if (pid == CLIENT_IP) {
          System.out.println("Client IP: " + this.hostAddress);
    
          return "" + this.hostAddress;
        }
    
        if (pid == CLIENT_NAME) {
          System.out.println("Client Name: " + this.hostName);
    
          return "" + this.hostName;
        }
    
        if (pid == CLIENT_OS) {
          System.out.println("Client os: " + this.hostOs);
    
          return "" + this.hostOs;
        }
    
        if (pid == CLIENT_USER) {
          System.out.println("Clientuser: " + this.hostUser);
    
          return "" + this.hostUser;
        }
    
        if (pid == HOST_URL) {
          hostURL = this.mHandler.getApplet().getDocumentBase();
          System.out.println("Host Url: " + this.hostURL);
          return "" + this.hostURL;
        }
    
        return super.getProperty(pid);
      }
    }
    
  • vFoglight - references delete old Vm from the view hosts

    Hello community,

    How can delete old & references to and/or removed Vm who are no longer on the vCenter inventory from the vFoglight discovers hosts?

    Thank you in advance.

    Kind regards

    Guillermo. -.

    Hi Guillermo,.

    Looks like you might be affected by a bug in this feature:

    https://support.quest.com/SolutionDetail.aspx?ID=SOL95540

    You can open a case of pension if you want, and we can help you remove the data expired using other methods.

    Thank you

    -dave

    800-306-9329.

  • Get url from the browser form 11g?

    Is there any function to get the current url of the browser that is running in applet form 11g?
    Or at least the server part: port?

    Thank you

    In version 11, you can use javascript to retrieve the url of the browser. For example:

    Declare
         JS_in      varchar2(32767);
         rtn     varchar2(1024);
    Begin
         -- JS_in is the javascript funtion you want to call.
         JS_in := 'location.href';
         rtn := WEB.JAVASCRIPT_EVAL_FUNCTION (JS_in);
         -- "rtn" should contain the complete URL as seen in the browser address bar.
         -- Do something with rtn.
    End;
    
  • How to remove URLs from the browser when browser Acrobat PDF document conversion?

    Hello

    I am trying to print a page of web browser. The browser page is converted to a PDF file, and then it must be printed. In doing so, link the web from the browser is automatically attached to the PDF document. But I don't want to have the web link. How do I remove it?. I use Adobe Acrobat 9.

    Thanks in advance.

    Kirup.

    It is a feature of your browser, not Acrobat printing options. You need to find the printing options in your browser. In Seamonkey, it is under Page Setup.

  • Hide the Desktop.ini from the 'view' position, while leaving the ticked the checkbox show all system files?

    This worked fine with XP, but doesn't seem to work in Vista or W7.  I need the abililty to see all systems files and folders when you use the Explorer; However, I don't want to see the files on my desktop system.  After the 'bureau' is a special "display".  Is she can combine and display information from several sources (for example. C:\Users\Public\Desktop as well as my profile).  In addition, the desktop contains icons that are not in the profile of a user (for example. Network, computer, etc.), but they also present.  My point is that Microsoft has made a point to differentiate the Office Explorer view but incoherent.  As said above this worked fine with XP (and Windows 2000), but deserted in Vista and W7.  Y at - it another way to display all the files and folders system without displaying on the desktop?
    Concerning

    You have a bug because desktop.ini is not displayed, even if you check Show hidden files.

    On computer and network - icons you can hide using a customization: right-click on the desktop > personalize > change desktop icons > uncheck these icons

    ...

    I was wrong, showing desktop.ini is not a bug... You just bought too many options of folder and Search Options. I wonder how many times you need to see the protected file system? Because you unchecked to hide the protected operating system files . Another option: driver, Show hidden files and folder will show you everything you need. If you are not convinced, just go in a place where you expect that Hide protected system files will hide something important to you and to see these files will really disappear after choosing that Hide protected operating system files.

  • Random URL from the list at the click

    My WordPress blog uses a flash animation which, once the button has been clicked redirects to a URL.

    But what I want to achieve when you click to select at random from a selection of say 100 URL.

    Also can I control the URL list to the button somehow within my WordPress blog.

    Thank you

    Not only did I help out of your misery, I'll help you in a better way... placing code on objects as you seem to do is a bad habit, and set the table at this location is not valid, then this is the more correct way...

    Click on the button to select, and in the properties panel assign it an instance name... Let's say you name "btn".  Then take your code and place them in the timeline on a separate (for actionscript) in the same layer framework, but change the code a bit...

    var links: Array = new Array();

    links [0] = "http://www.northern-expressions.com";

    links [1] = "http://www.bohemianfineart.com";

    links [2] = "http://www.visualarts.net.au";

    links [3] = "http://www.missrougeart.com";

    btn.onRelease = function() {}

    getURL (links [Math.floor (Math.random () * links.length)]);

    }

    I changed your use of the 'picture' to not be 'Array' because it is a Flash class name and should not be used as a variable name.

Maybe you are looking for

  • Problem with Qosmio F50 - 10G

    Hi all, I've had this laptop for over 4 years now and the problems started about a year at the time where the laptop started to close shortly after throwing a heavy game. Since then, it has progressed to the point that its closure when I run any game

  • WANT 750se: USB charging port

    I have a HP 750-100se ENVY. The Office has 4 ports USB at the back and 4 top / front, a total of 4 ports USB 3.0 divided 50-50. USB 3.0, two albums identified by an SS has a Flash to identify it. It is my understanding that the "BOLD" lightning USB p

  • Satellite A210 - cannot write DVD-DL - need firmware for LG GSA-T20N

    I have problem with my DVD player... I can't burn DVD-DL discs (DVD + DL too).I'm looking for a firmware for my drive. Toshiba Support I can find firmware for Pioneer and Toshiba (TSSTCorp) readers only.LG says that Toshiba has new firmware.

  • Satellite C660D - 1-3 - Display Driver AMD Radeon HD 6320 does not work

    Hi guys,. I m a little assistance. I have windows 7 ultimate ve and download the drivers from the Toshiba site... installed most of them (not only the most important, face recognition etc... -.-) Doesn't matter what I do, I try to install the AHCI an

  • ASN1 unexpected end of data

    When I try to upgrade to SP3 for win XP Home edition it does not install.