Category: Just Ones And Zeros
-
6 Years
Today my blog turns 6, which is 110 years is binary. To celebrate, I’m going to reveal a couple of Easter Eggs that I’ve slipped in over the years. Specifically, the titles of some of my apps. One thing I love about writing my own apps is that I get to pick the name. An…
-
Item Object: Project Property
In PLM Scripting, the built-in object under item matching the Project Management tab is Project object.
-
Security Object
The Security object contains some utility functions dealing with users, groups and roles. And we have seen the examples using its loadUser() and loadGroup() functions. We are going to see what else the Security object has.
-
Item Object: Master Property
Master is one property of Item object. It contains the item’s DMS ID, workspace ID, owner, additional user owners and additional group owners. In this post, we will go through each of them.
-
Item Object: Fields
Today let’s put spotlight on the item fields. First we will see how to access each field from the Item object. Then we will go through all field types and find the corresponding value type in scripting for each of them.
-
Item In Script
Item object is the representation of an item in scripting. In this post, I will show you how to load, create, and delete an item.
-
Script Types: Library Script
To make scripting easier, library script type is introduced in PLM. Library script is meant to contain utility functions that can be used in any other type of scripts just by importing it. So more reusing, less repeating.
-
Script Types: Scheduled Workflow Action Script
Four action script triggers (on-create, on-edit, on-demand and workflow) were introduced in the post on action script type. There is another trigger: scheduled script, which is a subtle but very useful feature. Now let’s walk through it to round off all the action script triggers.
-
Script Types: Condition And Validation Scripts
In the last post, we talked about action script. Today, let’s focus on the other two types of scripts: condition and validation scripts. Unlike action scripts, both condition and validation scripts only serve workflow transitions. The workflow transition properties is the only place to setup the references to them.
-
Script Types: Action Script And Triggers
Action scripts can be used to create items, edit item field values, update bill of materials, perform workflow transitions and so on. In my previous post, the script we created for the Hello World example is an action script used to update an item’s title to “Hello World”. An action script can be divided into…

You must be logged in to post a comment.