cancel
Showing results for 
Search instead for 
Did you mean: 

HTML IView is not renderd when included on a page or a a workset

Former Member
0 Kudos

Hello together,

I faced a problem in my portal configuration that I cannot explain.

Hope someone at the SDN forum can help/exlplain me

I want to show PPT Files in a portlet. For this case I transform the PPT-Files to HTML by MS Office.

To show this content in a portlet, I use an IView that points to the first html file.

So far, so simple.

I am using a new IView from the Portal Component (PAR File)

(Portal Content --> new IView --> Portal Component (not IView template)

Codelink: com.sap.portal.appintegrator.sap.Generic

This IView works perfect, when I put the button "Preview" everything is displayed fine.

Problem: As soon as I integrate this IView to a page, it is not rendering the html anymore!

Situation:

- IView with html is rendering correct, when pressing the preview button

- IView direct put to workset is also rendering correct

- IView integrated in a page, page is put to workset - IView is not rendering the html content anymore!

The curious thing: Exactly the same situation I already managed with three other examples. They all work fine, but the 4th example will not work and I really cannot explain what the case is.

I am happy about every idea/hint/solution

Kind regards,

Jens Kohne

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Where are you storing the HTML file generated from the PPT? Why are you using that componennt? Most people would use the URL template...

Former Member
0 Kudos

Hello Michael,

thanks for your reply.

The content is stored in the KM of the portal server.

So within the IView I use, I can use the following parameter to refer to the document:

<Request.Protocol>://<Request.ServerPort>/irj/go/km/docs/my_folder/my_document.htm

When I transport my content to production, I do not have to change the URL

With the URL iView the URL is "hard-coded" (as far as I know)

So I would have to change the URL when going to production

(production files are stored on another server)

btw: You are right, the URL IView works correctly for this case as well.

But I wanted to find the solution for this problem, cause 3 cases are working and 1 case ist not working.

Kind regards,

Jens

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

The URL iView can have the relative path (/irj/go/km/docs/my_folder/my_document.htm) for portability, but as you say, that doesn't explain why 3 out 4 work and 1 doesn't. Does it work if you try to tell the iView to open in a new window? What SP are you on?