Portal URL for file v. text v. PL/SQL item types?

I am using Portal 10.1.2.2.0. From the Portal OWA logger data, how can I tell a file item type from a text item type from a PL/SQL item type?
The OWA_LOGGER_DOC view iis looking for url like '%/docs/%', but all the document URLs are '%/ITEM/%'. The URLs to text items also appear to be '%/ITEM/%'.
How can I tell that a Portal URL is pointing to a document?

OK, I figured out a way to do this in my environment (Oracle Portal Version: 10.1.2.0.2 (Build: 150) ). Your mileage may vary.
I created a procedure which includes the following:
    p_headingText IN VARCHAR2,
    p_fileName IN VARCHAR2,
    p_descriptionText IN VARCHAR2)
is
    l_portalGuid VARCHAR2(50);
begin
    select GUID into l_portalGuid from portal.wwv_things where ID = p_fileName;
    htp.p('<p class="PortletText1"><a href="http://[HOSTNAME]/pls/portal/url/item/' || l_portalGuid || '">' || p_headingText || '</a> ' || p_descriptionText || '</p>');
end;This seems to work for me. (Sorry about the long line.) p_headingText, p_filename, and p_description are passed from the custom item type. Good luck!

Similar Messages

  • Drop-down Menu to Open URL for File Download

    I am using Adobe Captivate 5.5 and was wondering if it is possible to create a drop-down menu that can be used to open different URLs for file downloads, kind of like the Attachments button Presenter has. Captivate seems to have a dropdown widget available but I can't tell if this would work for this purpose.

    Hi Theo
    You can use any composition to create a menu with setting for show target on rollover and then link targets to specific pages.
    Adobe Muse CC 7.0 Tutorial | Beautiful Graphic Navigation - YouTube
    Thanks,
    Sanjit

  • Bug in oracle portal: problem in pl/sql item type

    I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

    I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

  • Can Portal search for the old version of a specific item?

    Hi,
    If I have created several versions of a file item in Portal, can I search the old versions of this item? The old versions of this item are invisible in portal page. If so, how? Thanks in advance.
    regards,
    Eric Feng

    Currently, Portal does not support searching of non-active versions of an item.
    Please note that there is a separate forum for Portal Search.
    Regards,
    Jerry
    PortalPM

  • Workarounds for searching a text field in SQL Server 2000

    Hi,
    I have a need to search within a text field in SQL Server 2000. In the
    limitations section it notes that this is not possible. Is there a
    recommended workaround for this in terms of performance? I have no way
    of knowing the length of the text field in advance, and this could be
    fairly large. Also, the number of objects that could contain the text
    can be fairly large as well.
    Thanks in advance,
    Khamsouk

    Note that some databases (or Oracle, at least) provide alternatives to
    LIKE '%foo%' that are more efficient for large text blocks, given that
    you have the appropriate indexing plugins etc. etc.
    To use one of those types of search operators, you'd have to put
    together a custom extension.
    -Fred
    Fred Lucas <[email protected]> wrote:
    I'm assuming that when you say 'a text field', you're referring to a
    SQLServer TEXT field, as opposed to just any old field that contains
    text.
    Like I said, I'm by no means a SQLServer pro, but I just ran:
    SELECT CLOBSTRINGX
    FROM LOCATORTESTOBJECTX
    WHERE CLOBSTRINGX LIKE '%o%';
    and got back my test row with 'foo' in the CLOBSTRINGX column.
    CLOBSTRINGX is a TEXT column.
    So, it is possible that our stringContains() extension will just work.
    But then again, maybe not. I'm guessing it will.
    Give it a try and, if you get an error, post the generated SQL (turn on
    SQL output by setting the com.solarmetric.kodo.Logger property to
    'stdout') and the error that you get. Also, try executing the generated
    SQL directly against your data store to see if it works there.
    -Fred
    Khamsouk Souvanlasy <[email protected]> wrote:
    Basically I just want to use kodo's extended stringContains syntax on a
    text field. Is this possible?
    Khamsouk
    Fred Lucas wrote:
    I'm not intimitely familiar with SQLServer's text searching
    capabilities, but I'm confident that you could create a query extension
    that would do what you need it to do.
    What is the SQL that you are trying to generate?
    -Fred
    Khamsouk Souvanlasy <[email protected]> wrote:
    Hi,
    I have a need to search within a text field in SQL Server 2000. In the
    limitations section it notes that this is not possible. Is there a
    recommended workaround for this in terms of performance? I have no way
    of knowing the length of the text field in advance, and this could be
    fairly large. Also, the number of objects that could contain the text
    can be fairly large as well.
    Thanks in advance,
    Khamsouk
    Fred Lucas
    SolarMetric Inc.
    202-595-2064 x1122
    http://www.solarmetric.com

  • Invalid URL for file reference

    Hi,
    I'm having a problem with a webdynpro application running from Portal 6 SP14. The application contains a link to a file sitting on a client machine. Whenever this file does not actually reside on the server machine, it generates this error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Invalid URL=S:\SCA_IT\SCM Data\Projects SCM\Plant Maint\Portals Request- Sweden.doc
        at com.sap.tc.webdynpro.serverimpl.core.url.AbstractURLGenerator.checkURL(AbstractURLGenerator.java:566)
        at com.sap.tc.webdynpro.services.sal.url.core.URLGeneratorInternal.checkURL(URLGeneratorInternal.java:303)
        at com.sap.tc.webdynpro.clientserver.uielib.standard.impl.LinkToURL.getReference(LinkToURL.java:206)
        at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.LinkToURLAdapter.getReference(LinkToURLAdapter.java:235)
        at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.ie6.LinkRenderer.render(LinkRenderer.java:45)
    This file actually exists on my client machine, but it generates the error anyway. It does not happen with applications running on Portal 6 SP9. The new one seems to validate if the file exists on the server or not, and if not generates this error. Is there any way for me to validate this URL, or to allow the URL to point to the client machine instead of the server machine? Any help would be appreciated.
    Joanna

    Some additional data I forgot to add:
    I have tried to catch an invalid url in the code, but because there isn't an actual syntax error in the URL, it allows it through, and it seems to pass on the validation to the portal and that's where the error is generated.
    try
                   File doc = new File(docPath);
                   URL docURL = doc.toURL();
                   wdContext.currentContextElement().setValidURL(docURL.toString());
              catch(Exception e)
                   wdContext.currentContextElement().setValidURL("");
    I have also tried setting the URL with the original docpath, but with the same result.

  • Portal Url for BI Statistics - Urgent

    Hi,
    We have BI System and all statistics cubes installed.Can anyone let me know what is the standard URL in portal or where exactly can i find the information about this.
    Thanks,
    Arvind M

    Hi Arvind,
    I am not clear what exactly what are you looking for. Default url fro portal server will be
    http(s)://<server_name>.domain.com:50000/irj
    you need to have a authorized user to user this. Are you planning to host BI reports on Portal, then you need to have content and system admin roles. Check this with your Basis consultant. They will provide you required access.
    You need to create a BI system in Portal and then create iview for BI reports.
    Check this for further details 
    Hope this helps.<a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/10fc3f0ac2c642e10000000a1550b0/frameset.htm">BI Integration</a>

  • Substitution rule for gl account text field in line item.

    Hi
    We have intercompany postings made for a no.range of GL accounts ex: 1000-1999.When ever this accounts are getting posted ,i.e the accounting doc,need to make substitution such that what ever the description is given in the offsetting entry(ex: vendor 10000 - Material vendor ) for this GL in the accounting doc should come in the text field .
    I want the description of the vendor account to be inb the text field in the line item of the gl account.Is it possible thru substitution.If so how.
    Please advise.

    Thanks for all your replies.
    I Want the field BSEG- KOBEZ i.e description field in the accounting doc of the offsetting entry to be replaced in the GL account  text field.
    Ex :
    PK    Account        Description                  Amount           Text
    31    100000         Furniture  Vendor             50             Sales
    40    1999             Inter Compy                     50             Furniture Vendor
    I want the description of offsetting entry vendor description i.e Furniture vendor (field BSEG-KOBEZ) to be replaced in GL line item text BSEG-SGTXT.
    I cant find the field BSEG- KOBEZ while i search in the substituion to replace in Text field.
    How do i write in substitution to say that the offsetting entry description should be in text field of GL account.

  • Setting Oracle Permissions for file access from a pl/sql function

    I have a pl/sql function that calls a java method which moves a
    file from a directory to another.
    Since we are using Linux, Oracle wants some permissions.
    Those permissions are set using:
    call dbms_java.grant_permission(USER, 'java.io.FilePermission',
    FILE, permission)
    OK, i want to use this in my pl/sql function, but it doesn't
    work.
    My function looks like something like this:
    -- some pl/sql code
    dbms_java.grant_permission(someUSER, 'java.io.FilePermission',
    sourceFILE, 'write');
    dbms_java.grant_permission(someUSER, 'java.io.FilePermission',
    destFILE, 'write');
    flag := move(sourceFILE, destFILE);
    -- flag is for 1 -> done and 0 -> error
    -- some more code ...
    The problem is the lines of
    dbms_java.grant_permission(someUSER, 'java.io.FilePermission',
    sourceFILE, 'write');
    do not work!
    When i grant permissions manually in sql plus it works great,
    but when i do it from the function it does not work!
    Any ideas anyone?
    Any help would be appreciated.

    The command :
    dbms_java.grant_permission
    (someUSER, 'java.io.FilePermission',sourceFILE, 'write');
    is right.
    Open sqlplus
    Connect as sys or system
    type :
    execute dbms_java.grant_permission
    (someUSER, 'java.io.FilePermission',sourceFILE, 'write');
    commit;
    try to compile again your procedure...does it work now ?
    bye
    Giovanni Regola

  • 11i Family Pack K RUP4 patch, FAILED messages for file perkigfclient.jar

    Oracle E-Business Suite Release 11.5.10.2
    Hi, All -
    After running the 11i Family Pack K RUP4 patch, I got failed messages for file perkigfclient.jar and penzlhee.sql.
    Both files do have a "Completed" message under another worker. Is this an issue? If yes, how should I fix it?
    Thanks in advance!
    ================================================================================
    Time is: Mon Aug 24 2009 15:25:23
    FAILED: file perkigfclient.jar on worker 2 for product per username HR.
    Time is: Mon Aug 24 2009 15:25:32
    Deferred: file perkigfclient.jar on worker 2 for product per username HR.
    Time is: Mon Aug 24 2009 15:25:32
    (Deferment number 1 for this job)
    Assigned: file perkigfclient.jar on worker 1 for product per username HR.
    Time is: Mon Aug 24 2009 15:25:32
    Completed: file perkigfclient.jar on worker 1 for product per username HR.
    Time is: Mon Aug 24 2009 15:25:37
    ===============================================================================
    Time is: Mon Aug 24 2009 15:36:43
    FAILED: file penzlhee.sql on worker 3 for product per username HR.
    Time is: Mon Aug 24 2009 15:36:43
    Deferred: file penzlhee.sql on worker 3 for product per username HR.
    Time is: Mon Aug 24 2009 15:36:44
    (Deferment number 1 for this job)
    Assigned: file penzlhee.sql on worker 2 for product per username HR.
    Time is: Mon Aug 24 2009 15:36:44
    Completed: file pspextef.sql on worker 8 for product psp username PSP.
    Time is: Mon Aug 24 2009 15:36:44
    Completed: file penzlhee.sql on worker 2 for product per username HR.
    Time is: Mon Aug 24 2009 15:36:45

    The "penzlhee.sql" error is related to deadlock. Since the file did completed, is it a non-issue?
    =======================================================================
    Time when worker started job: Mon Aug 24 2009 15:36:40
    Start time for file is: Mon Aug 24 2009 15:36:40
    sqlplus -s APPS/***** @/deverp1/appsvr/deverp1appl/per/11.5.0/patch/115/sql/penzlhee.sql
    declare
    ERROR at line 1:
    ORA-20000: ORA-00060: deadlock detected while waiting for resource
    ORA-06512: at line 101
    Time when worker failed: Mon Aug 24 2009 15:36:43
    Evaluating symbolic arguments ....
    Done evaluating symbolic arguments.
    Time when worker started job: Mon Aug 24 2009 15:36:45

  • Field in portal table for the text contained in an uploaded file

    I have uploaded a file of base item type file into release 2 of the portal.
    Does anyone know which table the clob field for the text contained in
    the uploaded file is stored?
    Thanks,
    Suzanne

    Hi,
    When you run the Search hep is it giving the description or not
    You have to create the serarch help with both the fieldname and its description field then we cna the values. Or
    Try to mantain the text table for this field and get the data.
    Get the valeusinto drop drown with this table Or create the SearchHelp for this text table
    Regards
    Lekha

  • Finding the url for Portal Admin console

    Hi all,
    I got a portal .ear file from my team member to deploy on an env with Weblogic portal 10.3.2. The Application is deployed fine and is in Active state.
    Now I need to find the exact url for the portal Admin console. I am not able to find which xml file to look into under the ear file to find the url for the portal Admin console.
    thanks in advance..
    PMR..

    Hi All
    I am interesting to work in weblogic administration but i dont have experiance.
    Now i am working in java/jee application which is deployed in weblogic 10.3.
    I know the deployment in weblogic.
    Can any one help me how to learn weblogic administration.
    Thanks
    Ram
    Edited by: user10979302 on May 2, 2011 10:33 PM

  • External portal capturing internal portal URL in Log and trace file

    Hi,
    We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
    Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
    But in log and trace file we can see the external portal link capturing the internal portal URL.
    We need to find, from where system capturing the internal portal URL.
    Thanks.

    The tkproffed trace file is in seconds.
    "set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
    You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
    One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
    There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight.

  • Apache Url rewrite for portal URLs

    Hi,
    I have a requirement where i need to write simple URL's for the default portal uRL's
    for example
    inspite of using default url like "http://myserver:port/portal/server.pt/community/abc_xyz/123/efg_jkl/12345",
    if user uses
    "http://myserver:port/portal/server.pt/xyz"
    It should navigate to same default URL.
    Can somebody let me know how this can be achieved.
    I know Url rewriting is done through Apache Url rewrites but do not have an idea how apache does it with portal Url's. What configurations need to be done in order to manage portal Url's with apache rewrites.
    Thanks
    Ajay

    Hi Ryan,
    Thanks for the reply. The link shows how to write the Rewrite rules in apache. I am familier with that. The actual problem is that how can the portal Url's be controlled by apache rewrites. My apache and weblogic are both on the same server instance but after writing the rewrite in httpd.conf file. It does not work out. Just want to know how can i tell apache to handle my portal Url's too.
    Is there any specific entry that we need to make for doing this.
    Thanks
    Ajay

  • Two Urls for the same portal server

    Hi,
    I have to access the same portal server for the two diffent url links.
    This is required for me to have two different logon pages for the portal for completely different urls.
    Please share your ideas here!
    Ram

    Hi,
    say for example
    your one URL is
    x.hostname:portno/irj/1stURL
    and the second URL is
    x.hostname:portno/irj/2ndURL
    and maintain two umLogonPagedefault.jsp with names,
    umLogonPage1stURL.jsp and umLogonPage2ndURL.jsp and do the necessary coding you want inside the JSPs.
    Now, umLogonPage.JSP is the JSP file responsible for determinig your portal URL to open when user wants to enter into portal. So Open that JSP(umLogonPage.JSP) and do like this:::
    <%
    String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString() ;
    %>
    <%
    if ( strReqURL != null && strReqURL.endsWith("/1stURL"))     
    %>
         <%@ include file="umLogonPage1stURL.jsp"%>
    <%
    else if ( strReqURL != null && strReqURL.endsWith("/2nuURL"))
    %>
    <%@ include file="umLogonPage2ndURL.jsp"%>
    <%
    %>
    Regards,
    Srinivas.

Maybe you are looking for

  • C# Script to open and read an Excel spreadsheet with multiple worksheets

    Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out a

  • HP Envy 4500 Will not print legal sized

    I have an HP Envy 4500 and Windows 8, and I am trying to print a legal sized document from Microsoft Publisher. The document will only print half of the  page. When I first purchased the printer, I asked if it was compatible with Windows 8 AND if it

  • How do I restore sound on this system?

    I have a a Compaq Presario SR2037X that I got from a family member.  I have only the system itself, no driver discs or anything.  I put in a new HDD and graphics card, and I installed WIndows XP onto a clean drive. Right off the bat, the system could

  • Restriction in receiving of messages and calls fro...

    Hallo, I need to know how to set my N 76 to stop receiving calls and messages from a specific number.  Thank you.

  • Crystal Reports -- Printing Issue

    Hello all.. when i export report to pdf format., am seeing an unnecessary space between characters. please suggest how to avoid this!! here is the screenshot.,