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!

Livelink - Version 9.7.1 - Any scripts to automate processes?

Status
Not open for further replies.

daneastman

IS-IT--Management
Feb 22, 2016
1
GB
I've been hunting around on Google but keep coming back to Tek Tips. Do you know of any script that can automatically change the owner of a file or all files owned by one particular person?

E.g.

Person A leaves company but is the owner of 100 files in LiveLink.
Person B is their manager and now wants to the owner of all 100.
Instead of manually changing them, is there a script that can be ran against all the files owned by Person A and change their ownership to Person B?

I hope I make sense.

I'm also curious to what other scripts are out there for this version of LiveLink.
 
The code to do this ,this is probably what you are referring to as a script can be done very easily by many methods a few with increasing order of complexity for a lay user.This all revolves around the aspect that the dataid that you find in the URL is the lynch pin or most important aspect of what you are doing.

[ol 1]
[li]Use a SQL query like a Live Report and turn each dataid into owner change using a WebReport tag.Less than 1 hrs for a medium developer.[/li]
[li]Turn the dataid's of the above query into new owners by use of SOAP/CWS API ,LAPI or REST API about 1 hr for a medium developer.REST API is available only in latest and greatest versions of livelink.[/li]
[li]Turn the dataid's of the above query into new owners by use of OSCRIPT API about 1 hr for a medium developer.[/li]
[/ol]
If you run the Records Management module there is a Request Handler similar to point 3 of my posting,but do not interpret my query as if I want to do that I want to have the RM module.It is a convenience gesture and RM many times base certain decisions on owner of the object.
Most mature livelink organizations will not use Owners in ACL's for any worthwhile operation,they leave it there for just matter of record.
Here are a couple of links if you want to look at it that way
[ol 1]
[li][/li]
[li][/li]
[/ol]
When I design systems I would put owner AC's at S,SC or no owner so these kind of people leaving and you having to fix it becomes moot.



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,Livelink ECM Champion 2010
 
be sure no workflows was initiated or task pending for that user. Use user workflow proxy to set a proxy user with same groups/role...
I think is better idea don't delete user, only uncheck "login enable" permission.
Another easy ways to change owner is using webcmd's with wget tool or siminal or créate a simple workflow with a sql step permissions step and a loop
Change owner in dtree table with sql is not recomended

Sample webcmd:
[theDoc]&nextURL=%2Flivelink%2Flivelink.exe%3Ffunc%3Dll%26objid%3D2000%26objAction%3Dbrowse%26sort%3Dname&type=1&userid=[newUser]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top