Oct 212014
Part XII: Widgets in OpenText Content Server (incl. WebReports)

Introduction In my previous blog post I introduced a cascading stylesheet that covers two common page layouts in OpenText Content Server. In this next post I continue the discussion and introduce some of the widgets included with RHCore for adding interactive page components (or “widgets”) to a page. Let’s consider a few examples of widgets […]

Sep 082014

Introduction OScript scripts behave like other data types. Like an integer, string, or list, a script can be assigned to a variable and passed as a parameter to other functions. For example: // Assign a script to a variable Script s = $MyModule.SomeGlobal.SomeScript // Pass the script to another function $MyModule.Utils.SomeFunction(s) A Script variable even […]

Aug 062014
Part IX: Making "super" calls in OpenText Content Server

Introduction Many programming languages provide a way to override methods, and from the override call the original method that was overridden. This is a fundamental part of object-oriented programming (OOP), and is often made possible with a keyword like super. It may be hard to believe, but this is sort of supported in OScript. OpenText […]

Jun 302014

Introduction OpenText Content Server OScript does not provide native support for enumerated types. In this blog post I’ll discuss why enumerated types are useful, and introduce a simple framework for mimicking the data type with OScript. So what is an enumerated type? The Wikipedia page on Enumerated types sums it up in the introduction: In […]

Apr 212014
Part VII - Admin Configuration Pages in OpenText Content Server

One of the most tedious and repetitive tasks in OpenText Content Server development is the building of a module configuration page. A configuration page is usually linked from the admin.index page, contains a form, and allows an administrator to set the module preferences to their liking. It’s a process that involves: adding a section in […]

Feb 142014

Updated: 12.2017 Categories & Attributes are a powerful feature of OpenText Content Server. Categories allow custom attributes to be defined, which can then be assigned to documents, folders, or any other node type in the system. Other key features include: definitions can be versioned; categories can be applied to each version of a document; attributes […]

Jan 282014
Part V - Paging, Sorting, & Filtering in OpenText Content Server

List views are an important component of the OpenText Content Server interface. In a nutshell, a list view provides a summary of related information and is often rendered in an HTML table. Consider a few examples of list views in Content Server: folder browsing; audit tab; assignments list; user lists; group membership list; task list; […]

Nov 242013
Part III: Template Rendering with OpenText Content Server

Introduction In Part I of this blog series I discussed how an object-oriented programming approach can simplify development in Content Server. I introduced RHNode and RHUser, which are classes to simplify the interaction and traversal of Content Server nodes, users, and groups. In Part II I introduced RHModel, which is a base class for defining, […]