Tuesday, April 5, 2011

Caching Data in the Livelink Database


You can create a database cache when you want to store data in the Livelink database temporarily. For example, if a Livelink user specifies values that you want to reuse, you can create a cache in which to hold them. The cache that you create is a persistent cache, meaning that it can store data between Livelink sessions. However, caches normally have specify a time-out interval, after which Livelink clears the cache values and frees the space.
You can cache a value only if the value can be converted to a String type and back using the Str.ValueToString() and Str.StringToValue() built-in methods. For example, you cannot cache a RecArray because it cannot be converted to a String type.

You use the $$LLIAPI:LLIApi Root:CacheUtil  object's methods to handle cache. There are four basic methods to handle the cache:


  • New()
  • load()
  • update()
  • delete()


To create New Cache: you can use the following syntax:
$LLIAPI.CacheUtil.New(  prgCtx, CacheAssoc, time )



prgCtx:  User Program context  ( required )
CacheAssoc: Value you want to store into cache ( required, but value can be blank or Undefined )
time: time-out interval, after which Livelink clears the cache values and frees the space. ( optional, default it takes from openText.ini  > [general] section > CacheKeepMinutes = time- interval.  )

It will return an assoc, containing ok=true ( if sucess ) and cacheID, which you can use for future references to the same cache.

To load cache Value: To load the cache you can use following syntax:
$LLIApi.CacheUtil.Load( prgCtx, CacheID ) 

To update Cache Value:  To update the cache value, you can use following syntax:
$LLIAPI.CacheUtil.Update( prgCtx, CacheID, cacheAssoc )

To delete cache: Using following syntax, you can delete cache and free the resources:
$LLIAPI.CacheUtil.Delete( prgCtx, CacheID   )



Monday, April 4, 2011

How to add new feature at run time

Use following code to add feature at run time.

   if !OS.IsFeature( this, 'fdata' )     //to check if feature is already there
         OS.AddFeature( this, 'fdata' )   //to add feature at run time
   end

This will not add the feature for permanently, it will add just for this instance.

Import / Export Livelink Objext in XML format


Use the following url to export objects from Livelink:

<Livelink CGI URL>?func=ll&objId=<objectid>&objAction=XMLExport&scope=sub&attributeinfo&nodeinfo&versioninfo=all&content=base64

To import 
it use the following url:

<Livelink CGI URL>?func=admin.xmlImport&filename=<path of the file>&objid=<parent container objid>

Thursday, March 31, 2011

Patch Creation Steps

  • Create a new OSpace
  • In the new OSpace, Orphan objects (or objects containing features) you want to patch/modify
  • Modify features in orphans
  • Open a script editor window and enter
    $PatchUtils.Dump('[OSpaceName]')
    Where [OSpaceName] is the name of the ospace created in step 1
  • You should then normally find a file named [OSpaceName].txt in the same folder where you created your OSpace.
  • Verify that everything is as wanted in the txt file
  • Rename the file to something like pat[ddmmyyyy].txt

How to ReConfigure Livelink Search

1. Stop the Livelink services (including the Livelink Admin service and
the Livelink server service)

2. Delete any existing indices, i.e. Enterprise Data Source folder,
Admin Help Data Source Folder, Help Data Source folder. Delete the
indices on disk as well, i.e. under the index directory, delete the
Enterprise, AdminHelp, Help folders.

3. Delete the rows as indicated below from the KINI table, so that
Livelink will create a new default Admin server:

Delete from Kini where IniSection='AdminServers';
Delete from Kini Where IniSection='SliceReferences';
Delete from Kini Where IniSection='UniqueSliceReference';
Delete from Kini Where IniSection='OTIndex';
Delete from Kini Where IniSection='IndexObject';

Ensure you "commit" the above changes using the commit; command if using
Oracle.

4. Delete the files below from config directory:

otadmin.pid
otadmin.pid.old
otadmin.cfg
otadmin.cfg.old
search.ini

5. Restart the Livelink services. A new default Admin server should get
created.

Disable all Entry Breakpoints at once

1.Go to the Builder OSpace and run the following script.

$Builder.Builder Root.Usefull Scripts.Recompile All Scripts

This will remove all break points from all the modules.

2. Open the module in builder, Export it  so it creates a dmp file.
Import it form the dmp file and restart builder. It will remove all the breakpoints from that module. 
Usually the dmp will get dumped in OTHOME

both will not work for
Scheduler.Debugbreak()

Wednesday, March 23, 2011

SubTypes of LL Objects

SubType Object Name
0 'Folder'
1 'Alias'
2 'Generation'
128 'Workflow Map'
130 'Topic'
131 'Category'
134 'Reply'
136 'Compound Document'
137 'Release Volume'
138 'Release'
139 'Revision'
140 'URL'
141 'Enterprise Volume'
142 'Personal Volume'
143 'Discussion Volume'
144 'Document'
146 'Customview'
148 'System Volume'
150 'Livelink'
153 'Workflow Step'
154 'Workflow Attachments'
161 'Workflow Volume'
162 'Workflows Edit Volume'
188 'Workflow Status'
189 'Workflow'
201 'Project Home Volume'
202 'Project'
203 'Projects Volume’
204 'Task List'
206 'Task'
207 'Channel'
208 'News'
209 'Channel Volume'
210 'Task List Volume'
211 'Reports Volume'
215 'Discussion'
223 'Form'
230 'PDF Template'
231 'Form Template'
256 'SupSearch'
257 'Livelink Index'
258 'Query'
259 'Enterprise Extractor'
260 'Proxy'
268 'Template Folder'
270 'Data Flow'
271 'Process'
272 'Enterprise Index'
275 'Slice Folder'
276 'Data Source Folder'
277 'Directory Walker'
278 'Snapshot'
280 'Spider'
281 'Index Update'
299 'LiveReport'
384 'Prospector'
385 'Scanner'
387 'Prospector Snapshot'
391 'Collector'
392 'Collector Folder'
395 'Distributed Support Folder'
396 'Smart Agent'

Thursday, March 17, 2011

Livelink

Livelink also known as content server is web based system that enterprises use for collaborative knowledge management. Livelink is designed to handle the work of large enterprises, with thousands of people and vast amount of data. With Livelink, people can use their web browser to easily get work done.
With Livelink you can:
  • Publish and share documents and other work in an organized, central location.
  • Work on projects as a team, even if the team members are geographically dispersed.
  • Manage and simplify business processes by creating and using workflows.
  • Communicate news and other information to other members of the group or to an entire enterprise, regardless of its size.
  • track the flow of work and the lifecycles of work via audit trails and version control.

Wednesday, March 16, 2011

What is ECM?


ECM is a broad term that means many different things to many different people. Typically EMC implies the acquisition and management of both structured and unstructured content that is dispersed across a number of different repositories, often described as "information silos".
           Here content is the information/data .Basically the data can be structured/unstructured.

Structured data is the information that has been organized to allow identification and separation of the context from its content.

Two ways to handle structured information,

       1 . Build a handle to it (if it is matured application)
       2 . Replace with an application within ECM system (if it is legacy application)

Unstructured data is the information which resides in desperate repositories such as shared drives, emails , media files,digital text documents, engineering drawings, XML, still images, audio and video files, and many others.  .

Management : Ability to Capture ,store and Deliver the information by giving controlled access and also includes defining and manipulating the business processes.

Successful implementation of ECM:

 The successful implementation would be

1.    Identifying all sources/repositories of information.
2.    Elimination of non-structured desperate information sources by bringing them into ECM centralized repository.
3.    Stream lining business process to capture and fetch information in organized manner.
4.    Ability to easily or effortlessly manage information from point of  creation to retirement.
5.    ECM becomes the intranet /workbin where all work can be accessed or performed.


ECM Lifecycle:

        ECM Solutions bring together collaboration, content, and process technologies into integrated solutions that work harmoniously to capture ideas, experiences, and knowledge, and manage the complete lifecycle of electronic documents, from their creation to archive and eventual deletion.





Scope of ECM system :

  


Benefits of ECM:

                        Built on a common platform with a common data structure, our ECM solutions are reliable and scalable, and provide significant benefits.

1.    Minimize the risk, Improve productivity and efficiency.
3.    Controlled access to enterprise information.
4.    Information is available to users at a glance.
5.    Gives you the ability to make important management decisions.
6.    Influence the work culture.
7.    Makes things easier for every individual.
8.    Productivity is boosted tremendously.
9.    Business processes becomes streamlined.

Features of ECM:

1.    Repository for storing documents/information.
2.    Allow to create hierarchical structures.
3.    Controlled access to the information(permissions) 
4.    Streamlined the business process(workflows)
5.    Categories/Attributes
6.    Classifications
7.    Records management




ECM Products:

1.   Opentext Livelink
2.   EMC Documentum
3.   Microsoft sharepoint
4.   IBM Lotus Notes
5.   FileNet 
6. TeamSite

Tuesday, March 15, 2011

About OpenText

OpenText, an enterprise software company and leader in enterprise content management, helps organizations manage and gain the true value of their business content. OpenText brings two decades of expertise supporting millions of users in 114 countries. Working with our customers and partners, we bring together leading Content Experts to help organizations capture and preserve corporate memory, increase brand equity, automate processes, mitigate risk, manage compliance and improve competitiveness.