SELECTED ANSWER
replied on December 5, 2014
Yes, it is easy to set the color on a template in an SDK script activity. Here is a code snippet that will change the 'General' template to something close to Laserfiche orange;
Protected Overrides Sub Execute()
'Get a reference to the General template...
Dim tInfo as TemplateInfo = Template.GetInfo("General", Me.RASession)
'Set the color to something close to Laserfiche orange...
tInfo.Color = Laserfiche.RepositoryAccess.Common.LfColor.FromRgb(220, 95, 19)
'Persist the change...
tInfo.Save()
'Cleanup...
tInfo = Nothing
End Sub
The 'FromRgb' method accepts the integer values for red/green/blue and assumes the alpha channel is set to 255. The SDK documentation also shows that the LfColor object has a 'FromArgb' method that will allow you to specify the alpha channel value as well.