Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

customview help

Status
Not open for further replies.

jaip112

Technical User
Oct 2, 2008
5
GB
i have a very simple customview.html file...but when i add it to livelink it doesnt show up the file does but not the page if you know what i mean...

this is the customview file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns=" >
<head>
<title>Untitled Page</title>
</head>
<frameset cols="170,*">

<frame src="menu2.htm">
<frame src=" name="showframe">

</frameset>
</html>

and this is the menu2.htm file (i have only left a couple of links for example purposes):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns=" >
<head>
<title>Untitled Page</title>

</head>
<body>

CLIENTS
-
-
-
-


TEMPLATES
-
-
-

EXTERNAL SYSTEMS
- <a href=" target ="showframe">google</a><br>


LINKS
-
-
-
- <a href="Notes://__802567ED00380A38.nsf" target ="showframe">IS Technical Library</a>



</body>
</html>
<!-- Keep all menus within masterdiv-->


many thanks...
 
Her's what I did I took your page source and I went to a folder

I added a customview object subtype and added your document it started showing me this
and this is the menu2.htm file (i have only left a couple of links for example purposes): CLIENTS - - - - TEMPLATES - - - EXTERNAL SYSTEMS - google
LINKS - - - - IS Technical Library
I would check if you are adding it as a customview or a regular document

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable
 
hi, thanks for your response.

the thing is that there are two html files. one for the menu and one for the layout. the layout is the customview, if you know what i mean?

i have other customviews that work, however they are based on one html file and not 2.

 
no customviews will stream whatever content you have in this file.I see what you are doing is a frame set so on a webserver you would have menu2.htm available on the virtual directory.Livelink canno reference the menu2.hm file i has to be eiher pu in the livelinksupport directory or made a livelink document.so without further ado here's how i made this work.

I called the first file customview.html
I called the second file menu2.html
Moved both files ino a temp directory and double clicked the cusomview.htm.Voila a menu on left hand and google on right hand.

Now the livelink making it work.

I went to a folder and i added menu2.htm as a simple document.I then noted dowwn its dataid and tweaked its open
url as "menu2.htm" can be accessed via the following link:

I then edited my cutsomview.htm and where it said menu2.htm i replaced it with the open link so i looks like his

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns=" >
<head>
<title>Untitled Page</title>
</head>
<frameset cols="170,*">

<frame src=" <frame src=" name="showframe">

</frameset>
</html>


Then I took this file and added it as yet another document
and I got its openlink something like

I now created a simple html file with only this line in it.As you can see livelink will stream the customview and if IE understands the meta tag will refresh it to the framed page in 2 secs.Naturally this is a poor solution using frames you should check out iframes which would have made it much easier
<meta http-equiv="refresh" content="2;url=http://dfqrnrd1/adminLivelink/llisapi.dll/open/221793">

So the base idea is left frame and right frame are document objects in livelink and the cutsomview is just a metarefresh for the



Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable
 
I forgot to add this BTW this experience made my browser totally out of livelink if you know hat I mean.OT expected customviews so as to give the conent in a container a little more meaning.By this mehod I lost my livelink bearings :)



Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable
 
many thanks for your help appnair! much appreciated.

as you can tell i am a very new livelink user.

i dont suppose you have any links or tutorials/guides on customising livelink interface. i have looked in the knowledge centre but have not found much on the subject.

thanks again for taking the time!!
 
you should use appearanaces,xmlskins when you want to alter the look and feel.all of these are taught some of them have webinars and such like.check out communities.opentext.com for recorded webinars.

I am sure a simple web example of iframes will take you with the current task without going thru the frame conundrum.Frames are like the "go to" in programming all html pundits tell you to avoid hem if you can

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937

Certified OT Developer and probably certfiable
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top