Image in document iview

Hi all,
I have created the Km Document Iview which contains an image.
Now the problem is image is very small and in page layout i have changed the hight property of iview.
but still in preview image is not full occupying the space . some blank border is still coming .
can somebody help me...
thanx
Sarang......

Hi Sarang, 
Don't know if is already too late to answer your question, but here I go anyway. 
I notice this: when you use KM Document iView in order to display an image, there is an extra blank space surrounding the image. Well, that border is there because there is no other HTML code than the tag
<img>
If you want to delete that border, you can do this:
create a new HTML page in KM. Inside that, you will put this code:
<html>
<head></head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
<img src="/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/YOUR_PATH/YOUR_IMAGE.JPG">
</body>
</html>
Change your KM Document iView and make it display your new HTML 
Voilá! You got your image without that disgusting border. 
Hope it helps. And if you want to give me some points, I'll be more than happy  
Patricio

Similar Messages

  • Image missing in  Km document iview

    Hi all,
             we are trying to create a km document iview by uploading a word document under Km Content and publishing it.giving the Path to document as
    /WebEditing_System/HTML/published/Articles/Corporate/Home/Communication%20Contacts/HR%20Share%20Services_MainPage_3.doc.html
    .That km Document contains some images.after publishing we are able to see the text but the images are missing (under My work area)?can anybody tell the reason?
    (One more thing to clarify
    We have tried to publish this under Corporate-->Home under detailed navigation section there the images are appearing.)

    Not possible in KM Document iView.
    Suggest using WebDAV or Web Folders. KM Document iView is display/download only.

  • KM document iview with HTML content not showing pictures

    Hello Experts,
    I am currently working on integrating a HTML page into the portal. As it is just a static page the decision was made to implement it via KM. Now when I create a "KM documents iView (w/o filter)" and point the path to the HTML file in the KM it is displaying the file, but not the images, which are stored in a folder structure below.
    But when previewing the HTML file directly it shows up just fine.
    Can anyone advise?
    Thanks a lot,
    Jan

    Hi,
    How you checked directly means?  Are you checking from desktop or from the KM content folder.
    if it is displaying properly in the KM content then automatically it should display properly in the KM document iview.
    In the html file, please use only the relative path of the images that are stored in the KM content.
    say  starting from /irj.........
    Hope it help you.
    Raghu

  • Dynamically changing the size of KM document IView.

    Hi All,
    At present the framework page has 3 KM document Iview. All iviews are calling HTML files. Now if the content in HTML file increases, I get an scroll bar for that Iview. Also based on the resolution of the screen I get the scrollbar. e.g I have fixed the height of the iview to say X for a resolution 1024 * 768 where in no scroll bar appears, now if I choose 1280 * 1024 resolution, iview appears with both horizontal and vertical scroll bar.
    I tried to change the height type as automatic and the minimum height in pixels as 0 and maximum as 1000, then the iview it self disappears i.e it is taking the minimum height.
    Now in my scenario based on the requirement the HTML content will change but instead of automatically adjusting display height of the Iview, it is taking hte minimum height mentioned. 
    How can I display the IView without scroll bar appearing if the content of the HTML is changing or the screen resolution is changing.
    Thanks
    Namit

    Hi Namit,
    The KM doc iview is just like a container for storing and The horizantal scroll bar apperas as and when the content gets bigger than the container.
    One option would be to write a small iview with an imbedded iframe pointing to the KM doc, where the width, height comes from profile attributes. This would remove the option of horizontal bar. Coming to height , Set the height type of the iView to Automatic OR if that doesn't work because of domain issues then set it to fixed and in addition set the iview height to the height of the image + 10~20 px more..
    Hope this helps you.
    GoodLuck!
    Regards,
    Shaila

  • KM Document iView for displaying PDF file.

    Hi all,
    I have uploaded one pdf file (Estimate.pdf) to KM in folder abc. I want to create an iView to display that pdf file in portal. For which I have created a KM Document iView and in "Path to Document" property I have assigned the document path like: /documents/abc/Estimate.pdf
    Now when try to see preview, instead of opening my pdf file, it shows only one image on top with text mySAP.com.
    I have also tried to create a link to my document and given the link path but I got the same result.
    Can anyone tell me why is this happening? Is there any other property to be set?
    Thanks in advance!!!!!

    Vikranth,
    Check for the path again carefully. I guess you are following the right approach, but instead of previewing it, try assigning it to a user and check what happens.
    Refer to this [article|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0235c19-9493-2b10-64a5-8487b23a7a41]for creation of iviews.
    Good Luck!
    Sandeep Tudumu

  • KM Document Iview Error in 7.3

    Hi All,
        We have an External Link in our KM.We are usign KM Document iView pointing to this External link means in the Path to the document property we have given path of the external link.
    -We use the same in 7.0 portal it works
    -In 7.3 instead of external link if i give any doc,xls or image then it works
    - Its not working for the External link alone in the 7.3
    Anybody faced this issue?Anything changed with the KM document iview in 7.3?Please throw some light on this issue.
    Naga

    Hi Lorcan,
        Thanks for your time,
    so can you give us more details as to how exactly you have set this up?
        Actually i have created a external lin in the KM using the option new->external link.i am usign this external link in the KM Document iVIew(Path to the document =path of the external link).
    What is the name of the External Link? What is the path you specified in the KM Document iview?
        I am usign the NWA of another federated system as a external link.I have specified the same path in the KM document iView.The same path we used in 7.0 there it was fine so i am very sure about the path.And also  the permission of the particular KM folder and external link has been provided with  everyone read.
    What happens when you try it, are you getting an error?
            When i try to preview the iView or when i use the iview in any role/page/workcenter its throwing error.
    403
    The requested operation is forbidden for this resource.
    stack trace
    com.sapportals.wcm.protocol.webdav.server.WDServletException
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handleRedirectCase(WDGetHandler.java:860)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.internalHandle(WDGetHandler.java:355)
         at com.sapportals.wcm.protocol.webdav.server.WDGetHandler.handle(WDGetHandler.java:280)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.doGet(WDServlet.java:846)
         at com.sapportals.wcm.protocol.webdav.server.WDServlet.service(WDServlet.java:523)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:344)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sap.portal.prt.broker.ServletComponentItem$ServletWrapperComponent.doContent
    Have you tried using different links?
        I tried with the different external link but all in vain.same issue i am facing.More over i tried with the URL iview pointing to the external link that too causing the same problem.
    Is there anything in your landscape which could be preventing access to this external link from the portal?
      We are not sure about that,recently we have upgraded the portal from 7.0 to 7.3.After that only we are facign this issue.before that this scenario was fine.Moreover we have upgraded the producer system too.In producer system we tried the same there we could use the external link both in KM document iView and URL iView.
    Naga

  • How can I use KM document  iView in a room TEMPLATE?

    I want to use a KM document iView in a room template.  The target document for this iView will contain some standard html content for every room built from this room template. This file's content and the folder structure for the room template will come from a room extension. The iView should be able to display the HTML in the target document, which will always have the same name (roomHome.html).  How can I configure my room template so that each instance of rooms built from this template will be able to navigate to its own unique instance of roomHome.html?

    It's not possible to tag text with multiple languages in Pages 5.  Go back to Pages 4, which should still be in you iWork folder.
    For the whole doc in Pages 5, use Edit > Spellling and Grammar > Show Spelling and Grammar.

  • KM document iViews no longer work after upgrade to SP18

    We just upgraded to EP 7.0 SP18 from 7.0 SP14.  After the upgrade, our KM Document iViews no longer show the content within a page.  They look corrent when you preview the iView.
    Before you ask, we have already installed [SAP Note 1319278|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_pi/~form/handler], by loading the 2 attached PAR files (com.sap.portal.epcf.loader.par and com.sap.portal.navigation.contentarea.par).  This did not change anything.  Does anyone know if there are additional steps that need to be taken with installing this note?  The note mentions SAP NetWeaver 7.00 SP18 Patch 3, but we can not find that in download area.  Or it there another issue?
    Thank you ahead of time,
    Andrew

    Hi,
    Please have a look with this note,It is working in my scenario.
    972514 : Empty BEx Web Analyzer instead of BEx Broadcaster
    Kapil Rana

  • KM Document iView for file download - filename

    Hello,
    we have a hyperlink on our portal logon page for downloading a word document. This link points to a KM document iView. The iView has the property "Path to Document" set to the document in the KM.
    By clicking the link, a file download pop-up appears. But the filename of the downloadable file is the path of the iView - and not the real name of the document.
    Is there any possibility to get the real name as name for the downloadable file? Or should we use another iView?
    Any hint is appreciated!
    Best regards,
    Matthias

    Sorry Tom!
    Your problem seems to be different, I've no idea.
    But we already fixed our problem, I forgot to post. Here's our solution:
    The solution was to create a KM Docs iView with anonymous authentication schema pointing to the download file. Then we created an URL iView pointing to this KM Doc with appending the filename AGAIN to the URL (because otherwise the iView ID will appear as filename). In the page a hyperlink now is pointing to the URL iView and after clicking it, the download starts with the correct filename.

  • PortalRuntimeException in Business Object document iview No portal component associated with the following context

    Hi all,
    We are stumped with a problem in our QA Enterprise Portal (7.3.1 Sp7) that throws a portal runtime error when we preview a Business Objects document iview.  The Business Objects Server versions are 4.0 SP5 and/or 4.1 SP3.
    The error is caught in the the defaultTrace file, /usr/sap/QNW/J00/j2ee/cluster/server0/log
    [EXCEPTION]
    com.sapportals.portal.prt.runtime.PortalRuntimeException: There is no portal component associated with the following context:
    pcd:portal_content/com.summit.SES_BI/com.summit.iviews/Daily_Margin
    at com.sap.portal.prt.component.PortalComponentContext.<init>(PortalComponentContext.java:93)
    Here is what we have tried
    * Confirmed the iviews exist in the PCD, by browsing to the content folders and right lick, preview on the iview.
    * Our PRD and DEV systems work correctly and are on same versions of EP Runtime and java. 7.3.1.7.0.201..
    * Occurs with all Businessobjects iviews from the QA portal and all doc types, webis, dashboards. Tried creating new iview.
    * Reapplied the com.sap.businessobjects.iviews.templates.epa to the Portal from t he BI 4.1 SP3 distribution
    * Deleted and recreated the BI portal system connector using the SAP BOBJ system template set path to http://bi-qas:8080/BOE
    * Set the embed key value in the BI system connector property and in the custom global.properties file, restarted tomcat and SIA services
    * Set permissions for everyone end user on the content folders and the BI system connector
    * Confirmed Single sign on configured correctly between BI and Portal
    * Confirmed that the QA BI server is configured correctly by directing the working DEV Portal to the QA BI server.
    * Performed actions in note 1709737
    We are certainly stuck and the defaultTrace file is not very informative.  Any suggestions are greatly appreciated
    Lee Lewis

    This is resolve with note 1615838  - SAP Netweaver Enterprise Portal 7.3 iView creation with BI 4.0 results in exceptions.
    The note includes a file portalapp.xml that need to be inserted into com.sap.businessobjects.iviews.par that is included in the BI server distribution.
    Then deploy the ear file.....
    Odd thing is that the note mentions 4.0 and we are on 4.1 SP3...
    Environment
    SAP BusinessObjects BI Platform 4.0 SP02 Patch 4 or lower
    SAP Netweaver Enterprise Portal 7.3
    Lee Lewis

  • KM document iview transport & the document transport in KM.

    We are EP 7.0 SP 18.
    I have created a KM document iview in dev system and set the Path to document porperty of the document iview to guid of a document in KM.
    Transported both the iview and KM content to QA system,  epa and kmc files.
    The iview fails to load. After, intial debugging. I found that the GUID is changed for the KM document after transport. Is it normal? In that case how are the KM document iviews going to work.
    PLease, let me know the fix.

    Hi Raj1234,
    See i m telling you the exact phase of transport how you can do but some part is missing from your end...
    System Admin->Transport->Export-> Portal COntent>Click on respective folder>Make the transport package>
    When the package is made --> than again Add on folder level and Add All objects to transport package or you can define single -2  AFter that
    Mandatory :
    In Right Property Editor - Resolve Refrence is "Yes" mode
    second Transport mode is in "data_and _acl"
    Select all added item (ivews package) and click on export->Start Export>Download the file. Same as when you uploaded your fle in another server in Importing the file.
    This will helpful to you and know which part you are missing.
    Regard
    Rs
    Edited by: RS on Jul 16, 2009 5:55 AM

  • Can KM Document iView be used through Remote Role in Federated Portal?

    I have a Producer Portal and a Consumer portal using Remote Role Assignment. In the same remote role, the KM Navigation iView is working fine, but the KM Document iView is giving http 400 error (The webpage cannot be found). I understand normally we should put KM on the consumer. But some of our KM document iViews are used in the roles in the BI portal, which is the producer.
    I cannot find SAP document or notes that tells "If KM Document iView is supposed to work through Remote Role". If you could clarify for me, I will know if it's worthwhile to troubleshoot the issue.
    Thanks,
    Fubo Liu

    Hi Fubo,
    There are no restrictions regarding the KM documents iView in the Central Note regarding FPN: [880482|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_pin/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383830343832%7D]
    So this should work fine.
    Best regards,
    Robert

  • MSS Problem in Employee Documents iview

    Dear Folks,
    When I try to access MSS Employee Document iview I am getting the following message.
    "Item not found
    /alias/userhome/<user.id>/Personal Documents/EmployeeDocuments/00007917
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible."
    The below is the trace log. Please help me correct the problem.
    #1.5#001143FDCEA7005B0000006A00001F680004162EF14E0F64#1150290779580#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#boydd#6170##whq45portaldev_POD_623251450#boydd#b856f360fba611dabc00001143fdcea7#SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#/System/Server#Java###Exception ID:09:12_14/06/06_0004_623251450
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.nibco.nibco_dev_content/func_areas/hr/roles/com.nibco.rl_mss/com.sap.pct.hcm.mystaff/nf_2/eereview/employeedocuments_2/com.sap.pct.hcm.employeedocuments
    Component class : com.sap.pct.hcm.employeedocumentsdispatcher.EmployeeDocumentsDispatcher
    User : boydd
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.pb.IviewModeProxy.doContent(IviewModeProxy.java:20)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NoSuchMethodError: com.sapportals.portal.prt.component.IPortalComponentResponse.flush()V
         at com.sap.pct.hcm.employeedocumentsdispatcher.EmployeeDocumentsDispatcher.fillResponse(EmployeeDocumentsDispatcher.java:113)
         at com.sap.pct.hcm.employeedocumentsdispatcher.EmployeeDocumentsDispatcher.doContent(EmployeeDocumentsDispatcher.java:45)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.doRefresh(AbstractPortalComponent.java:355)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:188)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 36 more
    Regards,
    Deepak

    I am getting the same error:
    Item not found
    /alias/userhome/<user.id>/Personal Documents/EmployeeDocuments/90001554
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible.
    I tried adding the missing subfolders: EmployeeDocuments/90001554  in KM and then I get another error:
    Path Configuration Error
    The path of the current item (/userhome/cmm2/Personal Documents/EmployeeDocuments/90001510) is not a subpath of the given startpath (/userhome/%3Cuser.id%3E/Personal Documents/EmployeeDocuments/90001510). Please make sure that the startUri-parameter is equal to or below the configured path.
    No further information can be provided
    Anyone figure this problem out?

  • Unable to open a KM document iView

    Hi Experts,
    I've uploaded an xls file in one of the folders in the KM content. I've created a KM document iView in order to access the uploaded  xls file. Now when I click on this iView in the portal I get a dialg box wherein it asks me to Open, Save or Cancel the file. I am able to save the file succesfully in my lcal desktop but if I choose the option to open the file directly without saving it, the file does not open up and it displays another dialog box to Save or Cancel the file.
    I've also uploaded a pdf file in the same folder in the KM and have created a KM document iView to access it and I am able to open it properly without any problem.
    The problem is coming only with the xls file.
    I am able to open the xls file directly from the KM folder. But I am not able to open it as a KM iview.
    I've checked the "Path to Document" property and it is absolutely fine. The file extension is also correct and the file is not corrupted.
    Could any of you please help me in fixing this problem.
    Thanks & Regards,
    Anurag

    Hi there,
    Actually the name of the xls file is "US_Material_Group_GL_Account_Mapp" and the size of the file is 361 KB.
    Now the "Path to document" as defined in the KM Document iView is  "/etc/<OuterFolderName>/Help Files/US_Material_Group_GL_Account_Mapp.xls".
    Now, I don't think that the name of the xls file or even the path defined in the "Path to Document" property exceeds 217 characters.
    Could you please have a look at the file specifications once as provided and suggest something?
    At present I am using IE version 6.0 and I tried it out in higher IE versions also but it did not work out.
    Or does it have any association with the MS office files and I did not face any problem with pdf file.
    Also, is there any other kind of iView that can be created for an xls file which is kept in the KM folder?
    Thanks & Regards,
    Anurag

  • MSS 60.1 Employee Documents iView problem

    Hi guys!
    I have implemented MSS BP ver. 60.1.19 and have problem with Employee Documents iView. It points on non-existing KM folder. However, if I would create it, it wouldn't help, because the portal creates user home folders in another path than the iView uses. Have someone of you solved this problem?
    Thanx for answers!
    Peter

    We had this problem and SAP gave us some new PAR files which fixed the problem.

Maybe you are looking for