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!

[LAPI] Nickname question

Status
Not open for further replies.

matasa

Programmer
Jan 29, 2009
13
US
Hi everybody,

I've asked a question a few weeks ago, and I'm grateful to the people of this forum for answering me.
Now, I have a couple of more questions:

- First of all, I'm trying to change nickname through java LAPI (general attribute tab on the web interface), I've read in some other thread this was possible but exploring the LLValue object related to general attributes (GetObjectInfo) I was not able to find it: should be elsewhere (I tried "ID") but I can't figure out where.

- My second question concerns "Modifydate" field from the same attributes. It seems this is a non-user-writeable field that reflects the actual date of the last modification (whatever the modification) and thus cannot be set "manually".
Does somebody can confirm this observation ?


I know I'm missing lots ofknowledge as I do not own LAPI documentation, but however I try to progress with LLK programming.

Thanks in advance for your help.

 
Nicknames should be attempted through its corresponding api call
Code:
public  int   GetObjectNickname(
                  int         volumeID,
                  int         objectID,
                  LLValue     nicknameInfo )
and
public  int   UpdateObjectNickname(
                 int         volumeID,
                 int         objectID,
                 String      newNickname )

AFAIK modifyDate signifies a qualifying event to the dtree.dataid such as a new version is added,permissions changed not an extensive list.What I am trying to say is that LES is a DMS that has to prove every action to a record thru its audit findings so they have not made it writeable.If it was available to modify then you could change it without an event so that is why its is unwriteable.Just cahnge one of the other attributes and it will change.

BTW LAPI with documentation is itself pretty hard to code so if you need a copy of its documentation pls feel free to write to me and I will zip it up for you.Also if you download the free C# express and add lapi libraries intellisense can help you go a long way.

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,Livelink ECM Champion 2008
 
Thanks appnair for this quick answer,this function seems what I'm looking for but strangely, I cant find it in the class set version I have.

I must admit without documentation I have had a hard time understanding the few bits of llk programming I know, so I'm gladly accepting you doc proposal. I'm not sure I can put my email @ on the forum, I've seen you are on linkedin maybe it's a way to exchange emails.
let me know how do you want to proceed.
Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top