Links to show the content

Hello, i'm new new bie in KM, sorry.
I have my first own search component(jspdynpage)
and i would like to put links to show the content of some listed display names of resources in another window.
how can i manage with links to resources?
Thanks¡¡

Hi Jon,
Resources within KM are called via the com.sap.km.docs component. That is for example: a link to /documents/YourDoc.txt would target to: http://[yourserver]:[yourport]/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/YourDoc.txt
Hope it helps
Detlev

Similar Messages

  • I have one out of five email address's with coxmail that opens with a blank inbox but other browsers show the content of the same inbox

    Question
    I have one out of five email address's with coxmail that opens with a blank inbox. Other browsers like opera or IE show the content of the same inbox. I've contacted cox but they tell me the problem is on my computer. I've used three different anti virus/malware scanners to eliminate all the bugs they can find. I need a firefox guru with suggestions. Thanks, Charles

    You can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
    (1) Page Info > Permissions tab
    While viewing a page on the site:
    * right-click and choose View Page Info > Permissions
    * Alt+t (open the classic Tools menu) > Page Info > Permissions
    (2) about:permissions
    In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
    Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
    Any luck?

  • How to show the content of a table (long text) in a scrollable textbox?

    Hi,
    I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
    I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
    1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
    2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
    How to do that easily?  What is the UI Element needed to show that?
    Thanks!

    If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
    Even with TextEdit you can achieve what you want. Try this code...
         StringBuffer tmpBuffer = new StringBuffer();
         for(int index=0;index<wdContext.nodeLines().size();index++)
              wdContext.nodeLines().setLeadSelection(index);
              tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
         wdContext.currentContextElement().setData(tmpBuffer.toString());
    Regards
    Abhilash

  • From browse button of input type=file, can I show the content of a file

    Hi all,
    I am using, input type=file, where browse button appears. I am having a text area. My requirement is after I select the browse button, I need to show the content of the file in the text area. As of now I 've handled by having another button 'show', which should be pressed after browse done. But, How to handle it in the browse button itself, how will I get that action event from browse button. Plz help.
    Regards,
    Sam

    I think someone asked a very similar question here,
    http://forum.java.sun.com/thread.jsp?forum=45&thread=501889
    check the thread, it may help you.
    -S-

  • Mailto link to send the content of the page when clicked.

    I want to set up a mailto link that sends the contents of the page to a predefined address when clicked. I want this to work from a webpage viewed on an iPad as well as a desktop computer. If this is possible, how do I do it?

    You cannot, but you may be able to send the link to an address, just not the webpage content itself.

  • Why do I need to add a wildcard designator to get DIR to show the content of a subdirectory that has an extension?

    Why do I need to add a wildcard designator to get DIR to show the content of a subdirectory that has an extension?
    <#c:#> mkdir subdir.bak
    Directory: C:\users\larry\documents\windowspowershell
    Mode LastWriteTime Length Name
    d---- 9/12/2014 11:10 PM subdir.bak
    <#c:#> dir subdir.bak
    <#c:#> dir subdir.bak*
    Directory: C:\users\larry\documents\windowspowershell
    Mode LastWriteTime Length Name
    d---- 9/12/2014 11:10 PM subdir.bak

    OK, now I see the difference.  Since subdir.bak is empty, I get no output from DIR.  
    Asking for DIR subdir.bak*  is similar to asking for Get-Item subdir.bak which does return the expected result.

  • TIMER in FORMS 6i in order to show the contents of v$ view....

    Hi,
    I am looking for a solution that would continously show the contents of v$SQLArea on forms 6i.
    Should I use timer in forms 6i in order to get the desired results.
    COULD someone please send me the little example of my query? how should I do that?
    THANKS
    JUMMA

    See this thread -> https://discussions.apple.com/thread/5666364

  • Empty Folders show the content of the upper folder

    Recently I noticed that the empty folders don´t show empty, they show the content of the upper folder when you're in the icon view, Does anybody has the sam issue?

    Hi,
    An example to create a dynamic context in Webdynpro ABAP:
    data:
    rootnode_info TYPE REF TO if_wd_context_node_info,
    dyn_node TYPE REF TO if_wd_context_node,
    tabname_node TYPE REF TO if_wd_context_node,
    tablename TYPE string.
    rootnode_info = wd_context->get_node_info( ).
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
    parent_info = rootnode_info
    node_name = tablename " Data object Table name
    structure_name = tablename
    is_multiple = abap_true ).
    ***Bind data to Dynamic table:
    DATA: stru_tab TYPE REF TO data.
    FIELD-SYMBOLS:
    <tab> TYPE table.
    create internal table
    CREATE DATA stru_tab TYPE TABLE OF (tablename).
    ASSIGN stru_tab->* TO <tab>.
    dyn_node = wd_context->get_child_node( name = tablename ).
    Bind internal table to context node.
    dyn_node->bind_table( <tab> ).
    Shruthi

  • Who has an Abap to show the content of iSeries OutQ's ?

    Hi,
    does somebody has an small abap to show the content of the iSeries OUTQs oder perhaps for the status of the QUEUE?
    Best Regards,
    Carsten Schulz

    We've setup a command in SM69 simply named ZWRKOUTQ with command WRKOUTQ.  It can be called from ABAP using the function module SXPG_COMMAND_EXECUTE.
    Here is the code:
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
        EXPORTING
          COMMANDNAME                         = COMMAND1
          ADDITIONAL_PARAMETERS               = PARM
        OPERATINGSYSTEM                     = SY-OPSYS
          TARGETSYSTEM                        = PAHOST
        DESTINATION                         =
        STDOUT                              = 'X'
        STDERR                              = 'X'
        TERMINATIONWAIT                     = 'X'
        TRACE                               =
        IMPORTING
          STATUS                              = STATUS
        EXITCODE                            =
        TABLES
          EXEC_PROTOCOL                       = ITAB
      EXCEPTIONS
        NO_PERMISSION                       = 1
        COMMAND_NOT_FOUND                   = 2
        PARAMETERS_TOO_LONG                 = 3
        SECURITY_RISK                       = 4
        WRONG_CHECK_CALL_INTERFACE          = 5
        PROGRAM_START_ERROR                 = 6
        PROGRAM_TERMINATION_ERROR           = 7
        X_ERROR                             = 8
        PARAMETER_EXPECTED                  = 9
        TOO_MANY_PARAMETERS                 = 10
        ILLEGAL_COMMAND                     = 11
        WRONG_ASYNCHRONOUS_PARAMETERS       = 12
        CANT_ENQ_TBTCO_ENTRY                = 13
        JOBCOUNT_GENERATION_ERROR           = 14
        OTHERS                              = 15
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT ITAB.
        IF itab-f1 eq 1 or itab-f1 eq 6.
          WRITE:/ itab-f3.
        endif.
      ENDLOOP.
    COMMAND1 = ZWRKOUTQ
    PARM = PRINTER NAME
    PAHOST = first part of the PAMSSERVER from table TSP03D
    STATUS LIKE  BTCXP3-EXITSTA
    DATA: BEGIN OF ITAB OCCURS 10,
          F1(1),
          F2(2),
          F3(147),
          END OF ITAB.
    You can use that function module to do stop and start as well by defining the commands in SM69.
    thanx
    Mark

  • Imac not showing the contents of my classic iPod and iPad when i connect them to the iMac?

    imac not showing the contents of my ipod classic and ipad when i connect them to my imac?

    That's not much to go on.
    What operating system and version are you using? Are you using the most recent version of iTunes? If so, did you update prior to this happening? What other changes might have triggered this? What troubleshooting have you done already and what was the result?

  • How to show the content of a data object in listbox

    Hello together,
    i have created a service employee_srv for my data object "Employee". How can I show the content of this data object in a listbox in my view, for example DropDownByKey.
    Regards
    Waldemar Schakiel

    Hi,
    An example to create a dynamic context in Webdynpro ABAP:
    data:
    rootnode_info TYPE REF TO if_wd_context_node_info,
    dyn_node TYPE REF TO if_wd_context_node,
    tabname_node TYPE REF TO if_wd_context_node,
    tablename TYPE string.
    rootnode_info = wd_context->get_node_info( ).
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
    parent_info = rootnode_info
    node_name = tablename " Data object Table name
    structure_name = tablename
    is_multiple = abap_true ).
    ***Bind data to Dynamic table:
    DATA: stru_tab TYPE REF TO data.
    FIELD-SYMBOLS:
    <tab> TYPE table.
    create internal table
    CREATE DATA stru_tab TYPE TABLE OF (tablename).
    ASSIGN stru_tab->* TO <tab>.
    dyn_node = wd_context->get_child_node( name = tablename ).
    Bind internal table to context node.
    dyn_node->bind_table( <tab> ).
    Shruthi

  • My I-Pad screen is black, I tried to sync and restore I-Pad, it showes the contents on the computer and pulling out pictures and other files, but screen is black. what can I do?

    My I-Pad screen is black!! I tried to sync and restore I-Pad, it showes the contents on the computer and pulling out pictures and other files, but screen is black. I don't know what happened! what can I do?

    I have this problem as well...however, resetting/restoring did not take place when I followed the same instructions but got nothing on the screen.  Thanks in advance.

  • When it shows the contents menu, it is halved (picture showing) is there any way to change it so it only shows contents menu?

    When it shows the contents menu, the screen is halved (picture showing) is there a way to change the screen so it only shows the contents menu?

    There is no way to change this on the iPod Classic.

  • FILE UPLOAD PROBLEM SHOWING THE CONTENTS IN THE SAME BROWSER WINDOW

    Hi,
    This is amit Joshi
    I have uploaded content using input tag of type file and posted to jsp as multipart/form-data type
    in that jsp i am using following code to display the content in browser but only first content is displayed How can i modify it to show all content in the file ..
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
    FileItem fileItemTemp = (FileItem)it.next();
    if (fileItemTemp.isFormField()){
    %>
    <b>Name-value Pair Info:</b>
    Field name: <%= fileItemTemp.getFieldName() %>
    Field value: <%= fileItemTemp.getString() %>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
    optionalFileName = fileItemTemp.getString();
    else
    fileItem = fileItemTemp;
    if (fileItem!=null){
    String fileName = fileItem.getName();
    %>
    <b>Uploaded File Info:</b>
    Content type: <%= fileItem.getContentType() %>
    Field name: <%= fileItem.getFieldName() %>
    File name: <%= fileName %>
    <%
    if(fileItem.getContentType().equals("image/jpeg")) { %>
    File : <p><%
         //response.setContentType("image/gif");
         byte[] bArray=fileItem.get();
         response.setContentType("image/jpeg");
         outputStream=null;
         outputStream= response.getOutputStream();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    else if(fileItem.getContentType().equals("text/plain"))
         %> File : <%= fileItem.getString() %>
    <%
    byte[] bArray=fileItem.get();
    response.setContentType("text/plain");
         outputStream = response.getOutputStream();
         out.println();
         outputStream.write(bArray);
         outputStream.flush();
         outputStream.close();
    %> </p> <%
    %>
    </body>
    </html>
    Edited by: Amit_Joshi on Nov 13, 2007 10:58 PM

    Well Well Well..
    That would not work...
    What you have to do is save the uploaded file content on to a location and then pass the fileName as a request parameter to a deidicated which displays the contents of that file.
    Just as an example
    <html>
    <head>
    <title>File Upload Display</title>
    </head>
    <body>
    <%
    //ServletOutputStream sout=response.getOutputStream();
    StringBuilder strBuilder = new StringBuilder();
    int count=0;
    String f;
    f=request.getParameter("filedb");
    DBManager dbm = new DBManager();
    //dbm.createTable("mms3");
    //log.info("In JSP : "+ f);
    //dbm.insert_data(f,"mms3");
    %>
    <%
    if (ServletFileUpload.isMultipartContent(request)){
    ServletFileUpload servletFileUpload = new ServletFileUpload(new DiskFileItemFactory());
    List fileItemsList = servletFileUpload.parseRequest(request);
    strBuilder.append("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>").append('\r').append('\n').append("<xpage version=\"1.0\">").append('\r').append('\n');
    String optionalFileName = "";
    FileItem fileItem = null;
    Iterator it = fileItemsList.iterator();
    ServletOutputStream outputStream=null;
    while (it.hasNext()){
       FileItem fileItemTemp = (FileItem)it.next();
    %>
    Name-value Pair Info:
    Field name: <%= fileItemTemp.getFieldName() %><br/>
    Field value: <%= fileItemTemp.getString() %><br/>
    <%
    if (fileItemTemp.getFieldName().equals("filename"))
        optionalFileName = fileItemTemp.getString();
    if(!fileTempItem.isFormFiled()){
       String fileName = fileItem.getName();
       fileItem.write(optionalFileName);
    %>
    Uploaded File Info:
    Content type: <%= fileItem.getContentType() %><br/>
    Field name: <%= fileItem.getFieldName() %><br/>
    File name: <%= fileName %><br/>
    <%
    if(fileItem.getContentType().equals("image/jpeg") || fileItem.getContentType().equals("image/pjeg")) {
    %>
      <img src="FileServlet?fileName=<%=optionalFileName%>"   
    <%
    %>
    </body>
    </html>a sample code snippet for FileServlet.
    String fileName =  request.getParameter(fileName);
      File file = new File(fileName);
       if(!file.exists())
         return;
      // If JSP
      String mimeType = application.getMimeType("fileName");
           If you are using servlet
           String mimeType = this.getServletContext().getMimeType(fileName);
         response.setContentType(mimeType);  
         response.setHeader("Content-Disposition","inline;filename=\\"+fileName+"\\");
      BufferedOutputStream out1 = null;
      InputStream in = null;
      if(mimeType == null)
         mimeType = "application/octet-stream";
      try{
         in = new FileInputStream(f);
         response.setContentLength(in.available());
         BufferedOutputStream out1 = new BufferedOutputStream(response.getOutputStream(),1024);
         int size = 0;
         byte[] b = new byte[1024];
         while ((size = in.read(b, 0, 1024)) > 0)
            out1.write(b, 0, size);
      }catch(Exception exp){
      }finally{
          if(out1 != null){
             try{
                out1.flush();               
                out1.close();
             }catch(Exception e){}
          if(in != null){
            try{in.close();}catch(Exception e){}
      } Hope that might answer your question :)
    However,this is not the recommended way of doing this make use of MVC pattern.Would be a better approach.
    you might think of googling on this and can findout what is the best practise followed for problems of this sort
    REGARDS,
    RaHuL

  • How do I do a split screen to show the contents of my Library and a playlist at the same time?

    I’m using iTunes 11.3.1 on a current generation Mac running OSX 10.9.4.
    I like to manually create playlists.  I want to be able to see the contents of a playlist and my library at the same time. Is there a way to do a split screen view in iTunes so the songs in my playlist show in one window and the library shows in another?

    See this thread -> https://discussions.apple.com/thread/5666364

Maybe you are looking for

  • How to Count Number of completed line items in past 6 months / 12 months ?

    How to Count Number of completed line items in past 6 months / 12 months ? Hi, I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT. Purchase Order document = ZEBELN Line Item = ZEBELP. I need to

  • Use case for "cascading"

    Accroding to two previous threads: http://forum.java.sun.com/thread.jspa?threadID=5123284 http://forum.java.sun.com/thread.jspa?threadID=790563 A cascading situation is like: JVM-1 + MBeanServer-1 + MBean-1 JVM-2 + MBeanServer-2 + MBean-2 So MBeanSer

  • Frequent freeze-up and forced re-starts on iMac 21.5"

    Hi, Had my 21.5 inch iMac since December last year and been massively impressed to date. However over the last few days it has developed a problem where it will freeze up and the screen will turn grey from top to bottom. It then displays a dialogue b

  • Simplest method for single PW entry to a web page

    I have a website and would like to make a single web page accessible to those who know a single password. What is the simplest way to set this up? Even though I created the website, I have a very limited knowledge of Dreamweaver because I use it but

  • SCCM Replace method migration for XP-to-W7 without creating computer associations?

    Hi all We want to use the Replace Method for our XP-W7 migration but do we have to create a computer association between the old and new machine name for every machine to be migrated (2500+)? If so, this does not appear to be practical because we don