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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the username in an appearance html 2

Status
Not open for further replies.

Richardvi

Programmer
Jul 12, 2007
7
NL
Hello there,

Finally found a Livelink TECH forum. Hurray! Are there any others?

I'm a webdesigner and have a couple of years experience with redesigning Livelink. For over a year I have been looking for a way to use the username inside of an appearance html or a customview.

I can get the following varables:

OBJECT_DATAID
OBJECT_NAME
OBJECT_CREATEDATE
OBJECT_MODIFYDATE
OBJECT_COMMENTS

Which are nice, but I am looking for more than that. Preferably the username, first/last name and Email adres would be nice to use in an appearance.

I'm using Livelink 9.5.

Any suggestions?

Thanks,

Richard.
 
How do I get an account there? The registering form doesn't work..
 
I have no clue how appearnces work but taking your clue,I found this when I applied the Title GUI component on the page source.Putting two and two together you may be able to use this if this component is loaded .Appearnces I beleive are client files that are sent to the browser with the values filled in.Using Iframes technology you should be able to run a script that gives you the email as well.Greg Griffiths may have some info at his site livelink specialty site
livelinkgroups at yahoo.com.Hope one of these sites will give you what you are looking for.
Code:
<SCRIPT LANGUAGE="JavaScript1.2" SRC="/HOULivelinksupport/resize.js"></SCRIPT>
<!-- File: headercontainer.html -->
<!-- File: appearances/appearanceheadercomponent.html -->
<SCRIPT LANGUAGE="JavaScript1.2">
var OBJECT_DATAID = "7143115"
var	OBJECT_NAME = "zknn1 Home"
var OBJECT_CREATOR = "Krishnankutty Nair (zknn1)"
var OBJECT_CREATEDATE = "07/19/2006"
var OBJECT_MODIFYDATE = "07/12/2007"
var OBJECT_COMMENTS = ""
</SCRIPT>

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
These are indeed the strings I named in my first post. But what strings to use for the username, first name, last name, Email?
 
look at the OBJECT_CREATOR ,if you split them using javascript would not you have first name,lastname at least, depending on the formatting that your company uses.
For regn: pls ask an existing user in your comany to request that if you have OT support.It is then free.
The article expects you to amend core weblingo files as well to get your other part email.


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

OBJECT_CREATOR is the user that created the object. What i need is the username of the person that is currently logged in.

Very simple example: when you enter Livelink, it says 'Hello [USERNAME]!'

I can't get that from an object, as it will state the name of the person that created the object, not the person that is currently logged in.

As for the login to otsupport... I am trying to get an account. I don't know who is/was in contact with OT from our organisation (it's to big) and if I find him/her I sure hope he/she is not on vacation. (I'm working in education and people have 6 weeks vacation sometimes)
 
Well was just trying to help ,as I said I did not know how this works.apologies.Get your account and you should do fine with the KB article.Good to know this though.also loooked at the weblingo file,it is giving out the name of who created the container object
Code:
var OBJECT_CREATOR = "`$LLIAPI.UsersPkg.UserDisplayNameGet( prgCtx, node.pCreatedBy )`"
I can't see where this proves to be useful though,maybe just left it there for extending this like getting email etc etc.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
If you need a simple way to get access, email support at opentext.com and provide them with your company name and some other information and they should be able to tell you who your Key Contacts / Account Manager is.

Greg Griffiths
Livelink Certified Developer & ECM Global Star Champion 2005 & 2006
 
Anyway you can share this information with me while I'm waiting for my organisation to give me access? Seems everyone is on vacation around here (education branch)

Why are support documents password protect by open text anyway? They should just make them available for viewing like Microsoft or Novell do.

Just an opinion.
 
OpenText uses that site to distribute license keys,software etc,so there is a reason for access protection I belive.Since they do not impose any number on who can get into it does work efficiently ,accoring to me.The communities.opentext.com is a site that anybody can register and get a lot of information as well.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
OK, so it makes sense to put this info behind a password.

But could you guys please help me with this? I'm stuck and can't get in...

If the info that I so badly need is really behind this link:


Would it be a big copyright violation to share it?
 
I finally got a password and was able to see that it can't be done without changing Livelink code.

Disappointing.
 
But it is the lesser of the evils.You are only changing the presentation tier(html+oscript) or weblingo.With proper documentation for upgrades this is not
a sin to change stuff.If you are too concerned there are mapping utilities which are available from OT ,some that come to mind,customizationsRT,htmlmap,otoverride et al
which does require you to understand builder and oscript to a greater extents.

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top