Urls to the  documents in the categories urgent please!!!!

Can anyone provide me the sql query to display all the urls for the documents stored in the categories.
Is there anyway to programatically constructs the urls and display in a report.
I appreciate your help
Thanks in Advance

I'm not sure I entirely follow what you are looking for when you say "the documents stored in the categories"
If you are looking for a way to display URLs for documents in a specific category, you could query the WWSBR_ALL_ITEMS view for all items that are of the desired type, are from the appropriate page group(s), and are in that category. If you want to query by the category name, you may need to retrieve that from the WWSBR_ALL_CATEGORIES view since the all_items view only stores the category_id.
As for programmatically constructing the uRL, there are a couple of ways of forming direct access URLs. If you look in portal's on-line help, they have a topic specifically on that.
I recently used the 2nd of the two approaches they list when I wrote a package that retrieve the NAME and DISPLAY_NAME values from the WWSBR_ALL_ITEMS view and constructed the URL for the item as:
htp.p('<a href="[portal base address:port]/pls/portal/url/ITEM/'||name||'">'||DISPLAY_NAME||'</a>');
where [portal base address:port] is the appropriate value for your system.
Hope that helps,
Mark M.
Portal 9.0.2.6

Similar Messages

  • How to handle event when the user closing the browser (Urgent Please)

    Hi,
    How to handle the event when user closes the browser....
    i want to display some alter message when user trying to close the browser...
    Please can any one help me how i have to do this...........
    Thanks.

    Finally got this working. You cannot use the stop() or destroy methods. By the time they are called all database connections are gone and you will get a null pointer exception.
    You will have to use the onBeforeUnload method in the html file that calls the applet and use JavaScript to call the save method in java which saves the document:
    <SCRIPT LANGUAGE="JScript" TYPE="text/javascript">
    function Save()
    //i call the applets doSave() method from here in which i save all
    //changes to the database
    top.Tree.document.TestApplet.doSave();
    //this will invoke the default IE message for closing the window
    //when user clicks on the x in the browser
    message = "Your document has been saved."
    return message;
    window.onbeforeunload=Save;
    </SCRIPT>
    //the applets doSave()
    public void doSave()
    //this frame provides user with the message that document is being
    //saved
    final JFrame frame = new JFrame("Saving");
    JPanel contentPane = new JPanel();
    JLabel label = new JLabel(" Please wait, saving document...");
    frame.getContentPane().add(label,BorderLayout.CENTER);
    frame.setSize(250, 100);
    frame.setLocation(300, 400);
    frame.setResizable(false);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter()
    //the frame is just for user's information, so prevent user from
    //closing it or iconifying it.
    public void windowClosing(WindowEvent e)
    frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    public void windowIconified(WindowEvent e)
    frame.setState(frame.NORMAL);
    //call my saveDocument() method that saves everything to the database.
    editorModule.saveDocument();
    //System.out.println("finished calling saving document");
    //once the saving is done the frame with the message disappears
    frame.setVisible(false);
    //System.out.println("setting frame to false");
    //I also had an exit button in my applet, that would perform the same task, however now with the above onBeforeUnload method, the exit message would appear twice, so had to modify my exit button action performed, so that if the exitbutton was clicked the onbeforeunload method would get passed a null value and not do anything.
    private void exitButton_actionPerformed()
    if (DEBUG) System.out.println("Calling exit");
    doSave();
    window.eval("this.onbeforeunload=null;");
    window.eval("top.close();");
    //continue from here if user cancels the closing of the window
    window.eval("this.onbeforeunload=doSave;");
    window.eval("top.focus()");
    window.eval("document.TestApplet.requestFocus()");
    homePanel.requestFocus();
    }

  • Issue with the Structure urgent please.

    Hi guys,
    Hope every one doing great...
    I am creating a report in that v r having month/year char on this v have created a variable of type user entry.
    I had created the structure with many selection for the current year along with this my requirement is to restrict the data in the structure for the prior year as one of the selection.
    suppose the user enter the value in the variable = 05.2008
    then i need to restrict the data for the prior year= 05.2007.
    thanks in advance
    KK

    Hello KK,
                   Create a customer exit variable on 0calmonth characteristic , it must be with single option.
    here just for example i have given your new variable as test1 and the user entry variable as var1.
    then check the following code if it works.
    data: year1(4) type n,
          mon1(2) type n,
          mon2(6) type n.   
    when 'test1'.
        if i_step = 2. "after the popup
          loop at i_t_var_range into loc_var_range
          where vnam = 'var1'.
           clear l_s_range.      
            year1 = loc_var_range-low(4).
            mon1 = loc_var_range-low+4(2).
            year1 = year1 - 1.
            concatenate year1 mon1 into mon2.
            endif.  
            l_s_range-low = mon2.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            append l_s_range to e_t_range.
            exit.
          endloop.
        endif.
    hope it helps,
    regards,
    karthik.

  • SEM ERROR WHILEACCESSING THE CAMPAIGN URGENT PLEASE

    Hi,
    crm gurus we are working on crm 4.0 when the end user is accesing the campaign she is getting an error "the sem error error in planning services access to file denied" she is not able to view the fore cast details for all campaigns.I checked for role authrisations for her id in all 3 i.e sem,bw,crm systems there is no problem.She is accsing the campaigns thru client portal.Plz guide asap.
    Points will be rewarded.
    Thanks&Regards,
    Madhuri.

    Hi,
    I belive its related to the Planning Profile Group authorization
    control to the specific user ids.
    you compare this user id in T Code SUIM with the any other user id, who can access the Campaign ,where we can see what are the missing authorizations .
    Regards
    Naren..

  • How to move or copy the Package - Urgent Please

    Hi,
    I have created all my data elements, screens, database tables in my own package - zanns_school, at my lab. I want to carry them to my home SAP System. Systems are neither in LAN, WAN. 
    I want to copy all the contents of my package in an external drive and again reload all of those objects of my package at my home SAP PC.
    Please suggest and assist at the earliest

    Hi,
    You can't do that,
    SAP objects cant be copied from one place to another.
    Only thru transport it can be availbale from one client to another,Its not like java or some other files u can copy and past.
    Regs
    Manas Ranjan Panda

  • Include URL in the Alert message in Sitescope Alert

    Hi,
    I am trying to include the URL int he Evetn mapping but unable to fidn the Attribute to include the URL in the alert. Please suggest.

    Hi,
    If this is a static URL then you can include it in alert by modifing the alert templates under templates.mail in installed directory. In case of dynamic URL's put them under group/monitor description feild nad include it in alert using the tag like "Monitor:  <groupID>:<name> <groupDescription>" in alert template.
    Regards,
    Sujith

  • How do I find out the URL of the page a document was downloaded from?

    I downloaded a PDF several months ago; I can see it in my downloads history. When I right click it there, I see the link to the PDF itself, but I need to know the actual page it came from.
    I've checked my History, but cannot identify the page.
    Is there a definitive way of determining the URL of the page that linked to the document?

    Open the Download Manager window and select that file.
    Copy and paste this code in the Code field in the Error Console and click the Evaluate button.
    *Firefox/Tools > Web Development > Error Console
    The code adds a tooltip to the area with the file type icon at the left hand side of each entry in the DM window and shows a tooltip when you hover that area.<br />
    It only works for entries that are currently visible in the DM and not for new entries that are added by downloading files and only as long as the DM window is kept open, so you need to rerun the code in the Error Console to get a tooltip.
    <pre><nowiki>const Cc=Components.classes, Ci=Components.interfaces;
    var enumerator=Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator).getEnumerator(null);
    while(enumerator.hasMoreElements()){var win=enumerator.getNext();
    if(win.location=="chrome://mozapps/content/downloads/downloads.xul"){
    var i,r,R,C='';
    r=win.document.getElementById("downloadView").getElementsByTagName("richlistitem");
    for(i=0;R=r[i];i++){
    var fP=R.getAttribute("path");
    var fU=R.getAttribute("uri");
    var sT=parseInt(R.getAttribute("startTime"));
    var eT=parseInt(R.getAttribute("endTime"));
    var cB=parseInt(R.getAttribute("currBytes"));
    var mB=parseInt(R.getAttribute("maxBytes"));
    var rU=R.hasAttribute("referrer")?R.getAttribute("referrer"):"<no referrer>";
    var sD=cB/(eT-sT);
    var tT=[];
    tT.push("FILE: "+fP);
    tT.push("URI: "+fU);
    tT.push("REF: "+rU);
    tT.push("");
    tT.push("Total Time: "+((eT-sT)/1E3)+" sec.");
    tT.push("Curr Bytes: "+cB+" bytes"+((cB==mB)?" (OK)":"(part)"));
    tT.push("Max Bytes: "+mB+" bytes");
    tT.push("Download speed: "+sD.toFixed(3)+" KB/sec");
    R.setAttribute("tooltiptext",tT.join("\n"));
    if(R.getAttribute("selected")=="true"){C=tT;}
    if(C)prompt(C.join("\n"),C);
    </nowiki></pre>

  • How do I find the URL for a document loaded into Buzzword?

    How do I find the URL for a document loaded into Buzzword?

    What kind of document? What is Buzzword?

  • I have several pdfs on my iPad in iBooks. My iPhone shows only the categories, none of the documents. How can I get my iPhone to also show the documents that are on my iPad?

    I have several pdfs on my iPad in iBooks. My iPhone shows only the categories, none of the documents. How can I get my iPhone to also show the documents that are on my iPad?

    You will need to connect your iPad to your computer's iTunes and do File > Devices > Transfer Purchases to copy them over to your computer (that will copy PDFs and epubs that are in the iBooks app, not just actual ibooks), and you can then sync them to your iPhone. Or you might be able to open each PDF in iBooks on your iPad and use the share icon to email them to yourself and then use 'open in' in the Mail app on your iPhone to copy them to its iBooks app (if the PDF is protected then you may not get the email option via the share icon).
    The Settings > iBooks > Sync Collections setting doesn't copy items between devices, it just means that it a bookor PDF is on both devices and you move it into a collection on one device then it will be moved into the same collection on the other device

  • How to get the url of the document in quick parts?

    I have document library in which there is one content type with the document template uploaded. In the footer of the document, I want to show the URL of the document which is opened in word application.
    Is there any way to get the URL? I am not able to see the field in Quick Parts while configuring footer of document template.

    Alexdu_,
    You can create a single line text site column in that content type to hold URL information.
    Create a SPD workflow to populate URL field using update field of current list.
    This custom column will be available as Quick part in word.
    This could be an alternate approach as URL is not available as quick part field.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • 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

  • Reg: URL for the document

    HI,
    Iam working on EASYDMS.
    I want to send an email thru workflow when ever a doc is created in in EASYDMS .The content of the mail should contain the URL link
    so that when ever user click the URL the doc should open  so that he can approve the doc ??
    Can anybody help me with this req??
    how to get the URL for the document which is being created??

    hi,
    thx .
    I already implememnted the note  and I got THE CONTEXT MENU send url/copy url .
    so i cal slect the doc and right clcik onit and select the SEND URL....so tha it gives url .
    BUT my req is : whenever a doc is created my wrokflow starts from  BADI......here inthis BADI...itself I want to find the URL foe the document which is being created now.??
    any idea??
    AS PER THE NOTE WE GET THE URL.....once the doc is created and we slect the doc and right click and select the SEND URL....so tha it gives url

  • How can we provide 2 URLs in the HR personalization form, so that users can

    We are not able to open the PDF report from the external node which is placed under the OA_HTML. Nvaigation is Employee Self Service for US -> Update or Add Direct Deposit Account
    Internal urll ----"http://tech.com:8000/OA_HTML/TTEC_Benefits_Docs/Branded/DebitCrdholderBrochureSignature.pdf"
    However, the external users from internet need to access the pdf document and this fails for them because they have no access to above URL from public internet. They need to get to above pdf document for e.g. as:
    "https://publicerptech.com:443/OA_HTML/TTEC_Benefits_Docs/Branded/DebitCrdholderBrochureSignature.pdf"
    How can we provide 2 URLs in the HR personalization form, so that users can access the pdf document?

    Hello David,
    Sorry for not getting back to you sooner. You can provide feedback on Transport agents by using this site:
    http://officespdev.uservoice.com/.
    With regards,
    Michael | Microsoft Exchange Developer Content
    The
    Exchange Development Forum Guide has useful information for using the Exchange Development Forum.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Spotlight Search results - how to get the "categories" view full-screen?

    I don't use Spotlight that often, but when I did in TIGER I got a nice listing by category when I requested the SHOW ALL results screen. I saw results grouped by documents, folders, images, pdf, contacts etc.
    Now with LEOPARD I see the categories when I search by clicking on the upper right-- but then if I choose SHOW ALL the results appear in a smart folder and they are in more or less the standard name, kind or date format-- but the wonderful categories listing (as in the dropdown menu listing) is no longer there. IS THERE A WAY to get that 'categories' listing view back?
    Best regards,
    Steve Schulte
    Tuesday 17 March 2009 at 16:41

    Categories is gone from Leopard's Spotlight. For more on Leopard's Spotlight, see http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.

  • When i send a page from a website to my printers email address, it only prints the url not the page

    I have a Photosmart D110 all in one and just bought a Asus Transformer tablet. I`ve downloaded the eprint app and every time I share a page from a website via email to my printers email address it only prints the URL not the actual webpage. Also when I click the share option it gives me the option to share with the eprint app, but when I do it say it can't read or support the file due to paper size not being selected.
    This question was solved.
    View Solution.

    Hi,
    The HP ePrint does not support web pages printing
    Printing Web pages through email is currently not supported. HP is in the process of developing solutions to support Web page printing for mobile devices.
     http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02881579&cc=us&dlc=en&lc=en&product=5058336#N91...
    You may print web pages using the HP ePrint Home & Biz app by using its integrated web browser:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01616126&lc=en&cc=us&dlc=en&product=3857218#N58...
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

Maybe you are looking for

  • No Audio from Itunes music and video

    Since I have upgraded to Itunes 7.0 there is no sound for Video and audio will not play. I have turned off compability. Where should I go from here? Any tips would be greatly appreciated.

  • Reinstall Data Warehouse to remove test data

    We are wanting to go live with SCSM soon, hopefully in a couple of weeks. Unfortunately, we don't have the infrastructure in which I was able to setup a test and production environment. I've managed to remove the test data out of the ServiceManager d

  • Regarding where can I check logs to see which user ID did it and when

    Hi, In RSA1, if some one deletes the source system, where can I check logs to see which user ID did it and when. Please help me.. Thanks.

  • Data pump: by using dbms_datapump

    I wrote a pl/sql procedure that compiles and there is no error. But when I execute the procedure, I got follwing error ERROR at line 1: ORA-31623: a job is not attached to this session via the specified handle ORA-06512: at "SYS.DBMS_SYS_ERROR", line

  • Proper Way To Roll Back CF Update

    I've recently installed CF security APSB12-06.  Doing so has somehow or another broke all of my web apps and their session functionality...I need to roll back this security update.  The installation instructions had me back up the files that I was re